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 (9 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 *


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

  1. Simon Hajdu Lindhardt

    Hi Guang.
    I just bought Office 365 but i have some old license of versions Office 2019 Prof + Office 2016 Pro + and both of this version ask me to activate even though my Office 365 is working fine. How is it possible to remove the two unactivated version and just keep my Office 365.
    I really do hope for your help.
    Best regards
    Simon

    Reply
      1. Simon Hajdu Lindhardt

        Thanks. But I have already tried that. The only version of Office that is installed are Office 365. All other versions are uninstalled and the PC restarted. But the unactivated license reminders keeps coming up when I start my office 365 version.

        Reply
        1. kWong

          You bought Office 365, than meant you can reinstall it.

          Google: Office fix tool

          uninstall MS Office 2016 PRO and MS Office 2019 Pro

          restart PC

          Reply
          1. Simon Hajdu Lindhardt

            Thank you for the input. I have now used the Office fix tool and uninstalled all versions of Office on my pc. After that I restarted the pc and made a new installation of Office 365. And righy from the beginning after this installation it asked my for registration of both the 2016 and 2019 Pro plus even though med Office 365 is fully functioning

        2. kWong

          Google: Uninstall Office from a PC – Office Support

          bottom of the page Uninstall Office manually

          Click in : Manually uninstall Office

          Follow the method, uninstall all Office from PC

          Restart PC

          Try again.

          Remember Office 365, when install will automatic upgrade to Office 2019 (Windows 10), or Office 2016 (Windows 8.1-Windows 7). If you use Office 365 batch file to activate, It will become Office 365 base Office 2016 or Office 2019. If you use Windows 10, will still get upgrade to future Office Program and new feature update. But if you use Office 2016 or Office 2019 batch file to activate, It will become Office 2016 or Office 2019, cannot update to new Office version and no more new feature update.

          Reply
  2. Dewayne

    How can I remove KMS if the last 5 of the installed product key is not presented?

    Basically, my MAK and an KMS is showing as installed. Internet connection is 100% not possible and I cannot get office to prompt for activation. Well, it actually eventually prompts for “telephone” activation. Because of my environment I must perform telephone activation, thus I do not want a grace period. I want my MAK to immediately prompt for telephone activation. Thanks in advance!

    Reply
  3. Gabriella

    I can’t uninstall the office license key, it says that the action requires administrator’s privelege.
    I tried both codes and it still won’t work. Is there any other solution? thanks

    Reply
    1. kWong

      all the method show in the post here must use admin Id run online.

      Use the admin Id install windows or create a admin id without modify setting right to run the batch online.

      Reply
    2. Anonymous

      The administrator’s privilege is requiered for an installation / unistallation of any software.
      It’s normal. Contact your administrator.

      Reply
  4. Paul

    Thank you for this
    am hour of removing folders registry entries and no joy
    2 minutes of CMD commands and oh look i’m licensed!

    Reply
  5. Rob

    hello and thank you for making MSO Professional Plus 2016 available!!

    I used your “activate Microsoft Office 2016 All Versions for Free .bat file run with elevated privileges. Reports activation is successful.

    however I’m confused when i look at account settings it says this needs to be activated however when i click on show additional Licensing information it shows its activated? which do i believe? Thank you for your time and attention.

    Reply
  6. Melanie

    hi, Guang

    I had been searching for the free activation code for office 2016 professional plus for a while and i think you are one of the expert in this area. Could you help me with the office 2016 activation online. i tried couple times but it keep showing as following:

    The connection to my KMS server failed! Trying to connect to another one… Please wait…

    ============================================================================
    Sorry! Your version is not supported. Please try installing the latest version here: bit.ly/downloadmsp
    i tried to open that like but no valuable information is there.

    Could you direct me what to do next please. Thank you in advance!

    regards
    melanie

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