In this article, I will tell you how you can remove the license from your Windows and MS Office. As you know, that when you install a new Microsoft product like Windows or Office, you usually get a 30-day trial license. This lets you use all the features for a limited time without buying a full license. But when the trial ends, the license doesn’t uninstall itself. So, even if you activate it with a valid license later, you might still see messages saying “Most features are disabled” or “Windows is not activated.”
Similarly, some users might have used a KMS (Key Management Service) license to activate their Windows or Office before. If they want to switch to a different product key or license now, they have to uninstall the old KMS activation first. Otherwise, the system might not recognize the new license properly because it still has traces of the old one.
To fix these issues, users need to remove the expired trial license or the old KMS activation before applying a new license. This makes sure the system understands the new license correctly and works without any confusion about its activation status.
1. How to Remove Office License
First, let me tell you how you can remove the license of MS Office:
Step 1.1: Run the Command Prompt as the administrator of your system.
Step 1.2: Copy the command available below and determine what is the license key you want to remove.
cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /dstatus
If you encounter an error from the above command, then try using this one:
cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /dstatus
Note: “Office16” is the codename for Office 2016. Therefore, if you are using Office 2010 or 2013, replace “Office16” with “Office14” or “Office15”.

Step 1.3: Next, to remove the license copy the command below and run it.
Note: In the below given code replace the VMFTK with the last 5 characters of your product key.
cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:VMFTK
If you encounter an error from the above command, then try using this one:
cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /unpkey:VMFTK

You are Done!
2. How to Remove Windows License
After knowing how you can remove Office license let me tell you how you can remove Windows license as well.
Step 2.1: Run the Command Prompt as the administrator of your system.
Step 2.2: Run the below given command:
cscript slmgr.vbs /upk&cscript slmgr.vbs /cpky
That is all for Windows license removal.

Conclusion
In this article, you have learned the way to remove the license from your MS Office and Windows. The procedure is very simple and straightforward and you with very perform it. The whole instructions for the procedure along with proper images are available. After putting such an effort into creating this article I don’t think that you will have any questions or confusion. But, if you have any questions or concerns, feel free to leave a comment. I’m here to help and provide more details if needed. Thanks a lot for all your feedback and support!