Completely uninstall the Microsoft Product Evaluation License or KMS license
As you know, the new installation of the Microsoft product usually includes a 30-day free trial license. However, the problem here is that the trial license is not uninstalled automatically when it expires. 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. Also, some of you who have already used a KMS license to activate your Windows or Office and now you just want to delete it in order to use another product key. This is similar to the problem I just mentioned. And to resolve these issues, please follow these steps.
Steps to remove your Office license
Step 1: Open the command prompt as an administrator.
Step 2: Copy/run this command to determine which 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
Remark: "Office16" is the code name for Office 2016. If you are using Office 2010/2013, replace "Office16" with "Office14" or "Office15".
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
Fact!
Steps to remove your Windows license
Step 1: Open the command prompt with administrator rights.
Step 2: Run this command.
cscript slmgr.vbs /upk&cscript slmgr.vbs /cpky
Fact! The license you want to remove is uninstalled successfully.