Uninstall Microsoft product trial license or KMS license completely
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.
1. Steps to remove your Office license
Step 1.1: Open command prompt as administrator.
Step 1.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 1.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!
2. Steps to remove your Windows license
Step 2.1: Open command prompt with admin rights.
Step 2.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!
Hi, I have office home and office pre-installed, and I cracked it with kms key to office 2021 pro plus. Now out of curiosity I uninstalled it by your method to try if ms 365 gets activated next time with kms key, but now my license is switched back to home and student (preinstalled) and when I activate office 2021/365 pro plus, it shows product activated successfully but still stays on home and student and is not getting activated in real. Please tell me solution to reactivate it.
Hi, it worked partially. I had Office 365 but it turned into Office 2016. Is there a way to fix it? Thanks!
Kindly refer below … (error description …. ) TQVM
C:\Windows\System32>cscript “%ProgramFiles%\Microsoft Office\Office16\ospp.vbs” /dstatus
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
ERROR DESCRIPTION: An unknown error occurred. (0x1A8)
—————————————
—Exiting—————————–
Very helpful ! thank you very much
It worked! TKS.
Many thanls for your help
I hope you all the best
These steps have been really helpful. Thank you so much.
Hi, Thank ypu SO MUCH for all your efforts doing what you are doing!!!
My Office LTSC Professional Plus keeps on reactivating even after uninstalling the product key. No Idea why.
check your schedule tasks, most activators make one to reactivate it on startup.
it worked for a moment then everything changed back to old version. Any fixes? Currently using Windows 11
John Doe, you must have used the free trial version.
Expert advice from user friendly instructor
Love the advice
This was great. Thank you so much. I hated that message.
It keeps on activating again, even if a remove the product key.
Any solutions?
WOOOW GREAT WORKING WITH ME.
It worked great !
Thank you a lot <3
Thanks a ton!! tried all other methods on google for the past 2 weeks, only this worked.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
CMD Logs
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Microsoft Windows [Version 10.0.22449.1000]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cscript “%ProgramFiles%\Microsoft Office\Office16\ospp.vbs” /dstatus
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
—————————————
—————————————
—Exiting—————————–
C:\WINDOWS\system32>cd /d %ProgramFiles%\Microsoft Office\Office16
C:\Program Files\Microsoft Office\Office16>for /f %x in (‘dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms’) do cscript ospp.vbs /inslic:”..\root\Licenses16\%x”
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:”..\root\Licenses16\ProPlusVL_KMS_Client-ppd.xrm-ms”
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
Installing Office license: ..\root\licenses16\proplusvl_kms_client-ppd.xrm-ms
Office license installed successfully.
—————————————
—Exiting—————————–
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:”..\root\Licenses16\ProPlusVL_KMS_Client-ul-oob.xrm-ms”
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
Installing Office license: ..\root\licenses16\proplusvl_kms_client-ul-oob.xrm-ms
Office license installed successfully.
—————————————
—Exiting—————————–
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:”..\root\Licenses16\ProPlusVL_KMS_Client-ul.xrm-ms”
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
Installing Office license: ..\root\licenses16\proplusvl_kms_client-ul.xrm-ms
Office license installed successfully.
—————————————
—Exiting—————————–
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
—————————————
—Exiting—————————–
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /unpkey:BTDRB >nul
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /unpkey:KHGM9 >nul
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /unpkey:CPQVG >nul
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /sethst:s8.now.im
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
Successfully applied setting.
—————————————
—Exiting—————————–
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /setprt:1688
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
Successfully applied setting.
—————————————
—Exiting—————————–
C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
—Processing————————–
—————————————
Installed product key detected – attempting to activate the following product:
SKU ID: d450596f-894d-49e0-966a-fd39ed4c4c64
LICENSE NAME: Office 16, Office16ProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 16, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: WFG99
ERROR CODE: 0xC004E015
ERROR DESCRIPTION: The Software Licensing Service reported that license consumption failed.
—————————————
—————————————
—Exiting—————————–
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
How do I fix this 0xC00E015 error? The KMS Client activation was working for me multiple times before but now all of a sudden, it keeps popping out this error everytime I try and run the “cscript ospp.vbs /act” command.
press CTRL + R –> services.msc –> Software protection service –> start the service
After uninstalling the key, after few days it automatically install it, how to prevent this???
Windows or office?
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!
Thank you so much Mr. Guang, among so many suggestions in google your information is correct and help me to uninstall licence
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.
HEY MATE!
PLEASE UPDATE YOUR INSTRUCTIONS FOR OFFICE 365 & 2019!
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! 🖖🤘👍😊😎😇🤩
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.
should i delete the one with the grace edition or kms client edition? thank you
Thank you very much for this article!
I needed to remove the fake non-genuine install from a computer and install a real license and this did the trick.
The genuine install kept asking for a the non-genuine license activation!
it was bazaar!
After removing the unlicensed copy per your instructions, all worked well!
anyone got an idea on how to do this with office on macOS?
KMs method only work with PC.
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. 🙏🙏
Google : i.redd.it/835zd2zs6bd51.png
You will find method to delete it completely.
@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? 🙏😇
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.
Hello kwong I used the kms script to activate my windows 10, now my microsoft store keeps bringing an error any time i try opening it. I think it has to do with the kms script. I can’t start from a fresh disc now because I don’t have the money to get one now. I’d like you to tell me what activation scheduled tasks to remove and how to remove them because i really need to get some apps from the store. Thanks
I also have the same problem, it always activates again 🙁
got any solution?
nah
NEED TO REMOVE ALL ACTIVATION-RELATED SCHEDULED TASKS CREATED BY MSGUIDE’S SCRIPT. 🕵️♂️
ASK @KWONG WHICH TASKS NEED TO BE REMOVED! 🤐
NEED TO REMOVE ALL ACTIVATION-RELATED SCHEDULED TASKS CREATED BY MSGUIDE’S SCRIPT. 🕵️♂️
ASK @KWONG WHICH TASKS NEED TO BE REMOVED! 🤐
NEED TO REMOVE ALL ACTIVATION-RELATED SCHEDULED TASKS CREATED BY MSGUIDE’S SCRIPT. 🕵️♂️
ASK @KWONG WHICH TASKS NEED TO BE REMOVED! 🤐
Hello Stevo, would you happen to know which tasks need to be removed?
THANKS A LOT GUANG!
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
You have to run CMD as administrator, on an administator account
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.
gcghnv h