If you couldn’t install office try to uninstall manually following the below troubleshooting in the link. Then, check if there is remaining any office installation with the below tool. NOTE: If using Shared Computer Licensing remove the above Identities from HKEYUsers\SID.
In the Registry Editor navigate to HKCU\Software\Microsoft\Office\15.0 or 16.0\Common\Identity\Identities and remove all of the identities under \Identities.
You can now close the Command Prompt and move onto Step 2.ģ- Remove cached identities in HKCU registry:Ī. Wanted to add the uninstall string to SCCM to automate the uninstall process, but Im struggling to find the string that works, or the form of the XML configuration file that works. After running the /unpkey: command line you will see a “Product Key uninstall successful” message. I want to silently uninstall Project or Visio but leave Office 365 intact. Repeat the step above if necessary until all keys are removed. Run C:\program files \Microsoft office\office15>cscript ospp.vbs /unpkey:“Last 5 of installed product key” For example: C:\program files \Microsoft office\office15>cscript ospp.vbs /unpkey:WB222. Make note of value for “Last 5 characters of installed product key”Ĭ. Run C:\program files \Microsoft office\office15>cscript ospp.vbs /dstatus The above command line will generate a report of the currently installed/activated license.ī. Youll use it to create the exact configuration of Office you want, which you can run in the. The tool consists of setup.exe and a sample configuration.xml files. NOTE: Replace Program Files with Program Files (x86) if you are running the 32-bit version of Office 2016 on a 64-bit computer. After downloading, run the office deployment executable and extract its contents to a directory. Type the following command & press Enter: cd/Program Files\Microsoft Office\Office16. Windows 10: Opening the Command Prompt as Administrator. I would suggest to clean office credentials,ġ- Reset your password account online first and check if you can sing in online with the new password.Ģ- Just If are you using an office 365 click to Run Product follow the steps: Remove Office 365 license for Subscription based installs (not Shared Computer Licensing scenarios): To remove the Office 365 license, you must run two cscript command lines. Windows 8: Opening the Command Prompt as Administrator.