News & Updates

How to Activate Office 2013 via Command Prompt – Simple Guide

By Natalie Farrow 13 min read 4429 views

How to Activate Office 2013 via Command Prompt – Simple Guide

Why use the command line for activation?

Most users click the built‑in activation wizard, but the Command Prompt (CMD) gives you a bit more control. It works even when the graphical interface refuses to start, and it lets you automate the process across several machines. In short, CMD is a reliable back‑up when the usual route hits a snag.

What you need before you begin

First, make sure you have a legitimate product key for Office 2013. The key is a 25‑character string that looks like XXXXX‑XXXXX‑XXXXX‑XXXXX‑XXXXX. You’ll also need administrative privileges on the computer, because changing the activation state touches system files.

Open the Command Prompt as an administrator: press Win + X, choose “Command Prompt (Admin)” or “Windows PowerShell (Admin)”, and click “Yes” when prompted.

Step‑by‑step: Activate Office 2013 via CMD

1. Navigate to the Office folder. The exact path depends on whether you installed the 32‑bit or 64‑bit version. Type one of the following and press Enter:

  • For 32‑bit on a 64‑bit Windows: cd "C:\Program Files (x86)\Microsoft Office\Office15"
  • For 64‑bit Office: cd "C:\Program Files\Microsoft Office\Office15"

2. Enter the product key. Run the following command, replacing YOUR-PRODUCT-KEY with your actual key:

cscript ospp.vbs /inpkey:YOUR-PRODUCT-KEY

If the key is accepted, you’ll see a “Successfully installed product key” message.

3. Force activation. Ask Office to contact Microsoft’s servers immediately:

cscript ospp.vbs /act

The output will tell you whether activation succeeded. A line reading “Product activation successful” means you’re done.

4. Confirm the status. Run this command to double‑check:

cscript ospp.vbs /dstatus

Look for “LICENSE STATUS: ---LICENSED---”. If it shows “UNLICENSED”, repeat the previous steps or move on to troubleshooting.

Troubleshooting common errors

Error 0xC004F074 – KMS unavailable. This typically means the computer can’t reach a Key Management Service. Make sure you’re connected to the internet, or try the /act command again after a few minutes.

Error 0xC004C003 – Invalid product key. Double‑check the characters; the key is case‑insensitive but must be entered exactly as printed. If you copied it from an email, watch out for hidden spaces.

Activation server busy. Occasionally Microsoft’s servers are overloaded. Waiting ten minutes and re‑running /act usually clears the issue.

If none of these solutions work, you can reset the licensing information and start fresh:

cscript ospp.vbs /rearm

After the rearm, repeat the activation steps from the beginning.

When to use the GUI instead

For most home users, the standard “Activate Product” button in any Office app is quicker. The CMD method shines in corporate environments where admins push the same key to dozens of computers via scripts, or when the GUI is corrupted and refuses to open.

FAQ

Can I activate Office 2013 without an internet connection?

Yes, by using a phone activation method. You’d run cscript ospp.vbs /act, note the displayed installation ID, call Microsoft’s support line, and then enter the supplied confirmation ID.

Do I need to run CMD as admin every time I reactivate?

Administrative rights are required the first time you install a product key. Subsequent checks with /dstatus can be done without admin, but re‑activating after a hardware change usually needs admin again.

Is it safe to share my product key with a colleague for activation?

Product keys are licensed per user or per device, depending on your agreement. Sharing a key outside the terms of your license can violate Microsoft’s policy and may trigger deactivation later.

What if I have both Office 2010 and Office 2013 on the same PC?

Each version stores its activation data in separate folders (Office14 for 2010, Office15 for 2013). Run the CMD commands in the correct directory to avoid confusing the two products.

How To Activate Microsoft Office Using Command Prompt Cmd
Come Risolvere i Problemi di Attivazione di Office 365 - Una Guida Completa
How to Find Office 2013 Product Key Using CMD
🥇 Activar Office 2013 con CMD: 5 pasos fáciles para lograrlo

Written by Natalie Farrow

Natalie Farrow is a Senior Editor with a background in breaking news, digital journalism, and in-depth analysis. She oversees coverage across a broad range of topics, bringing editorial judgment and attention to detail to stories that require timely updates and clear explanations.


You Might Like