Every slmgr (Software Licensing Manager) command explained with syntax, purpose, and examples. The definitive quick-reference for Windows KMS activation via command line.
| Command | Purpose | Requires Admin |
|---|---|---|
| slmgr /ato | Trigger activation against KMS server | Yes |
| slmgr /xpr | Show activation expiry date | No |
| slmgr /dli | Display license info (summary) | No |
| slmgr /dlv | Display verbose license info | No |
| slmgr /ipk KEY | Install product/GVLK key | Yes |
| slmgr /skms HOST | Set KMS server address | Yes |
| slmgr /ckms | Clear KMS server (reset to default) | Yes |
| slmgr /rearm | Reset activation timer (clean slate) | Yes |
| slmgr /upk | Uninstall current product key | Yes |
| slmgr /cpky | Clear product key from registry | Yes |
The complete set of commands to activate Windows via KMS from scratch:
> slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX :: install GVLK (adjust per edition) > slmgr /skms kms.windowskms.com :: set KMS host > slmgr /ato :: activate > slmgr /xpr :: verify expiry date
> slmgr /dli > slmgr /xpr
> slmgr /rearm > slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX > slmgr /skms kms.windowskms.com > slmgr /ato
slmgr.vbs (Software Licensing Management tool) is the built-in Windows utility for managing activation from the command line. Every KMS activator, including KMSPico, ultimately drives the same commands — knowing them lets you activate, check, or troubleshoot manually. Run them from an elevated Command Prompt (right-click → Run as administrator).
slmgr /ipk <key> — install a product key (e.g. an edition GVLK)slmgr /skms <host> — set the KMS host (use 127.0.0.1 for a local host)slmgr /ato — activate Windows nowslmgr /xpr — show the activation expiry / statusslmgr /dlv — detailed licence informationslmgr /upk — uninstall the current product keyslmgr /rearm — reset the licensing statusA typical manual activation is /ipk → /skms → /ato → /xpr. For Office, the equivalent script is ospp.vbs. If a command returns an error code, our activation-error index has a fix for each one, and you can confirm status any time via checking activation status.
Download the verified release and start activating Windows or Office in seconds.
Archive password: 123456
Download KMSPico RAR