How to Switch Between Two Microsoft Office Licenses: Fix Activation
Question details
The user needs to switch to a new Microsoft Office license (such as Office Professional Plus 2021) but the applications continue to default to the old license (like Home and Student) tied to the same Microsoft account.

- Product
- Microsoft Office
- Device & OS
- Windows
- Scenario
- Activating a new Office license on a computer that already has an existing license linked to the same Microsoft account.
- Observed behavior
- Office applications continue to use the old Home and Student license and do not recognize or activate the newly associated Office Professional Plus 2021 license.
Ensure you have administrative privileges on your computer, as you will need to run Command Prompt as an administrator to manage product keys. Also, verify that your new Office license is properly linked to your Microsoft account online.
Remove the Unwanted License Key via Command Prompt
Use the Office Software Protection Platform script (ospp.vbs) to locate and remove the old license key from your system, forcing Office to prompt for the new activation.
When multiple licenses are associated with a single Microsoft account, Office applications may cache the oldest key. Manually uninstalling the unwanted product key via an elevated Command Prompt resolves this conflict.
Sign out of all Microsoft Office applications, such as Word and Excel, and close the programs completely.
Click the Start menu, type 'cmd', right-click on 'Command Prompt', and select 'Run as administrator'.
Type 'cd C:\Program Files\Microsoft Office\Office16' and press Enter. If you are using the 32-bit version on a 64-bit system, use 'cd C:\Program Files (x86)\Microsoft Office\Office16' instead.
Type 'cscript ospp.vbs /dstatus' and press Enter. Locate the unwanted license (e.g., Home and Student) in the output and note the last 5 characters of the installed product key.
Type 'cscript ospp.vbs /unpkey:XXXXX' (replace XXXXX with the 5 characters you noted) and press Enter to uninstall the old key.
Open any Office application. When prompted, sign in with your Microsoft account to activate your intended Professional Plus license.

Simplify Your Work with WPS Office
Dealing with complicated license management and command-prompt scripts can be frustrating. Switch to WPS Office, a free, lightweight, and highly compatible alternative that eliminates the hassle of managing multiple conflicting product keys.
- 1. Download the Installer: Visit the official WPS website and click the download button to get the free installer.
- 2. Install the Software: Run the downloaded executable file and follow the simple on-screen instructions.
- 3. Start Creating: Launch WPS Office and instantly open your existing Microsoft Word, Excel, or PowerPoint files without activation conflicts.

Frequently Asked Questions
Why does Microsoft Office keep using my old license?
Office often defaults to the oldest active license associated with your Microsoft account or system registry. If the old product key isn't manually removed using the ospp.vbs script, the apps will prioritize it over the new license.
Where do I check which Office licenses are linked to my account?
You can verify your active licenses by logging into your Microsoft account online and navigating to the 'Services & subscriptions' page at support.microsoft.com.
Will uninstalling the product key via Command Prompt delete my documents?
No. Removing a product key via Command Prompt only affects the software activation status on that specific machine. All your Word documents, Excel spreadsheets, and other files remain entirely safe on your hard drive.




