Note: For older versions like Office 2013, the folder will be Common Commands To use the script, open a Command Prompt as Administrator and navigate to the folder above. Common tasks include: Microsoft Learn Check Activation Status: cscript ospp.vbs /dstatus Enter a Product Key: cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX Trigger Online Activation: cscript ospp.vbs /act Remove a Key: cscript ospp.vbs /unpkey:XXXXX (requires the last 5 digits of the key) Important Review Notes Safe Sources:
is included with Office, you can find it in your local installation directory. The exact path depends on your Office version and system architecture: Office 2016 / 2019 / 2021: 64-bit Office: C:\Program Files\Microsoft Office\Office16 32-bit Office (on 64-bit Windows): C:\Program Files (x86)\Microsoft Office\Office16 Office 2013: C:\Program Files (x86)\Microsoft Office\Office15 Office 2010: C:\Program Files (x86)\Microsoft Office\Office14 Common Use Cases and Commands , you must use the cscript.exe download ospp.vbs
If you have Microsoft Office installed, search your C: drive for ospp.vbs . It is already there. It is an excellent tool for IT professionals, but for the average user, it is confusing and unnecessary. Note: For older versions like Office 2013, the