How to Remove Unwanted Office Licenses and Keep Microsoft 365 E3
Question details
The user needs to remove old or unwanted Microsoft Office licenses (such as Microsoft 365 Personal) and ensure only the Microsoft 365 E3 enterprise license is recognized and active.

- Product
- Microsoft 365 Apps
- Device & OS
- Windows 10
- Scenario
- The system continuously prompts the user to install or activate unwanted Office subscriptions despite the enterprise version being installed.
- Observed behavior
- Windows 10 continues prompting the user to install Microsoft 365 Personal, ignoring the intended Microsoft 365 E3 license, even though only Microsoft 365 Apps for enterprise is listed in Installed Apps.
Ensure you have administrator privileges on your computer and have your Microsoft 365 E3 account credentials ready before attempting to remove license keys via Command Prompt.
Clear Old Credentials and Remove Unwanted Keys via Command Prompt
Sign out of your Office applications, clear cached Windows credentials, and use the OSPP.VBS script to identify and remove conflicting product keys.
Windows often caches old subscription credentials in the Credential Manager. Even if you uninstall the old software, the cached license key can cause continuous prompts. Using the official Office Software Protection Platform (OSPP) script allows you to forcefully remove these hidden keys.
Open any Office application (like Word), click on your profile at the top right, select 'Sign out', and then completely close all Office applications.
Click the Start menu, type 'Credential Manager', and open it. Go to 'Windows Credentials', locate any entries starting with 'MicrosoftOffice', click on them, and select 'Remove'.
Click Start, type 'cmd', right-click 'Command Prompt', and select 'Run as administrator'. Type 'cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus' (or use 'Program Files (x86)' for 32-bit) and press Enter. Note the last 5 characters of the unwanted product key.
In the same Command Prompt window, type 'cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /unpkey:XXXXX' (replacing XXXXX with the 5 characters you noted) and press Enter to uninstall the key.
Open Word or Excel, sign in using your Microsoft 365 E3 account credentials, and allow the software to activate the correct enterprise license.

Switch to WPS Office to Avoid Complex Licensing Issues
Tired of dealing with conflicting Microsoft 365 licenses, hidden product keys, and constant activation prompts? WPS Office offers a free, lightweight, and user-friendly alternative with seamless compatibility for your documents without the subscription headaches.
- 1. Download the Installer: Visit the official WPS Office website and click 'Free Download' to get the installer for your Windows PC.
- 2. Install WPS Office: Run the downloaded setup file. The lightweight installation takes only a few minutes and does not conflict with existing software.
- 3. Open Your Documents: Launch WPS Office and open your existing Word, Excel, or PowerPoint files directly. You can edit and save them in their original formats instantly.

Frequently Asked Questions
Where can I find the OSPP.VBS file on my computer?
The OSPP.VBS script is typically located in 'C:\Program Files\Microsoft Office\Office16' for 64-bit Office installations, or 'C:\Program Files (x86)\Microsoft Office\Office16' for 32-bit Office installations.
Why does Windows still prompt me to install Microsoft 365 Personal?
This happens when remnants of an old Microsoft 365 Personal license or cached credentials remain in the system registry or Credential Manager. Clearing your Windows Credentials and removing the orphaned key using the OSPP script will resolve this.
Will removing product keys delete my local or cloud documents?
No. Removing Office license keys only resets the activation status of the software itself. Your local files and OneDrive cloud documents remain completely untouched and perfectly safe.
Can I reinstall Microsoft 365 Apps after removing the keys?
Yes. If the issue persists after removing the keys via Command Prompt, you can uninstall Office completely and download a clean Microsoft 365 Apps installer directly from your E3 account portal.




