TechShizz | Microsoft Office Licence Activation from the Command Line

Microsoft Office Licence Activation from the Command Line

Open a Command Prompt window, and then take one of the following actions

• If you installed the 64-bit version of Office 2013, move to the following folder: C:\Program Files\Microsoft Office\Office15 

• If you installed the 32-bit version of Office 2013, move to the following folder: C:\Program Files (x86)\Microsoft 
Office\Office15

Display Office Licences
cscript ospp.vbs /dstatus

Remove Office Licences
cscript ospp.vbs /unpkey:<last five characters of product key>

Adds Office Key
cscript ospp.vbs /inpkey:value

Activates an installed Key
cscript ospp.vbs /act

Rearm Office Licence
  1. Open a command prompt with administrative permissions.

  2. Go to %installdir%\%Program Files%\Microsoft Office\Office15. If you installed the 32-bit edition of Office 2013 on a 64-bit operating system, %Program Files% is the Program Files (x86) folder.

  3. At the command prompt, type ospprearm.exe. If the rearm succeeds, the following message displays: “Microsoft Office rearm successful.”



Add comment