As you know, the new Microsoft product installation usually includes a 30-days free trial license. However, the problem here is that the trial license is not uninstalled automatically when it is expired. And so this leads to the paradox that it keeps saying “Most features are disabled” or “Windows is not activated” even after activating it using a valid license. Besides, some of you guys who have ever used KMS license to activate your Windows or your Office and now you just want to remove it in order to use another product key. This is similar to the problem I just mentioned. And to address these issues, please do the following steps.

Step 2: Copy/run this command to determine what is the license key you want to remove.

``cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /dstatus``

If you see an error, try this command.

``cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /dstatus``

Note: “Office16” is codename of Office 2016. If you are using Office 2010/2013, replace “Office16” with “Office14” or “Office15”.

Step 3: Copy and run these commands to remove the license. Note: replace “VMFTK” with the last 5 characters of your product key.

``cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:VMFTK``

If you see an error, try this command.

``cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /unpkey:VMFTK``

Done!

Step 2: Execute this command.

``cscript slmgr.vbs /upk&cscript slmgr.vbs /cpky``

Done! The license you want to remove is uninstalled successfully.

If you would have any questions or concerns, please leave your comments. I would be glad to explain in more details. Thank you so much for all your feedback and support!

Who am I ?
I am Guang, a freelancer and a blogger. I'm currently managing KMS system, MSGuides blog and 2 tech Youtube channels.

### 84 thoughts on “Uninstall Microsoft product trial license or KMS license completely”

1. O*G thank you so much! I’d installed a KMS license to use Office 2019 for free, but after some time it started having problems, so I bought Office 365. The problem was that I couldn’t make it work because the f*****g fake license was still there, somewhere. Now the original version is working, thanks a lot!

2. Thank you so much Mr. Guang, among so many suggestions in google your information is correct and help me to uninstall licence

3. Hello, wanted to remove the windows licenses but got this error:

Error: 0xC0000022 On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0x2a 0xC0000022’ to display the error text.

Any work around how to fix this please? Need help so I can activate my windows.

4. HEY MATE!
ASK VISITORS TO CLICK THEIR VERSION FIRST, THEN LINK DOWN THE PAGE TO #2016 #2019 #365 etc.
OR HAVE EXPANDABLE / COLLAPSABLE SECTIONS FOR EACH EDITION 😀 =)
KEEP UP THE GREAT WORK! 🖖🤘👍😊😎😇🤩

1. WHAT IS THE CORRECT MICROSOFT OFFICE INSTALLATION PATH? WHERE IS OFFICE CLICK-TO-RUN C2R INSTALLED? WHERE IS MY OFFICE LOCATED?

THE CORRECT OFFICE & OFFICE 365 INSTALLATION PATHS! I HOPE THIS HELPS YOUR 😇🙏😎

Office 365
-» x86 32bit: C:\Program Files (x86)\Microsoft Office\root\Office16\
-» x64 64bit: C:\Program Files\Microsoft Office\root\Office16\ (rarely used due to Outlook and Office x64 Plugin incompatibility)

Click-To-Run (C2R)
-» C:\Program Files\Common Files\Microsoft Shared\ClickToRun\
…?

Office 2019 (????)
-» x86 32bit: C:\Program Files (x86)\Microsoft Office\Office16\
-» x64 64bit: C:\Program Files\Microsoft Office\Office16\ (rarely used due to Outlook and Office x64 Plugin incompatibility)
Click-To-Run (C2R)
-» x86 32bit: C:\Program Files (x86)\Microsoft Office 16\ClientX86\Root\Office16\
-» x64 64bit: C:\Program Files\Microsoft Office 16\ClientX64\Root\Office16\

Office 2016
-» x86 32bit: C:\Program Files (x86)\Microsoft Office\Office16\
-» x64 64bit: C:\Program Files\Microsoft Office\Office16\ (rarely used due to Outlook and Office x64 Plugin incompatibility)
Office 2016 Click-To-Run (C2R)
-» x86 32bit: C:\Program Files (x86)\Microsoft Office 16\ClientX86\Root\Office16\
-» x64 64bit: C:\Program Files\Microsoft Office 16\ClientX64\Root\Office16\

Office 2013
-» x86 32bit: C:\Program Files (x86)\Microsoft Office\Office15\
-» x64 64bit: C:\Program Files\Microsoft Office\Office15\ (rarely used due to Outlook and Office x64 Plugin incompatibility)
Office 2013 Click-To-Run (C2R)
-» x86 32bit: C:\Program Files (x86)\Microsoft Office 15\ClientX86\Root\Office15\
-» x64 64bit: C:\Program Files\Microsoft Office 15\ClientX64\Root\Office15\

Office 2010
-» x86 32bit: C:\Program Files (x86)\Microsoft Office\Office14\
-» x64 64bit: C:\Program Files\Microsoft Office\Office14\ (rarely used due to Outlook and Office x64 Plugin incompatibility)
Office 2010 Click-To-Run (C2R)
-» x86 32bit: C:\Program Files (x86)\Microsoft Office 14\ClientX86\Root\Office14\
-» x64 64bit: C:\Program Files\Microsoft Office 14\ClientX64\Root\Office14\

/End.

5. should i delete the one with the grace edition or kms client edition? thank you

I needed to remove the fake non-genuine install from a computer and install a real license and this did the trick.

it was bazaar!

7. anyone got an idea on how to do this with office on macOS?

1. KMs method only work with PC.

8. Hi guys ☺️,
Can anyone help me?

I run the command given by msguides to activate windows 10, after I wanted to unactivate it due to security reasons, I then run the command given by msguides to uninstall ksm activation but after 4-5 day my windows got activated again this thing happens to me 5 times I keep on unactivating my windows it automatically get activated please help me to permanently unactivate my windows. 🙏🙏

You will find method to delete it completely.

1. @KWONG Perhaps think about other elements in OS that are triggering cached re-activation. e.g. Scheduled Tasks not removed, plus services that can be manually Stopped.
What are the exact names of the scheduled tasks created by your script? 🙏😇

2. I’m having the same problem and can’t install a genuine key. Pls help, I’m not sure how this image is supposed to help.

2. I also have the same problem, it always activates again 🙁

1. nah

1. NEED TO REMOVE ALL ACTIVATION-RELATED SCHEDULED TASKS CREATED BY MSGUIDE’S SCRIPT. 🕵️‍♂️

2. NEED TO REMOVE ALL ACTIVATION-RELATED SCHEDULED TASKS CREATED BY MSGUIDE’S SCRIPT. 🕵️‍♂️

1. NEED TO REMOVE ALL ACTIVATION-RELATED SCHEDULED TASKS CREATED BY MSGUIDE’S SCRIPT. 🕵️‍♂️

9. THANKS A LOT GUANG!

10. Dear Guang,
Hi. How are you?
Office 2010. OfficeProPlus-KMS_Client edition. I cannot remove office product key. It says
ERROR CODE: 0xC004F025