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

list of all license you installed

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

remove the current license using "unpkey" command

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

the license key was removed from disk and registry successfully

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

 

Uninstall Microsoft product trial license or KMS license completely
5 (5 votes)



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 *


One thought on “Uninstall Microsoft product trial license or KMS license completely

  1. Boyet B

    Hi Guang,

    I uninstall my pre-installed Office (365 – it expired) in my computer hoping to get a new Office (2019) that will match KMS version (can’t paste the screen shot here). I even removed its license by following your instructions on “How to Uninstall MS Product Trial License and KMS License”. Then installed the 2019 KMS version and run the batch file (as Admin), but still showing that my “Version is Not Supported”. Did reinstall several times and run the batch file several times, still unsuccessful.

    My question is, how to “totally” removed pre-existing Office files in my computer to have a totally new Office version. I believe that there are some files here that saves activities, like, if trial has been expired and tried to uninstall and reinstall the program, computer still knows that trial has been expired even you just reinstall it. So is there a certain “file” to remove, overwrite or alter to change the version or even the Product Key?

    Your help is always appreciated.

    Keep up the good work and keep on helping people.

    Boyet

    Reply