[updated] Download Ospp.vbs Jun 2026
The script is located in the Office installation directory, usually in a subfolder named root\Office16 (even for Office 2019/2021, the versioning often remains Office16).
This guide is based on Microsoft's official documentation and best practices as of March 2026.
The example above is for Office Professional Plus 2019/2016. . download ospp.vbs
Once inside the correct folder, you can run the following essential administrative commands: Check Current License Status
Using ospp.vbs requires basic knowledge of command-line interfaces. Here are some common commands and their usage: The script is located in the Office installation
The most common misconception and the source of significant risk is the idea of "downloading ospp.vbs ." The truth is that
Navigate to your Office folder using the cd command. For example: cd "C:\Program Files\Microsoft Office\Office16" Use code with caution. Execute your desired command using cscript ospp.vbs . Common ospp.vbs Commands . Once inside the correct folder
To remove a product key—for example, before transferring a license to another machine—use the option with the last five characters of the key you wish to remove: cscript ospp.vbs /unpkey:XXXXX
cscript ospp.vbs /dstatus (displays current license info).
with Microsoft 365 Apps or subscription-based versions of Office products. How to Find OSPP.VBS on Your PC