Uninstall Microsoft product trial license or KMS license completely

Posted by in Computer Tips | Last updated on

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.

Steps to remove your Office license

Step 1: Open command prompt as administrator.

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”.

Determine license you want to remove
Determine license you want to remove

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
Office product key is uninstalled successfully
Office product key is uninstalled successfully

Done!

Steps to remove your Windows license

Step 1: Open command prompt with admin rights.

Step 2: Execute this command.

cscript slmgr.vbs /upk&cscript slmgr.vbs /cpky
Windows product key is removed successfully
Windows product key is removed successfully

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!


For faster support, please visit here for troubleshooting.
Need more help? Please email me at msguides.com@gmail.com

Leave a Reply

Your email address will not be published. Required fields are marked *


67 thoughts on “Uninstall Microsoft product trial license or KMS license completely

  1. Ayush Aggarwal

    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. 🙏🙏

    Reply
  2. Rivon

    Dear Guang,
    Hi. How are you?
    Office 2010. OfficeProPlus-KMS_Client edition. I cannot remove office product key. It says
    ERROR CODE: 0xC004F025
    ERROR DESCRIPTION: The Software Licensing Service reported that the action requires administrator privilege. Please help me to solve this issue.
    Thanks,
    Rivon

    Reply
  3. Jaqi

    O*G!!!! This was great, thank you, BUT you should NOT have the last one about removing the WINDOWS KEY so close to the other tutorial!!!!!! I RAN THE COMMAND THINKING IT WAS STILL PART OF THE SAME OFFICE KEY REMOVAL GUIDE. Thank goodness it said: input error cannot find ….script.

    Thank you for the first portion, though. Worked like a charm.

    Reply