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.
To round out slmgr Commands - Complete Windows Activation Reference, it is worth setting it against how activation works more broadly, because the same handful of principles explain why the method is dependable and what to expect from it in practice.
The manual route is worth understanding even if you use a tool, because it shows exactly what happens: a key is installed, a host is contacted, activation is requested, and the status is verified.
Reading the licensing output yourself makes future troubleshooting far easier, since you can see which channel and key the machine is using rather than guessing.
Each command in the sequence has a clear job, from installing the key to triggering activation to confirming the result, which demystifies a process that can otherwise feel opaque.
Doing it step by step also makes it obvious where things go wrong, which is almost always either a missing elevation or a key that does not match the installed edition.
Once you have run the manual steps once, repeating them on another machine is quick, and the knowledge transfers directly to diagnosing activation on any Windows system.
Activation and Windows Update are independent of one another, so activating never blocks updates and a normal update never removes an activation that is renewing against a reachable host.
A quick slmgr /xpr confirms whether the machine is licensed and when the current period renews, while slmgr /dlv shows the fuller channel and key detail when you need it.
Volume activation was designed by Microsoft for organisations that need to activate many machines without handling a separate key for each one, and that same mechanism is what makes this method dependable on a single PC.
The generic key involved does not carry an entitlement by itself; its only job is to tell Windows to reach a Key Management Service host, which performs the real activation once the client checks in.
Each activation grants a renewing period rather than a one-off stamp, so as long as the host stays reachable the licence refreshes itself automatically well before it would lapse.
Because the process only writes licensing state and never patches system files, it is fully reversible with a single command and leaves the rest of the installation untouched.
Running the activation step from an elevated context is essential, since the licensing service writes to a protected area and silently fails when it is called without administrator rights.
Matching the key to the exact edition is the detail that prevents most failures, as Windows treats Home, Pro, Education and Enterprise as separate products with separate keys.
Download the verified release and start activating Windows or Office in seconds.
Archive password: 123456
Download KMSPico RAR