Fix Office 2016 Activation Problems from Conflicting Product Keys
Question details
Resolve an Office 2016 activation failure caused by a conflicting product key or remnants of another Office installation.

- Product
- Microsoft Office 2016
- Device & OS
- Windows 10
- Scenario
- A user wants to activate Office 2016 with a valid license after a Microsoft 365 installation or trial was present on the computer.
- Observed behavior
- Activation fails or returns to a grace period, and the license status may show both an activated license and an unwanted grace-period key.
Confirm which Microsoft account or product key is associated with your Office 2016 license. Close Office apps and sign in to Windows with an account that can run Command Prompt as an administrator.
Remove the conflicting key and leftover Office installation
Use this method when Office 2016 shows an unwanted grace-period key or a previous Office installation is interfering with activation.
The Office licensing script can display installed key information for supported Office installations. Removing a key does not uninstall Office; remove an unwanted installation separately if necessary.
Open the Windows Start menu, search for Command Prompt, and select Run as administrator.
In Command Prompt, run cd /d "%ProgramFiles%\Microsoft Office\Office16". If that folder does not exist, try cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16".
Run cscript ospp.vbs /dstatus. Review the license descriptions and status, and note the last five characters of the unwanted grace-period or trial key. Do not remove the key associated with your valid license.
Run cscript ospp.vbs /unpkey:XXXXX, replacing XXXXX with the last five characters of the unwanted key. Run cscript ospp.vbs /dstatus again to check the remaining licenses.
If an unwanted Office or Microsoft 365 installation remains, open Windows Settings > Apps > Apps & features and uninstall it. If it cannot be removed there, use Microsoft's Office uninstall support tool and follow its prompts.
Restart Windows, open an Office 2016 app, and go to File > Account. Select Activate Product or Sign in, as offered, and use the account or product key associated with your valid license.

Work on Office documents without Office 2016 activation
WPS Office is a free, lightweight alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easy to move your documents and continue working.

Frequently Asked Questions
How can I see which Office product keys are installed?
Open Command Prompt as an administrator, change to the Office16 folder, and run cscript ospp.vbs /dstatus. The output shows license information and the last five characters of applicable installed keys.
Does removing a product key uninstall Office?
No. The /unpkey command removes the specified installed key, not the Office application. To remove an unwanted installation, use Settings > Apps > Apps & features or Microsoft's Office uninstall support tool.
What if the Office16 folder is not in Program Files?
Check the Microsoft Office\Office16 folder under both Program Files and Program Files (x86). Use cd /d followed by the folder path in an elevated Command Prompt.
What should I do if Office still asks for activation after a restart?
Open an Office app and check File > Account. Sign in with the account associated with your Office 2016 license or select the available activation option. If the issue persists, contact Microsoft Support with the license status information.




