Fix Office 2019 Switching to Microsoft 365 Activation
Question details
The user is experiencing a licensing conflict where Office 2019 applications activate using a Microsoft 365 license instead of the purchased permanent license.

- Product
- Microsoft Office 2019
- Device & OS
- Windows
- Scenario
- This issue occurs after installing Microsoft 365 to use OneDrive and performing a computer reset, causing Office to prioritize the Microsoft 365 subscription license.
- Observed behavior
- Office 2019 applications persistently activate with the Microsoft 365 license, ignoring the legitimately purchased Office 2019 product key.
Ensure you have the login credentials for the Microsoft account associated with your Office 2019 purchase, and close all open Office applications before proceeding.
Remove the Unwanted Microsoft 365 License Key via Command Prompt
Use the built-in Office Software Protection Platform script (ospp.vbs) to identify and remove the conflicting Microsoft 365 product key.
Windows caches Office activation keys. When multiple keys are present, the system may default to the Microsoft 365 subscription. You can manually delete the unwanted key using the Command Prompt.
Click the Start menu, type 'cmd', right-click on 'Command Prompt', and select 'Run as administrator'.
Type the command 'cd C:\Program Files\Microsoft Office\Office16' (or 'cd C:\Program Files (x86)\Microsoft Office\Office16' for 32-bit Office) and press Enter.
Type 'cscript ospp.vbs /dstatus' and press Enter. Look through the output to find the Microsoft 365 license and note the 'Last 5 characters of installed product key'.
Type 'cscript ospp.vbs /unpkey:XXXXX' (replace XXXXX with the 5 characters you found) and press Enter to remove the Microsoft 365 license.
Open Word or Excel, and sign in with the Microsoft account that owns your Office 2019 perpetual license.

Clear Cached Activation Data using OLicenseCleanup
If manual key removal fails, use Microsoft's automated OLicenseCleanup script to wipe all corrupted or conflicting activation data.
Avoid Licensing Conflicts with WPS Office
Tired of troubleshooting complex Microsoft Office activation errors and license conflicts? WPS Office is a free, lightweight, and highly compatible alternative that lets you view, edit, and create documents without frustrating subscription management.
- 1. Download WPS Office: Visit the official WPS Office website and click the download button for the free installer.
- 2. Install the Software: Run the downloaded setup file and follow the quick on-screen instructions to install the suite.
- 3. Open Your Documents: Double-click your existing Word, Excel, or PowerPoint files to open and edit them seamlessly in WPS Office.

Frequently Asked Questions
Why is my Office 2019 showing as Microsoft 365?
This usually happens when you install an app like Microsoft 365 to use OneDrive. The system caches the Microsoft 365 subscription license, which takes precedence over your perpetual Office 2019 license during activation.
Will removing the Microsoft 365 key delete my local files or OneDrive data?
No. Running the ospp.vbs script to remove a product key only deletes the local activation record for the software. Your documents, spreadsheets, and files saved in OneDrive remain completely safe and untouched.
How do I check which Office license is currently active on my computer?
You can check your active license by opening Command Prompt as an administrator, navigating to your Office installation folder (e.g., C:\Program Files\Microsoft Office\Office16), and running the command 'cscript ospp.vbs /dstatus'.




