User Tools

Specify the KMS Host for Office 2010

From the command prompt:

Browse to the Office14 directory

cscript OSPP.VBS /sethst:<FQDN>
cscript OSPP.VBS /act

Office 2010 Client Software License Management Tool

<strong><br />Usage</strong>
cscript ospp.vbs /Option:Value ComputerName User Password
ComputerName: Name of remote computer. If a computer name is not passed local computer is used.
User: Account with required privilege on remote computer.
Password: Password for the account. If a User account and password are not passed current credentials are used.
Value: Required for outlined options.
Global /Options ^Description
/act Activate installed Office 2010 product keys.
/inpkey:value Install a product key (replaces existing key) with user-provided product key.<strong> Value</strong> parameter applies.
/unpkey:value Uninstall an installed product key with user-provided partial product key (as displayed by the /dstatus option).Value parameter applies.
/inslic:value Install a license with user-provided path to the .xrm-ms license.<strong> Value</strong> parameter applies.
/dstatus Display license information for installed product keys.
/dstatusall Display license information for installed licenses.
/dhistoryacterr Display MAK/Retail activation failure history.
/dinstid Display installation ID for offline activation.
/actcid:value Activate product with user-provided confirmation ID.<strong> Value</strong> parameter applies.
/puserops Permit administrator-privileged license operations including internet/telephone activation by standard users.
/duserops Deny administrator-privileged license operations including internet/telephone activation by standard users.
/ddescr:value Display the description for a user-provided error code.Value parameter applies.
KMS client /Options ^Description
/dhistorykms Display KMS client activation history.
/dcmid Display KMS client machine ID (CMID).
/sethst:value Set a KMS host name with user-provided host name.Value parameter applies.
/setprt:value Set a KMS port with user-provided port number.Value parameter applies.
/remhst Remove KMS host name (sets port to default).
OSPPSVC /Options ^Description
/osppsvcrestart Restart Office Software Protection Platform service.
/osppsvcauto Set Office Software Protection Platform service startup type to automatic.
Token /Options ^Description
/dtokils Display installed token-based activation issuance licenses.
/rtokil:value Uninstall an installed token-based activation issuance license with user-provided license id (as displayed by the /dtokils option).Value parameter applies.
/stokflag Set token-based activation only flag.
/ctokflag Clear token-based activation only flag.
/dtokcerts Display token-based activation certificates.
/tokact:value1:value2 Token activate with a user-provided thumbprint (as displayed by the /dtokcerts option) and a user-provided PIN (optional).Value parameter applies.

Prior to running ospp.vbs ensure that:

Windows firewall allows WMI traffic on remote computer.

You have or pass credentials with required permissions on remote computer.

Cmd.exe is elevated (right click &gt; Run as administrator).

Sample Usage

cscript ospp.vbs /act 'Activate Office 2010 on local computer.

cscript ospp.vbs /act mypc1 'Activate Office 2010 on remote computer mypc1 with current credentials.

cscript ospp.vbs /inpkey:MFKXT-F6DT2-THMRV-KDWH2-TCDTC 'Install Office 2010 product key on local computer.

cscript ospp.vbs /inslic:\\myserver\licenses\tail.xrm-ms 'Install license on local computer.

cscript ospp.vbs /inslic:“\\myserver\work licenses\office 2010 tail.xrm-ms” mypc1 'Install license on remote computer mypc1. Note the path is enclosed in “” since the value contains spaces.

cscript ospp.vbs /ddescr:0xC004F009 'Display the description for error code.

/Token only

cscript ospp.vbs /rtokil:4476b20e 'Uninstall an issuance license with license ID.

cscript ospp.vbs /tokact:96DE6755ABE0BC7D398E96C3AA3C7BFE8B565248 'Token activate with thumbprint.

cscript ospp.vbs /tokact:56AE6755AAB0BC7D398E96C3AA3C7BFE8B565256:54344 'Token activate with thumbprint & PIN.

– Main.FredPettis - 2012-03-14

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information