Ospp.vbs [upd] | Download

To run the script safely, you must execute it via the Windows Command Prompt as an administrator using the Windows scripting host tool ( cscript.exe ). Step 1: Open Command Prompt as Administrator

C:\Program Files\Microsoft Office\Office15\

C:\Program Files (x86)\Microsoft Office\Office15 2. How to Run the Script download ospp.vbs

For organizations using a Key Management Service (KMS) for activation, you can set the KMS hostname and port: cscript ospp.vbs /setprt:<Port_Number>

If you need to remove an old or conflicting license key, use /unpkey followed by the last 5 characters of the product key (which you can find using the /dstatus command): cscript ospp.vbs /unpkey:ABCDE Use code with caution. Security Warning: Avoid Piracy and KMS Activators To run the script safely, you must execute

Stay safe, and manage your Office licenses the right way.

Select or Online Repair , then follow the prompts. Security Warning: Avoid Piracy and KMS Activators Stay

Replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your 25‑character product key:

Open the Windows Settings app, go to Apps > Installed Apps , locate your Microsoft Office suite, click the three dots, select Modify , and choose Online Repair . This will scan your installation and replace any missing system files, including ospp.vbs .

Shows if your Office is activated and the last 5 characters of the product key. cscript ospp.vbs /dstatus