Remove Office 365 License Status When Re-purposing Workstations

Author: No Comments Share:

From time to time I am asked to re-purpose an workstation for a new user. One of the tasks is to remove the current Office 365 License (This Product Belongs To) info

This can easily be achieved using the Office Licensing Script included with Office

Step 1: Open Command Prompt on PC

Open a Command Prompt window, and then take one of the following actions:

• If you installed the 64-bit version of Office 2016, move to the following folder: C:\Program Files\Microsoft Office\Office16

cd /d “C:\Program Files\Microsoft Office\Office16”

• If you installed the 32-bit version of Office 2016, move to the following folder: C:\Program Files (x86)\Microsoft Office\Office16

cd /d “C:\Program Files (x86)\Microsoft Office\Office16”

Step 2: Display the Current License(s)

Type the following command to display the license status. Note the last five characters of any and all license keys that display in the output:

cscript ospp.vbs /dstatus

Step 3: Remove the License(s)

Now run the following command as many times as needed to remove all of the license keys you noted from the previous step.

cscript ospp.vbs /unpkey:<last five characters of product key>

Step 5: Reactivate MS Office with New Account

Launch one of the MS Office 2016 applications. The application should prompt you to reactivate the by providing your sign-on ID. Enter in the new user’s credentials and the software will now be licensed under their ID.

Previous Article

Creating an OpenVPN server with Mikrotik and Domain Authentication Using Domain CA

Next Article

Fixing Windows Boot Issues

You may also like