T

How to Remove a Microsoft Office 2021 Licence from Your Device

31 views · updated 2026-07-03 · published 2026-07-03 · Licensing Reading time: 2 min English

Moving Office 2021 to a new PC, fixing a licence conflict, or preparing a machine for a new key? You'll want to remove the existing licence cleanly first. Here are four methods, from easiest to most thorough.

  1. Open any Office app → File → Account → Manage Account.
  2. Sign in at account.microsoft.com → Services & subscriptions.
  3. Find the Office 2021 entry for the device and remove/deactivate the installation.

Best when the licence was redeemed to a Microsoft account (typical for Home & Business retail keys).

Open Command Prompt as administrator and change to the Office folder:

cd "C:\Program Files\Microsoft Office\Office16"

1. See what's installed:

cscript ospp.vbs /dstatus

Note the last 5 characters of the installed product key in the output.

2. Remove that key:

cscript ospp.vbs /unpkey:XXXXX

(Replace XXXXX with those last 5 characters.) You should see "Product key uninstall successful." Repeat if /dstatus shows multiple keys — including leftover trial or grace keys.

Method 3 — Microsoft Support and Recovery Assistant (SaRA)

Download Microsoft's free SaRA tool, choose the Office activation scenario, and let it detect and reset the licensing state automatically — handy when the commands above error out.

Method 4 — Complete uninstall

Settings → Apps → Microsoft Office 2021Uninstall removes the software and its local licence together. Use Microsoft's official uninstall support tool for stubborn remnants. (Full removal steps for old/trial keys via CMD: see our detailed CMD guide.)

Verify the removal

cscript ospp.vbs /dstatus

The output should show no licence found (or only the keys you expect). Restart Office (or the PC) to finalise. You can now enter a new key at File → Account → Change Product Key.

Cautions

  • Removing a key here does not return an activation to Microsoft's counter automatically — if the key hit its activation limit, activate on the new PC by phone activation (the TechHub Get CID tool makes it instant).
  • Don't remove keys on a machine you don't manage — licensing changes affect all users of the PC.
  • Keep your original delivery email — the full key never appears in /dstatus, only its tail.

Need a fresh key?

Genuine Office 2021 / 2024 keys with instant delivery — at TechHub, activation support included.

Thanks for your feedback! 🙌

Read more

📖

Microsoft Office 2021 Licence එක Device එකෙන් ඉවත් කරන හැටි (සිංහල)

Office 2021 licence එක ඉවත් කරන ක්‍රම හතරක් — account unlink, ospp.vbs /dstatus සහ /unpkey commands, SaRA tool

📖

How to Remove an Old or Cracked Microsoft Office Product Key via CMD

Remove an old, duplicate, or cracked Microsoft Office product key from the command line (cscript ospp.vbs /unp

📖

Windows Product Key Types And Differences

If you are planning to upgrade your system to a new version of Windows, or are planning to upgrade your PC ent

📖

Windows Product ID vs Product Key (and How to Find Each)

Understand the difference between a Windows Product ID and a Product Key, and learn how to find both on your P

How to Activate Windows 11

Check your activation status and activate Windows 11 with a product key or a digital license linked to your Mi

Office 2019 Professional Plus — Download, Installation & Activation Guide

Prepare your PC, download the Office 2019 Pro Plus ISO, mount and install it, and activate with your key — inc

📖

Office 2021 Home & Business for Mac — Download, Install සහ Activate කරන හැටි (සිංහල)

setup.office.com එකේ Office 2021 key එක redeem කරන හැටි, Mac installer එක download කරන හැටි, sign-in එකෙන් act

📖

TechHub Get CID Tool — Confirmation ID Guide for Office & Windows Phone Activation

What a Confirmation ID (CID) is, how to get your Installation ID, and how to use the TechHub Get CID tool to c

TechHub Assistant
Online · AI assistant
Thinking
⬇ Downloads 📦 Orders 🛒 Buy License 🎫 Create Ticket 🙋 Contact
AI-generated · may be inaccurate. Talk to a human