Problem activating office, possibly multiples keys or activation account used.


1-    Need to open cmd as admin.

2-    cd <office installation folder> C:\Program Files (x86)\Microsoft Office\Office16

3-    cscript ospp.vbs /dstatus

4-    cscript ospp.vbs /unpkey:<last five characters of product key>

5-    cscript ospp.vbs /dstatus <to verifiy if other key where installed, if so remove them as well>


-------------------------------------------------------------------

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.

1

cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /dstatus


If you see an error, try this command.


1

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.


1

cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:VMFTK


If you see an error, try this command.


1

cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /unpkey:VMFTK


remove the current license using "unpkey" command

Done!