Changing the Product Key on Office 2013

Changing the Product Key on Office 2013

Recently, after setting up a number of new machines with Office 2013, I discovered one had the wrong product key and needed to be changed. The easiest and quickest way I found to change it was from the command line.

Open up a Command Prompt (Press the Windows Button and type CMD or navigate to All Programs -> Accessories -> Command Prompt).  Then you just need to use the command below that matches your OS.

 

For 32 bit Windows:

cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /inpkey:yourproductkeyhere

For 64 bit Windows (assuming you are using 32 bit Office):

cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /inpkey:yourproductkeyhere

Obviously, you need to replace yourproductkeyhere with your actual Office product key.

 

Note:  If you are installing a 64 bit version of Office on 64 bit Windows, the command for 32 bit Windows should be used (or just delete the (x86) part since it won’t be installing to the C:\Program Files (x86)\ directory).