IT admins can uninstall Power-user from users' computers by script: the CMD scripts below deactivate the user license, uninstall the Power-user add-in and clean the registry. The scripts to run depend on the folder where Power-user is installed.
In short
- Two steps: deactivate the license, then uninstall
- Edit before running: replace the license key placeholder with your license key
- Context matters: some scripts run in the user context, others in the admin context
- PowerShell: the scripts are for CMD; contact us for a PowerShell version
In this article
Which scripts to run
Check where Power-user is installed on the computers, then run the matching scripts:
| Power-user installed in | 1. Deactivate the license | 2. Uninstall and clean the registry |
|---|---|---|
| C:\Users\%USERNAME%\AppData\Local\Power-user\ (per-user installation) | User context | User context |
| C:\Program Files (x86)\Power-user\ (per-machine installation) | User context | Admin context |
Before running: in each license deactivation script, replace XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX with the license key used to activate Power-user.
How to uninstall Power-user installed in AppData
For Power-user installed in C:\Users\%USERNAME%\AppData\Local\Power-user\:
- Open a command line (such as CMD) in the user context.
- Run this script to deactivate the user license, after replacing XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX with your license key:
REM /!\ This script needs to run in the USER context /!\ REM Source: https://support.powerusersoftware.com/support/solutions/articles/80001024681-uninstalling-power-user-by-script REM ---- EDITABLE SECTION ---------------------------------------------------------------- REM Define the parameters to deactivate the end-user license: REM 1. License key that was used during Power-user activation SET license_key="XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX" REM 2. Installation path SET install_path=C:\Users\%username%\AppData\Local REM ---- END OF EDITABLE SECTION --------------------------------------------------------- REM Deactivation of the user license providing the user name and license key "%install_path%\Power-user\PowerUserActivator.exe" "deactivate-license" %USERNAME% %license_key%
- Still in the user context, run this script to uninstall Power-user:
REM /!\ This script needs to run in the USER context /!\
IF EXIST "C:\Users\%USERNAME%\AppData\Local\Power-user\" (
echo Uninstalling Power-user software
wmic product where name="Power-user" call uninstall
)How to uninstall Power-user installed in Program Files
For Power-user installed in C:\Program Files (x86)\Power-user\:
- Open a command line (such as CMD) in the user context.
- Run this script to deactivate the user license, after replacing XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX with your license key:
REM /!\ This script needs to run in the USER context /!\ REM ---- EDITABLE SECTION ---------------------------------------------------------------- REM Define the parameters to deactivate the end-user license: REM 1. License key that was used during Power-user activation SET license_key="XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX" REM 2. Installation path SET install_path=C:\Program Files (x86) REM ---- END OF EDITABLE SECTION --------------------------------------------------------- REM Deactivation of the user license providing the user name and license key "%install_path%\Power-user\PowerUserActivator.exe" "deactivate-license" %USERNAME% %license_key%
- Open a command line in the admin context and run this script to delete the Power-user registry keys and uninstall Power-user:
REM /!\ This script needs to run in the ADMIN context /!\
echo Deleting Power-user registry files in HKEY_LOCAL_MACHINE and uninstalling Power-user
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_AddIn.vsto"
IF %errorlevel% == 0 (
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_Excel_AddIn.vsto" /f
)
REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_PPT_AddIn.vsto"
IF %errorlevel% == 0 (
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_PPT_AddIn.vsto" /f
)
REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_Word_AddIn.vsto"
IF %errorlevel% == 0 (
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO\SolutionMetadata" /v "file:///C:\Program Files (x86)\Power-user\PowerUser_Word_AddIn.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
)How to uninstall Power-user on a single computer
To remove Power-user from one computer without a script, open Windows Settings > Apps > Installed apps, find Power-user and click Uninstall. To deploy Power-user again later, see Installing Power-user.
Frequently asked questions about uninstalling Power-user
How do I uninstall Power-user on many computers?
IT admins can run the Power-user CMD scripts on each computer: first a script that deactivates the user license, then a script that uninstalls Power-user and cleans the registry. The scripts depend on whether Power-user is installed in AppData or in Program Files.
Why should I deactivate the Power-user license before uninstalling?
Deactivating the license with PowerUserActivator.exe releases it, so the license is not left attached to a computer where Power-user is no longer installed.
Do the Power-user uninstall scripts need admin rights?
The license deactivation runs in the user context. For Power-user installed in Program Files, the uninstall script must run in the admin context because it deletes registry keys in HKEY_LOCAL_MACHINE.
How do I know where Power-user is installed?
Power-user is installed either per user in C:\Users\%USERNAME%\AppData\Local\Power-user\, or per machine in C:\Program Files (x86)\Power-user\. Check which folder exists on the computer.
Is there a PowerShell script to uninstall Power-user?
The scripts in this article are for CMD. Contact Power-user support to get a PowerShell version.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article