Install Key Management Service (KMS) From Command Line

Discussion in 'Windows 7 Software' started by squirtmph, Jul 15, 2014.

  1. squirtmph

    squirtmph Active Member

    Joined:
    Sep 26, 2012
    Messages:
    89
    Likes Received:
    0
    How to Add volume-licensed version key?
    Office professional plus 2013
    Result:
    C:\>cscript c:\windows\System32\slmgr.vbs /pik YC7DK-####-####-#####-GVGXT
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.

    Unrecognized option: /pik

    Windows Software Licensing Management Tool
    Usage: slmgr.vbs [MachineName [User Password]] [<Option>]
    MachineName: Name of remote machine (default is local machine)
    User: Account with required privilege on remote machine
    Password: password for the previous account

    Global Options:
    /ipk <Product Key>
    Install product key (replaces existing key)
    /ato [Activation ID]
    Activate Windows
    /dli [Activation ID | All]
    Display license information (default: current license)
    /dlv [Activation ID | All]
    Display detailed license information (default: current license)
    /xpr [Activation ID]
    Expiration date for current license state

    Advanced Options:
    /cpky
    Clear product key from the registry (prevents disclosure attacks)
    /ilc <License file>
    Install license
    /rilc
    Re-install system license files
    /rearm
    Reset the licensing status of the machine
    /upk [Activation ID]
    Uninstall product key

    /dti [Activation ID]
    Display Installation ID for offline activation
    /atp <Confirmation ID> [Activation ID]
    Activate product with user-provided Confirmation ID

    Volume Licensing: Key Management Service (KMS) Client Options:
    /skms <Name[:port] | : port> [Activation ID] [Activation ID]
    Set the name and/or the port for the KMS computer this machine will use. IPv
    6 address must be specified in the format [hostname]:port
    /ckms [Activation ID]
    Clear name of KMS computer used (sets the port to the default)
    /skhc
    Enable KMS host caching
    /ckhc
    Disable KMS host caching

    Volume Licensing: Token-based Activation Options:
    /lil
    List installed Token-based Activation Issuance Licenses
    /ril <ILID> <ILvID>
    Remove installed Token-based Activation Issuance License
    /ctao
    Clear Token-based Activation Only flag (default)
    /stao
    Set Token-based Activation Only flag
    /ltc
    List Token-based Activation Certificates
    /fta <Certificate Thumbprint> [<PIN>]
    Force Token-based Activation

    Volume Licensing: Key Management Service (KMS) Options:
    /sprt <Port>
    Set TCP port KMS will use to communicate with clients
    /sai <Activation Interval>
    Set interval (minutes) for unactivated clients to attempt KMS connection. Th
    e activation interval must be between 15 minutes (min) and 30 days (max) althoug
    h the default (2 hours) is recommended.
    /sri <Renewal Interval>
    Set renewal interval (minutes) for activated clients to attempt KMS connecti
    on. The renewal interval must be between 15 minutes (min) and 30 days (max) alth
    ough the default (7 days) is recommended.
    /sdns
    Enable DNS publishing by KMS (default)
    /cdns
    Disable DNS publishing by KMS
    /spri
    Set KMS priority to normal (default)
    /cpri
    Set KMS priority to low


    C:\>



     

Share This Page

Loading...