![]() The default port is 1688.Īllows or denies KMS host caching. Removes KMS host name and sets port to default. This sets HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServicePort (REG_SZ). Sets a KMS port with a user-provided port number. This sets HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServiceName (REG_SZ). Sets a KMS host name with a user-provided host name. KMS client options for ospp.vbs KMS client option The following table describes the ospp.vbs options for configuring the KMS client. Use this option with the SKU ID value specified by using the /dstatus option if you have run out of rearms and have activated Office through KMS or Active Directory-based activation to gain an additional rearm.ĭisplays the description for a user-provided error code. Resets the licensing status for an Office license with a user-provided SKU ID value. Resets the licensing status for all installed Office product keys. Value parameter is required.ĭisplays license information for installed product keys.ĭisplays license information for all installed licenses.ĭisplays the failure history for MAK/retail activation.ĭisplays Installation ID for offline activation.Īctivates product with user-provided Confirmation ID. Installs a license with user-provided path of the. Uninstalls an installed product key with the last five digits of the product key to uninstall (as displayed by the /dstatus option). Installs a product key (replaces existing key) with a user-provided product key. Global options for ospp.vbs Global option You run ospp.vbs script from an elevated command prompt.The user account you will use is a member of the Administrators group on the computer on which you run the script.If you want to run the script on a remote computer, the Windows firewall allows Windows Management Instrumentation (WMI) traffic on the remote computer.If a user account and password aren't provided, the current credentials are used.īefore you run the ospp.vbs, ensure that: User Account that has the required permission on the remote computer. If a computer name isn't provided, the local computer is used. The options and values are listed in the tables in this section.ĬomputerName Name of the remote computer. Option Specifies the option and value to use to activate a product, install or uninstall a product key, install and display license information, set KMS host name and port, and remove KMS host name and port. The general syntax is as follows: cscript ospp.vbs 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)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |