logo
search
Activation Problems

How to Remove Office 2019 Activation Message After Installing Microsoft 365

Algirdas JasaitisAlgirdas Jasaitis Sep 27, 2026 874 views

Question details

The user needs to eliminate a persistent activation prompt for an inactive Office 2019 Professional Plus license that still appears after installing Microsoft 365 Personal.

How to Remove the Office 2019 Activation Message After Installing Microsoft 365
Product
Microsoft Office / Microsoft 365
Device & OS
Windows
Scenario
Upgrading from an older version of Microsoft Office to a newer Microsoft 365 subscription.
Observed behavior
Word and Excel continue to display an inactive Office 2019 license warning instead of recognizing the active Microsoft 365 subscription.
Before you start

Ensure that you are logged into Windows with an administrator account, as you will need administrative privileges to execute the license removal scripts via Command Prompt.

Solution 1Recommended

Remove the Old License Key Using Command Prompt

Manually delete the lingering Office 2019 product key from your system's registry using the Office Software Protection Platform script to stop the activation conflict.

When you uninstall Microsoft Office 2019, the license key information may remain cached on your computer. When you install Microsoft 365, the system detects this old key and triggers the activation message. You can force the system to forget the old key using the built-in ospp.vbs script.

1
Open Command Prompt as Administrator

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

2
Navigate to the Office directory

In the Command Prompt window, type 'cd C:\Program Files\Microsoft Office\Office16' and press Enter. If you are using a 32-bit version of Office on a 64-bit system, type 'cd C:\Program Files (x86)\Microsoft Office\Office16' instead.

3
Display installed licenses

Type 'cscript ospp.vbs /dstatus' and press Enter. This will display all Office licenses currently registered on your computer. Look for the Office 2019 Professional Plus license and note the last five characters of its product key.

4
Remove the old product key

Type 'cscript ospp.vbs /unpkey:XXXXX', replacing 'XXXXX' with the five characters you found in the previous step, and press Enter to delete the old license.

5
Reinstall and sign into Microsoft 365

Log into your Microsoft account online, navigate to the 'Services & subscriptions' page, reinstall Microsoft 365 if necessary, and open any Office app to sign in with your active subscription account.

Remove the Old License Key Using Command Prompt
Activation Issue Resolved: Once the old key is successfully removed via the command line, restarting your Office applications should immediately prompt them to connect to your active Microsoft 365 subscription.
Free Microsoft Office alternative

Try WPS Office for a Hassle-Free Experience

Dealing with lingering product keys and activation errors in Microsoft Office can be frustrating. Switch to WPS Office, a free, lightweight, and highly compatible alternative that requires no complex activation procedures or script commands.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the software: Run the downloaded installer and follow the straightforward setup wizard to install the suite in minutes.
  3. 3. Open your files instantly: Launch WPS Office and open your existing .docx, .xlsx, or .pptx files natively without worrying about legacy activation messages.
No complicated license key management or activation errorsFully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation with a familiar, easy-to-use tabbed interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Microsoft 365 show an Office 2019 license?

This happens when the product key for your previous Office 2019 installation is not completely purged from the system registry during the standard uninstallation process, causing Microsoft 365 to mistakenly read the old license.

What is the ospp.vbs script?

The Office Software Protection Platform (ospp.vbs) is a built-in command-line tool provided by Microsoft to help manage, view, and configure volume licensing and product keys for Office installations.

Will removing the old product key delete my existing documents?

No, removing a product key only resets the software's activation state. All of your personal files, Word documents, and Excel spreadsheets remain safely stored on your hard drive or cloud storage.

How do I know if I should use the Program Files or Program Files (x86) folder?

If you installed the 64-bit version of Microsoft Office, the folder is located in 'C:\Program Files'. If you installed the 32-bit version on a 64-bit Windows system, it will be in 'C:\Program Files (x86)'.