Skip to main content

Free UK delivery for orders £30 and over

Important Note: This article explains how to verify and activate a legitimate license. It does not cover cracking, KMS workarounds, or unauthorized activations. Using unlicensed methods violates Microsoft’s terms and poses security risks.


Troubleshooting: When CMD says "Activated" but Office says "Unlicensed"

This is the most common bug on Windows 11. If CMD shows success but Word/Excel still shows a yellow bar asking to activate:

  1. Sign out & sign in: Inside Word, go to File > Account > Sign Out. Restart Windows and sign back in.
  2. Repair Office: Go to Windows Settings > Apps > Installed Apps > Microsoft 365 > Modify > Quick Repair.
  3. Clear Credentials: Type control in Run. Open Credential Manager > Windows Credentials. Remove any entry starting with MicrosoftOffice.

How to Verify if your Office 365 is Truly Original (via CMD)

After running the /act command, verify the license status thoroughly:

cscript ospp.vbs /dstatus

Look for these values to ensure it is original:

What CMD Cannot (Legally) Do

Office 365 (now Microsoft 365) is a subscription service. Unlike older perpetual versions (Office 2010, 2013), its activation requires periodic online verification with Microsoft’s servers. No CMD command can:

Search results offering "Office 365 activator CMD" usually point to unauthorized scripts that either:

On Windows 11, Microsoft Defender and SmartScreen actively block such tools because they violate security policies.

Alternative: CMD Batch File for Automatic Activation

If you manage multiple PCs or need to reinstall often, save these commands in a .bat file.

  1. Open Notepad.
  2. Paste the following (replace YOUR-KEY with your actual key):
@echo off
title Office 365 Original Activator
echo Navigating to Office folder...
cd /d "C:\Program Files\Microsoft Office\Office16"
echo Installing License Key...
cscript ospp.vbs /inpkey:YOUR-KEY-HERE
echo Activating...
cscript ospp.vbs /act
echo Checking status...
cscript ospp.vbs /dstatus
echo Done.
pause
  1. Save as ActivateOffice.bat
  2. Right-click > Run as administrator.

Step 2: Navigate to the Office Installation Folder

The location of Office has changed over the years. On 64-bit Windows 11 with 64-bit Office (standard), use this command:

cd “C:\Program Files\Microsoft Office\Office16”

Note: Even though it says "Office16," this folder is used for Office 365, Office 2019, Office 2021, and Office 2024.

Alternative paths if the above fails:

How to Activate Office 365 on Windows 11 via CMD (Official Methods)

Activating Microsoft Office 365 on Windows 11 using the Command Prompt (CMD) is a standard troubleshooting procedure for IT professionals and users resolving activation errors. While most modern installations activate automatically via the internet upon signing in with a Microsoft account, CMD is essential when manually configuring volume license versions or troubleshooting the Software Protection Platform.

Prerequisites Before proceeding, ensure that:

  1. You have an original, licensed version of Office 365 installed.
  2. You are running the Command Prompt with Administrator privileges.
  3. You possess the correct Generic Volume License Key (GVLK) or a valid product key provided by your organization.

Step 1: Open Command Prompt as Administrator

  1. Press the Windows Key on your keyboard or click the Start button.
  2. Type cmd.
  3. Right-click on "Command Prompt" in the search results.
  4. Select Run as administrator. Click "Yes" if prompted by User Account Control.

Step 2: Locate the Office Installation Folder The command prompt defaults to C:\Windows\System32. You must navigate to the folder containing the Office Software Protection Platform script (ospp.vbs). The location depends on your Office architecture (32-bit or 64-bit) and Windows version.

For Office 365 (64-bit) on Windows 11, run the following command: cd /d "C:\Program Files\Microsoft Office\Office16"

For Office 365 (32-bit) on Windows 11 (common if installed from the Microsoft Store or via Click-to-Run), run: cd /d "C:\Program Files (x86)\Microsoft Office\Office16"

(Note: The folder is typically named Office16 for Office 2016, 2019, and 365 versions.)

Step 3: Check Current License Status Before activating, verify the current status to ensure the correct licenses are installed. Type the following command and press Enter:

cscript ospp.vbs /dstatus

This command displays the last 5 characters of the installed product key and the license status (e.g., LICENSED, UNLICENSED, or OOBE_GRACE).

Step 4: Install the Product Key If the status shows unlicensed or if you need to input a valid key provided by your Volume Licensing Service Center (VLSC), use the command below. Replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your actual 25-character key.

cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Step 5: Activate the Product Once the key is installed, you can attempt activation.