Many of users install unlicensed Microsoft Office, and when they decide to update or upgrade, they face licensing issues.
To solve these issues, follow the below steps:
Step 1: Open Command Prompt on PC
Open a Command Prompt window, with Administrator Privilege’s, and then take one of the following actions:
• If you installed the 64-bit version of Office 2016, move to the following folder: cd C:\Program Files\Microsoft Office\Office16
• If you installed the 32-bit version of Office 2016, move to the following folder: cd C:\Program Files (x86)\Microsoft Office\Office16
Step 2: Display the Current License(s)
Type the following command to display the license status.
cscript ospp.vbs /dstatus
Write down the last five characters of any and all license keys that display in the output:
Last 5 characters of installed product key: WFG99
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:WFG99
Step 4: Restart the Computer
Once the remove commands are successful, close the command prompt and restart the PC.