IT admins can roll out Power-user centrally by script: a CMD script downloads the Power-user .msi installer, installs the add-in and activates the license on each computer, with no action needed from users. This is the best option when you have many users.
In short
- First: contact us so we validate your license key for deployment (under 24 hours)
- Recommended: install in AppData with one script in the user context; users then get updates on their own
- Full version control: install in Program Files (admin context), and handle updates by script
- Options: install the certificate, use Airplane mode, or hide specific features by registry key
In this article
Before you start
- Contact us to tell us you will package Power-user. We run a quick security check, in less than 24 hours, before your license key can be used for deployment.
- Have your Power-user license key ready: you will replace XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX with it in the EDITABLE SECTION of the scripts.
- Choose the installation folder:
| Installation folder | Context | Updates |
|---|---|---|
| C:\Users\%USERNAME%\AppData\Local (recommended) | One script in the user context | Users keep Power-user up to date on their own |
| C:\Program Files (x86) | Install in the admin context, activate in the user context | You control the version; each update must be installed by script |
The scripts below are for CMD. If you prefer PowerShell, contact us and we will send you a PowerShell version.
How to install Power-user in AppData (recommended)
- Open a command line (such as CMD) in the user context.
- In the EDITABLE SECTION of the script below, replace XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX with your license key, and choose how to get the user's email address (see Fixing email addresses).
- Run the script.
REM /!\ This script needs to run in the USER context /!\
REM Source: https://support.powerusersoftware.com/support/solutions/articles/80001024753-rolling-out-power-user-by-script
REM ---- EDITABLE SECTION ----------------------------------------------------------------
REM Define the parameters to activate the end-user license:
REM 1. License key that will be used during Power-user activation
SET license_key="XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX"
REM 2. Email address that will be used during Power-user activation
REM Retrieving the email address of the end-user
REM Option 1: retrieve email address dynamically using whoami /upn
for /f "delims=" %%A in ('whoami /upn') do set email=%%A
REM Option 2: Define the email address manually or using another method
REM SET email=""
REM Option 3: leave the email variable empty, and the user will be registered with the Windows User Name
REM SET email=""
REM Define variable that will be used to log installation execution
SET log_path="%temp%\Power-user_roll_out.log"
REM ---- END OF EDITABLE SECTION ---------------------------------------------------------
REM Make sure the license_key parameter is defined
IF %license_key% == "XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX" (
echo "Please define the license_key parameter"
pause
exit
)
IF %license_key% == "" (
echo "Please define the license_key parameter"
pause
exit
)
REM Define variable that will be used to download Power-user
SET download_path="%temp%\Power-user.msi"
REM Download the Power-user.msi file
curl.exe -L -s -f -o %download_path% "https://powerusersoftware.com/download/Power-user.msi"
REM Install Power-user
msiexec.exe /i %download_path% /QN /l*v %log_path%
REM Define variable that will be used to activate Power-user
SET install_path=C:\Users\%username%\AppData\Local
REM Activation of the end-user license providing the user name, license key and email address
"%install_path%\Power-user\PowerUserActivator.exe" %USERNAME% %license_key% %email%The script downloads the Power-user .msi installer, installs it and activates the license. Power-user is then ready to use, with no action from the user. The installation log is saved in %temp%\Power-user_roll_out.log.
How to install Power-user in Program Files
Generally speaking, we recommend installing in C:\Users\%USERNAME%\AppData\Local using the script above, and not in C:\Program Files (x86). This is to allow users to keep their version up to date without needing an intervention from the IT admin.
Some admins prefer installing in C:\Program Files (x86) to control which version users are running. In that case, users cannot update on their own: you will need to run the installation again whenever a newer version should be deployed.
Important: CMD vs PowerShell
The commands below are different depending on whether you use Command Prompt (CMD) or PowerShell. Do not paste a CMD line into PowerShell.
Step 1: download the Power-user .msi installer
Download the Power-user .msi installer.
Step 2: install Power-user in the admin context
- Open either Command Prompt or PowerShell as administrator.
- Go to the folder that contains the .msi installer, replacing <FolderPath> with its path:
cd "<FolderPath>"
- Run one of the following, matching the shell you opened:
Command Prompt (CMD)
REM /!\ Run in an elevated CMD window (Run as administrator) /!\ msiexec.exe /i "Power-user.msi" POWERUSER_PER_MACHINE=1 POWERUSER_INSTALL_ROOT="C:\Program Files (x86)" /qn /L*v "%TEMP%\Power-user-pm.log"
PowerShell
# /!\ Run in an elevated PowerShell window (Run as administrator) /!\ msiexec.exe --% /i "Power-user.msi" POWERUSER_PER_MACHINE=1 POWERUSER_INSTALL_ROOT="C:\Program Files (x86)" /qn /L*v "%TEMP%\Power-user-pm.log"
This installs Power-user for all users of the machine under C:\Program Files (x86)\Power-user, registers the Office add-ins and VSTO trust entries in the machine registry, and adds the Power-user certificate to the Local Machine Trusted Publishers store. The installation log is saved in %TEMP%\Power-user-pm.log.
To use another folder, change POWERUSER_INSTALL_ROOT: Power-user will be installed in [POWERUSER_INSTALL_ROOT]\Power-user. In that case, also change install_path in the activation script of step 3.
Step 3: activate the license in the user context
After the machine install, activate the license for each user. Open a non-elevated Command Prompt or PowerShell in the user context (the end user's session), then run one of the following after replacing XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX with your license key in the EDITABLE SECTION.
Command Prompt (CMD)
REM /!\ This script needs to run in the USER context /!\
REM Source: https://support.powerusersoftware.com/support/solutions/articles/80001024753-rolling-out-power-user-by-script
REM ---- EDITABLE SECTION ----------------------------------------------------------------
REM Define the parameters to activate the end-user license:
REM 1. License key that will be used during Power-user activation
SET license_key="XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX"
REM 2. Email address that will be used during Power-user activation
REM Retrieving the email address of the end-user
REM Option 1: retrieve email address dynamically using whoami /upn
for /f "delims=" %%A in ('whoami /upn') do set email=%%A
REM Option 2: Define the email address manually or using another method
REM SET email=""
REM Option 3: leave the email variable empty, and the user will be registered with the Windows User Name
REM SET email=""
REM ---- END OF EDITABLE SECTION ---------------------------------------------------------
REM Make sure the license_key parameter is defined
IF %license_key% == "XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX" (
echo "Please define the license_key parameter"
pause
exit
)
IF %license_key% == "" (
echo "Please define the license_key parameter"
pause
exit
)
REM Define variables that will be used to install and activate Power-user
SET install_path=C:\Program Files (x86)
REM Activation of the end-user license providing the user name, license key and email address
"%install_path%\Power-user\PowerUserActivator.exe" %USERNAME% %license_key% %email%PowerShell
# /!\ This script needs to run in the USER context /!\
# ---- EDITABLE SECTION ----------------------------------------------------------------
# Define the parameters to activate the end-user license:
# 1. License key that will be used during Power-user activation
Set-Variable -Name "license_key" -Value "XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX"
# 2. Email address that will be used during Power-user activation
# Retrieving the email address of the end-user
# Option 1: retrieve email address dynamically using whoami /upn
$email = (whoami /upn)
# Option 2: Define the email address manually or using another method
# Set-Variable -Name "email" -Value ""
# Option 3: leave the email variable empty, and the user will be registered with the Windows User Name
# Set-Variable -Name "email" -Value ""
# ---- END OF EDITABLE SECTION ---------------------------------------------------------
# Make sure the license_key parameter is defined
IF (!($license_key -match '(?im)^[0-9A-F]{8}[-]([0-9A-F]{4}[-]){3}[0-9A-F]{12}$')) {
echo "Please define the license_key parameter"
pause
exit
}
# Define variables that will be used to install and activate Power-user
Set-Variable -Name "install_path" -Value "C:\Program Files (x86)"
# Activation of the end-user license providing the user name, license key and email address
& "$install_path\Power-user\PowerUserActivator.exe" $env:username $license_key $emailPower-user is then installed and activated, with no action from the user.
Updates: when Power-user is installed in Program Files, software updates must also be installed by script.
Additional options for installation by script
Fixing email addresses
The scripts get the user's email address with whoami /upn (Option 1). If this command does not work in your environment, use Option 3 and leave the email empty: Power-user then uses the Windows user name with your organization's email domain.
If this does not give the real email addresses, send us a list matching Windows user names with real email addresses, and we will update the data in your admin portal.
Installing the certificate
The first time Office restarts after Power-user is installed, users might see a trust prompt. To avoid it, install the Power-user certificate in the Trusted Publisher store. To do it by script, open a command line in the user context and run:
REM /!\ This script needs to run in the USER context /!\ REM Source: https://support.powerusersoftware.com/support/solutions/articles/80001024753-rolling-out-power-user-by-script SET download_path="%temp%\power_user_certificate.cer" REM Download Power-user certificate curl.exe -L -s -f -o %download_path% "https://powerusersoftware.com/download/power_user_certificate.cer" certutil.exe -addstore -user TrustedPublisher %download_path%
Airplane mode
Some organizations must keep their computers isolated from the Internet. We do not recommend it unless it is really necessary, but Power-user can run in Airplane mode. To turn it on, run this command in the admin context:
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Power-user" /v ContactServer /t REG_SZ /d "0" /f
Activation: if Airplane mode is turned on before activation, the license cannot be activated through our server. We can still activate it with an offline process: contact us for details.
| Area | Effect of Airplane mode |
|---|---|
| License renewals | Our server cannot update the license validity. At each renewal, install a new Airplane mode version, or turn Airplane mode off, activate the updated license key and turn Airplane mode on again. |
| Admin portal | No access to the admin portal to monitor and manage licenses, and no license status or usage data. |
| Software updates | Updates are not pushed to users. The admin can install them manually. |
| Features | Pictures and Logos and the AI Assistant do not work, and you cannot set up shared libraries of slides, icons, images or Tombstones. |
Hiding or disabling specific features
You can hide some features or Library items from users. Run the commands you need in the admin context:
Hide the AI Assistant feature for rewording text:
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Power-user" /v EnableSmartRewording /t REG_SZ /d "0" /f
Hide the AI Assistant feature that suggests a slide:
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Power-user" /v EnableSuggestASlide /t REG_SZ /d "0" /f
Hide the AI feature for generating pictures:
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Power-user" /v EnableLibraryPicturesAI /t REG_SZ /d "0" /f
Hide all libraries that call third-party resources (currently Pexels, Unsplash, Logo.Dev, AI-generated pictures and the AI Assistant):
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Power-user" /v EnableExternalLibraries /t REG_SZ /d "0" /f
Hide the Pictures menu of the Library:
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Power-user" /v EnableLibraryPictures /t REG_SZ /d "0" /f
Hide the Tombstones menu of the Library:
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Power-user" /v EnableLibraryTombstones /t REG_SZ /d "0" /f
For other deployment methods, see Deploying Power-user with Microsoft Intune and Rolling-out Power-user. To remove Power-user, see Uninstalling Power-user by script.
Frequently asked questions about rolling out Power-user by script
How do I deploy Power-user silently on many computers?
Run the Power-user CMD script in the user context on each computer. It downloads the Power-user .msi, installs it silently with msiexec /QN and activates the license with your license key, with no action from users.
Where should Power-user be installed: AppData or Program Files?
Power-user recommends C:\Users\%USERNAME%\AppData\Local, so users get updates on their own. Choose C:\Program Files (x86) only if you want to control the version, knowing that each update must then be installed by script.
Is there an .msi installer for Power-user?
Yes. The Power-user .msi installer is available at https://powerusersoftware.com/download/Power-user.msi, for IT admins who deploy Power-user centrally.
How do I avoid the trust prompt when Office starts after installing Power-user?
Install the Power-user certificate in the Trusted Publisher store, for example with certutil.exe -addstore -user TrustedPublisher, using the script provided in this article.
Can Power-user work without an Internet connection?
Yes, in Airplane mode, turned on with a registry key. In Airplane mode, license renewals, updates and the admin portal need manual handling, and features such as Pictures and Logos and the AI Assistant do not work.
How do I hide the AI Assistant in Power-user?
Run the REG ADD commands from this article in the admin context, for example with EnableSmartRewording or EnableSuggestASlide set to 0 under HKEY_LOCAL_MACHINE\SOFTWARE\Power-user.
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