Use cscript to activate Office 2010, 2013 & 2016


Software: Office 2010, 2013 & 2016 | Last modified on 2018-06-18


When you're unable to activate Office through additional means, you can use the cscript commands to activate Office with the help of the Command Prompt.

[Solution 1] Activate Office with cscript


  1. Open the Command Prompt (Admin) or PowerShell (Admin).
  2. Execute the command that belongs to your version:

    • Office 2010: cd C:\Program Files (x86)\Microsoft Office\Office14
    • Office 2013: cd C:\Program Files (x86)\Microsoft Office\Office15
    • Office 2016: cd C:\Program Files (x86)\Microsoft Office\Office16

  3. To view the installed product key, execute cscript ospp.vbs /dstatus
  4. To uninstall an installed product key, execute cscript ospp.vbs /unpkey:XXXXX
    Replace the XXXXX with the last five character of the currently installed product key (found in step 3).
  5. To install a new product key, execute cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    Replace the XXXX with your full product key of Office.
  6. To activate Office with the new product key, execute cscript ospp.vbs /act
  7. Restart the Office application and Office will be activated.

You will have to obtain the product key from within your Microsoft Account if you're using a retail version of Office 2013 or 2016.

  1. Go to http://www.office.com/myaccount.
  2. Sign in with your Microsoft Account and select Install from a disc.
  3. Open I want to burn a disc and select View your product key.
  4. Use this product key for the steps above.


Search
Support
Can't find the answer you're looking for? Click here to submit a ticket.