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

Get the KMSPico Official Bundle

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

Archive password: 123456

Download KMSPico RAR