By MCAKey Technical Team
Need to move your Office license to a new PC, or troubleshoot an activation issue? Removing the license key from your current machine is the first step. It sounds technical but takes under 2 minutes with the right commands.
Here’s exactly how to do it — works for Office 2016, 2019, 2021, and 2024.
Press Win + R, type cmd, press Enter. Then right-click Command Prompt and select Run as administrator.
For 64-bit Office (most common on modern Windows):
cd "C:\Program Files\Microsoft Office\Office16"
For 32-bit Office on a 64-bit system:
cd "C:\Program Files (x86)\Microsoft Office\Office16"
⚠️ Replace
Office16withOffice15for Office 2013, orOffice14for Office 2010. Not sure which? Check C:\Program Files\Microsoft Office\ in File Explorer.
Run this to see all installed Office licenses and their last 5 characters:
cscript ospp.vbs /dstatus
Look for the line showing Last 5 characters of installed product key. Note those 5 characters — you’ll need them next.
Replace XXXXX with the 5 characters you just noted:
cscript ospp.vbs /unpkey:XXXXX
You should see: Uninstalling product key for… product key uninstall successful.
Run the status check again to confirm:
cscript ospp.vbs /dstatus
If it returns “No installed product keys detected” — you’re done. The license is fully removed.
If you’re replacing the key rather than just removing it, install the new one:
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Then activate immediately:
cscript ospp.vbs /act
Need a genuine Office license? MCAKey has Office 2024, 2021, and 2019 keys with instant delivery.
🎟️ Special Offer: Use code FIXIT10 at checkout on mcakey.com/shop for 10% off your next purchase. Limited time.
Five commands. Under 2 minutes. Whether you’re moving licenses, troubleshooting, or upgrading — this is the clean way to do it without touching the registry or reinstalling Office.
Need help? Contact MCAKey support — we respond within a few hours.