If you buy and install multiple copies of Office, we recommend that you create a list to track the Office product key that's used on each PC. This list will help you later if you need to reinstall Office on a new PC (when retiring an older one) or you need to reinstall Office after reformatting or replacing a hard drive. You can use this list to avoid accidentally reinstalling Office using a product key that's in use on a different PC.
To begin, create a simple table that has two columns. One column lists each PC name where Office is installed, and the other contains the product key that was used to install each copy of Office.
Step 1: Write down the full product key for each copy of Office
In the first step, you fill in the Product Key column of your list using the full product keys that appear in Services & subscriptions.
- Sign in to your Services & subscriptions page with the email and password associated with the Microsoft account that was used to install Office.
- For each Office product that's listed on the page, choose View product key and add each product key to your list.
Step 2: View the product key on each PC where Office is installed
In this step, you view the last five characters of the product key on each PC where Office is installed. Using this information, you can fill in the PC Name column for each product key in your list.
Go to a PC that has Office installed.
Open a Command Prompt window.
| Windows 11, 10, and 8.1 |
- Select the Start button
(lower-left corner). - Type Command Prompt.
- Right-click the Command Prompt icon, and select Run as administrator.
|
Select your Office version and Windows version (32-bit or 64-bit) and run the commands as described.
32-bit Office and 32-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" /dstatus
The command prompt displays the last five characters of the product key that was used to install Office on the computer. Our example below uses XXXXX to represent these characters.
32-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 (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus
The command prompt displays the last five characters of the product key that was used to install Office on the computer. Our example below uses XXXXX to represent these characters.
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" /dstatus
The command prompt displays the last five characters of the product key that was used to install Office on the computer. Our example below uses XXXXX to represent these characters.
Use the last five characters of each product key to fill in the PC Name column on your list.