To see the Help file, type the following command, and then press ENTER: cscript ospp.vbs /? Running ospp.vbs requires the cscript.exe script engine. For more information, see Check the license and activation status for Microsoft 365 Apps. Instead, you can use a PowerShell script named vnextdiag.ps1. The ospp.vbs script doesn't work for Microsoft 365 Apps or subscription versions of Project and Visio. If you installed the 32-bit version of Office on a 64-bit operating system, go to the Program Files (x86)\Microsoft Office\Office16 folder. The ospp.vbs script is located in the Program Files\Microsoft Office\Office16 folder. The Office Software Protection Platform script (ospp.vbs) enables you to configure volume licensed versions of Office products, including Project and Visio. Activate volume licensed versions of Office by using Active Directory.Activate volume licensed versions of Office by using MAK.Overview of volume activation of Office.Before you read this article, we recommend that you read the following articles: The Office Software Protection Platform script (ospp.vbs), the Software License Manager script (slmgr.vbs), and the Volume Activation Management Tool (VAMT) can help you configure and test volume licensed versions of Office, including Project and Visio.
Applies to: Volume licensed versions of Office LTSC 2021, Office 2019, and Office 2016 (including Project and Visio)