ospp.vbs参数说明

Global options for ospp.vbs

参数说明
/inpkey:valueInstalls a product key (replaces existing key) with user-provided product key. Value option is required.
/unpkey:valueUninstalls an installed product key with the last five digits of the product key to uninstall (as displayed by the /dstatus option). Value parameter is required.
/inslic:valueInstalls a license with user-provided path of the .xrm-ms license. Value parameter is required.
/dstatusDisplays license information for installed product keys.
/dstatusallDisplays license information for all installed licenses.
/dhistoryacterrDisplays the failure history for MAK/Retail activation.
/dinstidDisplays Installation ID for offline activation.
/actcid:valueActivates product with user-provided Confirmation ID. Value parameter is required.
/rearmResets the licensing status for all installed Office 2013 product keys.
/rearm:valueResets the licensing status for an Office 2013 license with a user-provided SKUID value. Value parameter is required.Use this option with the SKUID value specified by using the /dstatus option if you have run out of rearms and have activated Office through KMS or AD-based activation to gain an additional rearm.
/ddescr:valueDisplays the description for a user-provided error code. Value parameter is required.

KMS client options for ospp.vbs

参数说明
/dhistorykmsDisplays KMS client activation history.
/dcmidDisplays KMS client machine ID (CMID).
/sethst:valueSets a KMS host name with a user-provided host name. Value parameter is required.This sets HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServiceName (REG_SZ).
/setprt:valueSets a KMS port with a user-provided port number. Value parameter is required.This sets HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServicePort (REG_SZ).
/remhstRemoves KMS host name (sets port to default).
/cachst:valueAllows or denies KMS host caching. Value parameter is required (TRUE or FALSE).
/actype:value(Windows 8 and newer versions only) Sets volume activation type. Value parameter is required.Values: 1 (for Active Directory-Based), 2 (for KMS). 0 (for both).
/skms-domain:value(Windows 8 and newer versions only) Sets the specific DNS domain in which all KMS SRV records can be found. This setting has no effect if the specific single KMS host is set by the /sethst option. Value parameter is the Fully Qualified Domain Name (FQDN) and is required.
/ckms-domain(Windows 8 and newer versions only) Clears the specific DNS domain in which all KMS SRV records can be found. The specific KMS host is used if it is set by the /sethst option. Otherwise, auto-discovery of the KMS host is used.
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值