Navigate to the Office installation directory: Type one of the following commands and press Enter (the location depends on your Office version, the 64-bit path is most common):
For 64-bit Office: cd “C:Program FilesMicrosoft OfficeOffice16”.
For 32-bit Office: cd “C:Program Files (x86)Microsoft OfficeOffice16”.
To display the installed license keys: Type the following command and press Enter:
cscript ospp.vbs /dstatus.
This will show details about the installed licenses, including the last 5 characters of the product key.
Remove the license: Note the last five characters of the key you want to remove. Type the following command, replacing XXXXX with those characters, and press Enter:
cscript ospp.vbs /unpkey:XXXXX.
Restart
fix 365 registration error
Skip to main content
How Can We Help?
