Download Ospp.vbs Portable Page
Replace or add a new 25-character volume license key. cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX Use code with caution.
Office16 is used for Office 2016, 2019, 2021, and Microsoft 365 Apps for enterprise (volume channel). For older versions, look for Office14 (2010) or Office15 (2013).
Open an elevated Command Prompt and change directory to the folder containing ospp.vbs, then run commands with cscript:
script is a command-line utility used to manage, configure, and troubleshoot the activation of volume-licensed versions of Office (such as Office 2016, 2019, or LTSC). Microsoft Learn Where to Find It download ospp.vbs
Use the cd (change directory) command followed by the path to your Office folder. For example, for a standard 64-bit installation of modern Office, type: cd "C:\Program Files\Microsoft Office\Office16" Use code with caution. Press . Step 3: Run the Commands The general syntax to run the script is: cscript ospp.vbs [command] Use code with caution.
If you find a site offering a standalone download of ospp.vbs , be extremely careful. Since it is a VBScript , it can easily be modified to include malicious code. If the file is truly missing from your installation, the safest "story" is to repair or reinstall Office rather than downloading a replacement from the web.
This article provides a complete guide on what ospp.vbs is, where to find it (as you do not need to download it separately), and how to use it to activate or manage your Office licenses. What is OSPP.VBS? Replace or add a new 25-character volume license key
How to Download & Use ospp.vbs (Office Software Protection Platform Script)
C:\Program Files (x86)\Microsoft Office\Office14\ How to Safely Restore ospp.vbs if it is Missing
When troubleshooting activation conflicts—such as when an old trial key blocks a newly purchased volume license—use these standard command switches: For older versions, look for Office14 (2010) or
A critical update: . Instead, Microsoft provides a PowerShell diagnostic script called vnextdiag.ps1 for checking license and activation status.
Tip: If you can’t find it, search the Office folder for OSPP.VBS.
Press the , type cmd , right-click Command Prompt , and select Run as administrator . 2. Navigate to the Office Directory
This comprehensive guide covers everything you need to know about accessing, using, and troubleshooting ospp.vbs .