zoukankan      html  css  js  c++  java
  • ospp.vbs-命令详解

    Global options for ospp.vbs

    参数说明
    /inpkey:value Installs a product key (replaces existing key) with user-provided product key. Value option is required.
    /unpkey:value Uninstalls 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:value Installs a license with user-provided path of the .xrm-ms license. Value parameter is required.
    /dstatus Displays license information for installed product keys.
    /dstatusall Displays license information for all installed licenses.
    /dhistoryacterr Displays the failure history for MAK/Retail activation.
    /dinstid Displays Installation ID for offline activation.
    /actcid:value Activates product with user-provided Confirmation ID. Value parameter is required.
    /rearm Resets the licensing status for all installed Office 2013 product keys.
    /rearm:value Resets 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:value Displays the description for a user-provided error code. Value parameter is required.

    KMS client options for ospp.vbs

    参数说明
    /dhistorykms Displays KMS client activation history.
    /dcmid Displays KMS client machine ID (CMID).
    /sethst:value Sets a KMS host name with a user-provided host name. Value parameter is required.This sets HKLMSoftwareMicrosoftOfficeSoftwareProtectionPlatformKeyManagementServiceName (REG_SZ).
    /setprt:value Sets a KMS port with a user-provided port number. Value parameter is required.This sets HKLMSoftwareMicrosoftOfficeSoftwareProtectionPlatformKeyManagementServicePort (REG_SZ).
    /remhst Removes KMS host name (sets port to default).
    /cachst:value Allows 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.
     
    example:
    office2016VOL  cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
     
     
  • 相关阅读:
    创建或者连接管道+++检查管道空间是否够写入本消息++++删除管道
    从instr中截取第一个delimiter之前的内容放到outstr中,返回第一个delimiter之后的位置
    把数字按网络顺序或主机顺序存放到字符串中++++把字符串按网络顺序转换成数字++++把字符串按主机顺序转换成数字
    压缩空格的函数以及BCD码与ASCII相互转换函数
    判断文件是否存在
    把指定长度字符串转换成数字
    找到特定串在源字符串中的位置
    FTP命令详解
    docker 学习路线
    云原生技术的了解
  • 原文地址:https://www.cnblogs.com/cnwy/p/12296129.html
Copyright © 2011-2022 走看看