No products in the cart.
An Office license removal tool clears old Office or Microsoft 365 licenses from your computer so a new product key can activate cleanly. On a Mac, Microsoft offers an official License Removal Tool you download and run. On Windows, there’s no single tool with that name: you remove licenses with Microsoft’s uninstall tool or with a built-in command (ospp.vbs) that’s already on your PC. Both methods are below.
You usually need this when Office keeps showing the wrong product, says “Unlicensed Product”, or asks you to sign in to a Microsoft 365 subscription you no longer use, even after you’ve entered a new key.
When should you remove Office licenses?
- You switched from a Microsoft 365 trial or subscription to a one-time purchase like Office 2021 or Office 2024, and Office still asks you to sign in to Microsoft 365.
- Office shows “Unlicensed Product” or “Product Activation Failed” after you entered a valid key.
- File › Account shows a different edition from the one you bought.
- You’re selling or giving away a computer and want to remove your license from it.
- Your Office 2021 activation or Office 2024 activation keeps failing and support has asked you to reset licensing.
You don’t need it for a simple typo in a key. Try re-entering the key first.
Before you start
- Save your work and close every Office app, including Outlook and Teams.
- Have your new product key ready, from your order email.
- Know your Microsoft account password if your Office is linked to one.
- Removing a license doesn’t delete your documents, emails or settings. It only removes the activation.
How to remove Office licenses on a Mac (Microsoft License Removal Tool)
Microsoft publishes a small installer package that removes every Office license file from a Mac in one go. It works for Office 2016, 2019, 2021, 2024 and Microsoft 365 for Mac.
- Quit all Office apps (Word, Excel, PowerPoint, Outlook, OneNote).
- Open Microsoft’s support article “How to remove Office license files on a Mac” and download the License Removal Tool (a .pkg file). Only download it from microsoft.com.
- Open the downloaded .pkg file and select Continue through the installer.
- Enter your Mac administrator password when asked, then select Install Software.
- When it says the installation was successful, select Close. You can move the installer to the Trash.
- Open Word. Office now asks you to activate. Sign in with the Microsoft account that holds your purchase, or enter your new product key.
The tool doesn’t remove the Office apps themselves, only the licenses. If you want to remove Office completely, drag the apps from the Applications folder to the Trash after running it.
How to remove Office licenses on Windows
Pick the method that fits your problem. Method 1 is the simplest. Method 2 removes one specific product key without uninstalling anything.
Method 1: Uninstall Office completely with Microsoft’s tool
Use this when you’re switching from Microsoft 365 to Office 2021 or 2024, or when several Office versions are mixed up on the PC.
- Open Settings › Apps › Installed apps, search for Office and Microsoft 365, and uninstall everything you find.
- If something won’t uninstall, open Microsoft’s support article “Uninstall Office from a PC” and use the uninstall support tool it links to. It removes leftover Office files and licenses.
- Restart the PC.
- Install your new Office from the official download link and enter your key.
Method 2: Remove a single product key with ospp.vbs
Every Windows copy of Office 2016, 2019, 2021 and 2024 includes a Microsoft script called ospp.vbs that lists and removes product keys. This is the closest thing to a “license removal tool” on Windows.
- Click Start, type cmd, right-click Command Prompt and choose Run as administrator.
- Go to your Office folder. For most installs (64-bit Office), type:
cd "C:\Program Files\Microsoft Office\Office16"
For 32-bit Office on 64-bit Windows, use:cd "C:\Program Files (x86)\Microsoft Office\Office16" - List the installed keys:
cscript ospp.vbs /dstatus
Note the “Last 5 characters of installed product key” for each license shown. - Remove a key by its last five characters (replace XXXXX):
cscript ospp.vbs /unpkey:XXXXX
You should see “Uninstalled product key successfully”. - Repeat for any other old keys, then close Command Prompt.
- Open Word, go to File › Account › Change Product Key and enter your new key.
The folder is called Office16 for Office 2016, 2019, 2021 and 2024. That’s normal.
Method 3: Reset Microsoft 365 sign-in licenses
If Office keeps asking you to sign in to a Microsoft 365 account you no longer use, also sign out of that account: open Word, go to File › Account and select Sign out. Then in Windows open Settings › Accounts › Email & accounts and remove the old work or school account if it’s listed. Restart Office afterwards.
After removing the license: activate your new key
- Restart the computer.
- Open Word or Excel.
- Enter your new 25-character product key when asked, or use File › Account › Change Product Key.
- Check File › Account. It should now say Product Activated with the right edition.
Step-by-step guides with screenshots: how to activate Office 2021 and how to install and activate Office 2024.
Common problems
“cscript is not recognized” or “ospp.vbs not found”
You’re in the wrong folder. Check both Program Files and Program Files (x86) for Microsoft Office\Office16. Some Microsoft 365 installs don’t include ospp.vbs; use Method 1 instead.
“Access denied” when running ospp.vbs
Command Prompt isn’t running as administrator. Close it and reopen it with Run as administrator.
Office still shows the old product after removal
Restart the PC, and make sure only one Office version is installed. If an old Microsoft 365 install is still there, uninstall it (Method 1).
The Mac tool says “can’t be opened because it is from an unidentified developer”
You may have downloaded a copy from somewhere other than Microsoft. Delete it and download it again from Microsoft’s support article.
A warning about “license removal” downloads
Search results are full of “Office license remover” and “activator” downloads from unofficial sites. Many bundle KMS activators or malware, and none of them are needed: Microsoft’s own tools and the built-in ospp.vbs script do the job. Read more about the risks of cracked software and activators.
Frequently asked questions
Does removing an Office license delete my files?
No. Your documents, email and settings stay where they are. Only the activation is removed.
Is there an official Office license removal tool for Windows?
Not under that name. On Windows you use Microsoft’s Office uninstall tool or the built-in ospp.vbs script, both covered above. The downloadable License Removal Tool is for Mac.
Can I reuse my Office key on another computer after removing it?
It depends on the license. Retail one-time purchases can usually be moved to a new PC after you remove them from the old one. Some licenses are tied to the first device. Check your product’s terms or ask the seller.
Do I need to remove the old license before installing Office 2024?
Usually yes if a different Office version or a Microsoft 365 trial is installed. Uninstalling the old version first prevents most activation errors.
Will this fix “Unlicensed Product” in Office?
Often, yes, when the cause is a leftover license from another version. If it doesn’t, contact the seller with the output of cscript ospp.vbs /dstatus.
Need a new Office key? See Office 2024 Professional Plus or Office 2021 Professional Plus at buydigital.fun, with free activation help.


