- Blukap
How to remove Old MS Office license from MS Office
Updated: Feb 19, 2020

check it first
1.Open Command Prompt with Run as administrator

for 32bit office and 64bit office path is diffrent so plz try both one of them will work
2.Type this path for 32bit ms office Only then Press Enter key :
cd C:\Program Files (x86)\Microsoft Office\Office16
or
Type this path for 64bit ms office Only then Press Enter Key :
cd C:\Program Files\Microsoft Office\Office16

3. Type this then Enter again : cscript.exe ospp.vbs /dstatus


4. Now can see the last 5 digit of the product key of your office installed.
Now remove the license with this command then ad your last 5 digit product key then enter
the script above.

Type and Enter : cscript.exe ospp.vbs /unpkey:XTMGD

5. After this enter you will see msg product key uninstall successful
Now type this exit then enter
6. Now you restart your computer then open any office apps and sign in or enter your new product key.