Note: After you change your product key, we recommend that you create a list to manage the product keys that you've installed. To learn how, see Manage multiple one-time-purchase Office installs that use the same Microsoft account.
Select your Office version below.
- Sign in to your Services & subscriptions page with the email and password associated with the Microsoft account that was used to install Office.After you sign in, you should see a list of Office products that are associated with your Microsoft account.
- For the first product that's listed on the page, select View product key. Copy or write down the product key. This is likely the product key that was used multiple times to install Office.
- Select View product key for the remaining Office products and copy or write them down. These are likely the keys that you'll use to replace the key that was used multiple times.
- On a PC where Office activation is failing, open the Command Prompt as described below:
Windows 10 and Windows 8.1 Windows 7 - Select the Start button (lower-left corner).
- Type Command Prompt.
- Right-click the Command Prompt icon, and select Run as administrator.
- Select the Start button (lower-left corner).
- Right-click Command Prompt and select Run as administrator.
- From the drop-down list below, select your Office version and Windows version (32-bit or 64-bit) and run the commands as described.Office 2019 or 2016: 64-bit Office and 64-bit Windows
Tip: If you get an Input Error: Can not find script file... message, it means that you used the wrong command. Don’t worry, running the wrong command won’t hurt anything. Double-check your Office and Windows versions and try a different command.
- Copy the following command, paste the command into the Command Prompt window, and then press Enter. cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatusThe command prompt displays the last five characters of the product key that was used to install Office on the PC. Our example below uses XXXXX to represent these characters.
- Copy the following command, paste the command into the Command Prompt window, and replace XXXXX with the last 5 digits of the product key that was shown in the previous step. Press Enter to remove the product key.cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /unpkey:XXXXX
- Copy the following command, paste the command into the Command Prompt window, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with an unused product key from your list. Press Enter to change the key.cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Tips:
- The default installation for Office is 32-bit but if your PC has more than 4 GB of RAM, you probably have 64-bit Windows.
- If you don't know which Office version is installed, see What version of Office am I using? To check whether Windows is installed as 32 or 64 bits, see Which Windows operating system am I running?
- Now start an Office app, such as Word, and select Next to activate Office over the Internet.
Repeat this process for each PC where activation is failing.