logo
search
License & Subscription Issues

How to Switch Between Two Microsoft Office Licenses: Fix Activation

John WilsonJohn Wilson Sep 28, 2026 868 views

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.

How to Switch Between Two Microsoft Office Licenses
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.
Before you start

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.

Solution 1Recommended

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.

1
Sign out and close applications

Sign out of all Microsoft Office applications, such as Word and Excel, and close the programs completely.

2
Open Command Prompt as Administrator

Click the Start menu, type 'cmd', right-click on 'Command Prompt', and select 'Run as administrator'.

3
Navigate to the Office directory

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.

4
Check your license status

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.

5
Remove the unwanted key

Type 'cscript ospp.vbs /unpkey:XXXXX' (replace XXXXX with the 5 characters you noted) and press Enter to uninstall the old key.

6
Restart and activate

Open any Office application. When prompted, sign in with your Microsoft account to activate your intended Professional Plus license.

Remove the Unwanted License Key via Command Prompt
Verification Step: You can run 'cscript ospp.vbs /dstatus' again after removal to ensure no lingering unwanted keys remain before restarting Office.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS website and click the download button to get the free installer.
  2. 2. Install the Software: Run the downloaded executable file and follow the simple on-screen instructions.
  3. 3. Start Creating: Launch WPS Office and instantly open your existing Microsoft Word, Excel, or PowerPoint files without activation conflicts.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.No complicated license switching or command-prompt troubleshooting required.Lightweight design that runs smoothly on almost any device.Familiar, intuitive user interface for a seamless transition.
microsoft office alternative - wps office

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.