cscript ospp.vbs /act Microsoft (R) Windows Script Host Version … Processing…
– it indicates Office 2013 (Office 16 is 2016, Office 14 is 2010).
D: cd D:\Program Files\Microsoft Office\Office15 Type dir and press Enter. Look for ospp.vbs in the list. If you see it, proceed. Step 4: Install Your Product Key Now you will use the ospp.vbs script to install your product key. The syntax is:
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX Replace the X s with your actual 25-character product key.
REM Step 4: (For KMS Volume only) Set KMS Server cscript ospp.vbs /sethst:kms.yourserver.com
While most users rely on the graphical activation wizard, advanced users prefer the method. Why? Because it is faster, does not require an internet connection (for volume licenses), and bypasses GUI glitches.