WINVER – Display Licence Activation status
SLUI – Software Licensing (Windows Activation) SLUI.exe 3 ĬERTREQ – Request certificate from a certification authority “One resolution I have made, and try always to keep, is this: To rise above little things” ~ John Burroughs between Vista and Windows 7Ĭ:> cscript C:windowssystem32slmgr.vbs wkstn64 administrator pa55w0rd1 -dliĬ:> cscript slmgr.vbs -skms 192.168.10.1:8090Ĭ:> cscript slmgr.vbs -skms KMSServer:8090 Slmgr.vbs script is not intended to work across platforms i.e. Key without a PIN prompt when using certificates that are protected by hardwareĪll actions (other than displaying status) require elevated administrator privileges. The optional personal identification number (PIN) is provided to unlock the private ltc List valid token-based activation certificates that can activate installed software.įorce token-based activation using the identified certificate. ctao Clear the Token-based Activation Only flag (default), enabling automatic KMS activation. stao Set the Token-based Activation Only flag, disabling automatic KMS activation. Remove an installed token-based activation issuance license. lil List the installed token-based activation issuance licenses.
xpr Show the expiry date of current license (if not permanently activated)
upk Uninstall current installed product key and return license status back to trial state. cdns Disable DNS publishing by the KMS host. sdns Enable DNS publishing by the KMS host (default). Sets the port on which the KMS host listens for client activation requests. Note that this could lead to KMS starvation, depending on what other applications Use this option to minimize contention from KMS in a co-hosted environment. spri Set the KMS priority to normal (default). This option is set initially on both the KMS server and client sides. The renewal interval must be between 15 minutes and 30 days. Sets the renewal interval in minutes for activated clients to attempt KMS connection. Setting after the first KMS response has been received. The KMS client initially picks up this interval from the registry but switches to the KMS The activation interval must be between 15 minutes and 30 days, although the default (2 hours) Sets the interval in minutes for unactivated clients to attempt KMS connection. This setting instructs the client to use DNS auto-discoveryĮach time it attempts KMS activation (recommended when using priority and weight) If the system can no longer contact the working KMS host, discovery will be attempted again. Weight after the initial discovery of a working KMS host. skhc Enable KMS host caching (default), this blocks the use of DNS priority and (where supported by your Windows edition) Set the Volume Licensing KMS server and/or the port used for KMS activation rearm Reset the evaluation period/licensing status and activation state of the machine ipk Key Enter a new product key supplied as xxxxx-xxxxx-xxxxx-xxxxx-xxxxx dti Display Installation ID for offline activation dlv Verbose, similar to -dli but with more information. dli Display the current license information with activation cpky Clear product key from the registry (prevents disclosure attacks) ckms Clear the name of KMS server used to default and port to default. atp Confirmation_ID Activate Windows with user-provided Confirmation ID ato Activate Windows license and product key against Microsoft's server.
Password The password for the user account on the remote computer. Username An administrator equivalent user account for the remote computer. Machinename The machine to administer, by default the current local machine. Windows Activation and Key Management Service (KMS) Syntax Slmgr – Software Licensing Management Tool | Windows CMD | Įxternal articles: slmgr.vbs (Windows7/2008)
View Licensing Status and Activation ID of your Windows OS with slmgr.vbs