← Back to Home

slmgr Commands - Complete Windows Activation Reference

Every slmgr (Software Licensing Manager) command explained with syntax, purpose, and examples. The definitive quick-reference for Windows KMS activation via command line.

Verified Download - KMSPico Official
KMSPico_Official_v10.2.0.rar
Archive password: 123456  ·  8.3 MB  ·  v10.2.0
Download KMSPico
Extract with WinRAR using the password above, then run as administrator. Works on Windows 10, 11, Server & Office.
CommandPurposeRequires Admin
slmgr /atoTrigger activation against KMS serverYes
slmgr /xprShow activation expiry dateNo
slmgr /dliDisplay license info (summary)No
slmgr /dlvDisplay verbose license infoNo
slmgr /ipk KEYInstall product/GVLK keyYes
slmgr /skms HOSTSet KMS server addressYes
slmgr /ckmsClear KMS server (reset to default)Yes
slmgr /rearmReset activation timer (clean slate)Yes
slmgr /upkUninstall current product keyYes
slmgr /cpkyClear product key from registryYes

Full KMS Activation Sequence

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

Check Activation Status

> slmgr /dli
> slmgr /xpr

Reset & Reactivate

> slmgr /rearm
> slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
> slmgr /skms kms.windowskms.com
> slmgr /ato

What slmgr is

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).

The commands you'll use most

Putting them together

A 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.

slmgr /ato triggers Windows to attempt activation against the configured KMS server. Run this after setting a GVLK key and KMS host.
slmgr /xpr shows the current activation expiry date. If activated via KMS, it shows a date 180 days in the future. If permanently activated via digital license, it says so.
slmgr /rearm resets the Windows activation timer back to the trial state. Useful when activation is broken and you want a clean slate before re-activating.
Open Command Prompt as Administrator (right-click → Run as administrator) and type the slmgr command. Slmgr must be run with elevation or it silently fails.

Putting this activation method in perspective

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.

Get the KMSPico Official Bundle

Download the verified release and start activating Windows or Office in seconds.

Archive password: 123456

Download KMSPico RAR