logo
search
Office Activation Errors

How to Fix OSPP.VBS Activation Status Error -2147217394 in Microsoft 365 Apps

Algirdas JasaitisAlgirdas Jasaitis Sep 28, 2026 870 views

Question details

The user is attempting to check the activation status of Microsoft 365 Apps using a command-line script but encounters a specific error code.

How to Fix OSPP.VBS Activation Status Error -2147217394 in Microsoft 365 Apps
Product
Microsoft 365 Apps
Device & OS
not provided
Scenario
Checking license and activation information using the legacy OSPP.VBS command-line diagnostic script.
Observed behavior
Running the command 'cscript OSPP.VBS /dstatus' returns error code -2147217394 instead of displaying the application's activation status.
Before you start

Ensure you are logged into your computer with an administrator account and have an active internet connection before running diagnostic scripts or adjusting activation settings.

Solution 1Recommended

Check Activation Status via Office Application Account Settings

The most reliable and user-friendly way to verify Microsoft 365 activation status is through the built-in account menu rather than using legacy command-line scripts.

Microsoft 365 Apps now utilize a different licensing and diagnostic method, making the old OSPP.VBS script obsolete for newer installations. Checking the status directly in the application interface avoids script compatibility errors.

1
Open an Office Application

Launch any Microsoft 365 application installed on your device, such as Microsoft Word or Microsoft Excel.

2
Navigate to the File Menu

Click on the 'File' tab located in the top-left corner of the application ribbon.

3
Access Account Settings

Select 'Account' from the left-hand navigation pane.

4
Verify Product Status

Review the 'Product Information' section on the right side of the screen to confirm your product version, account details, and current activation status.

Check Activation Status via Office Application Account Settings
Legacy Script Support: The OSPP.VBS script is no longer the recommended tool for checking Microsoft 365 Apps activation, which is why it often returns error -2147217394.
Free Microsoft Office alternative

Avoid Activation Errors with WPS Office

Instead of struggling with complex activation scripts and legacy licensing errors in Microsoft 365, switch to WPS Office. It provides a lightweight, highly compatible office suite for all your document needs without the persistent activation hassle.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button to get the setup file.
  2. 2. Install WPS Office: Run the lightweight installer and follow the simple on-screen instructions to set up the software.
  3. 3. Start Creating Documents: Open WPS Office and instantly start creating, editing, and saving your documents without activation roadblocks.
No complicated activation scripts or frustrating subscription errors.Fully compatible with Microsoft Office file formats like .docx, .xlsx, and .pptx.Free and lightweight suite including Writer, Spreadsheet, and Presentation tools.Familiar user interface allowing for instant and seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OSPP.VBS /dstatus return error -2147217394?

This error occurs because Microsoft 365 Apps have transitioned to a newer licensing mechanism, making the legacy OSPP.VBS script incompatible for checking activation status on newer installations.

Where can I find the vnextdiag.ps1 script?

The vnextdiag.ps1 script is typically located in the Office installation folder under Program Files, specifically where Microsoft Office deployment and modern licensing tools are installed.

Does error -2147217394 mean my Microsoft 365 is deactivated?

Not necessarily. If you open Word or Excel and check File > Account, your product may still show as fully activated. The error often just reflects the OSPP script failing to read the new license format.

How do I check if my Microsoft Office is activated without using scripts?

Simply open any Office application like Word, click on the File tab, and select Account. The Product Information section on the right side will clearly display your current activation status.