Uninstalling Power-user by script

Modified on Tue, 14 Jun 2022 at 11:02 PM

Below are the instructions for IT admins who need to uninstall Power-user on users' computers by script. 

The script will uninstall Power-user and clean the registry, but will not deactivate the license.



If Power-user is installed in C:\Users\%USERNAME%\AppData\Local\Power-user\

  • Launch a command line (e.g. CMD) in the user context
  • Paste this block of code and run it:
IF EXIST "C:\Users\%USERNAME%\AppData\Local\Power-user\" (
    echo Uninstalling Power-user software
    wmic product where name="Power-user" call uninstall
)



If Power-user is installed in C:\Program Files (x86)\Power-user\

  • Launch a command line (e.g. CMD) in the admin context
  • Paste this block of code and run it:


echo Deleting Power-user registry files in HKEY_LOCAL_MACHINE and uninstalling Power-user software

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\PowerPoint\Addins\Power-user"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\PowerPoint\Addins\Power-user" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins\Power-user"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins\Power-user" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins\Power-user"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins\Power-user" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata\{C9A99E3A-2C3A-4B1A-A6FB-18119F6E5655}"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata\{C9A99E3A-2C3A-4B1A-A6FB-18119F6E5655}" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata\{778063DF-B828-434D-A8E3-0471EAFB72B8}"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata\{778063DF-B828-434D-A8E3-0471EAFB72B8}" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata\{B40D43CA-24F8-4B92-A934-0D29E0898DDC}"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata\{B40D43CA-24F8-4B92-A934-0D29E0898DDC}" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_Excel.vsto"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_Excel.vsto" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_PPT.vsto"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_PPT.vsto" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_Word.vsto"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_Word.vsto" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\Security\Inclusion\906A23B2-68E3-415C-AF2E-85A407D646A1"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\Security\Inclusion\906A23B2-68E3-415C-AF2E-85A407D646A1" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\Security\Inclusion\854EDAC1-1E40-41A1-A375-A7EDA0AF1F88"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\Security\Inclusion\854EDAC1-1E40-41A1-A375-A7EDA0AF1F88" /f
)

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\Security\Inclusion\B07A7B0A-D287-46CE-95B8-21B747CC0CEF"
IF %errorlevel% == 0 (
    REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\Security\Inclusion\B07A7B0A-D287-46CE-95B8-21B747CC0CEF" /f
)

IF EXIST "C:\Program Files (x86)\Power-user\" (
    echo Uninstalling Power-user software
    wmic product where name="Power-user" call uninstall
)


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article