Slmgr Commands Explained: /dlv, /ato, /upk and /rearm

Slmgr is Windows‘ command-line tool for checking and managing activation. Start with slmgr.vbs /dlv to view detailed license information. Commands such as /ato, /upk and /rearm do different jobs and should not be used as a random fix.

Slmgr command for Windows license and activation checks

How to run a Slmgr command

Open Command Prompt and type one command at a time. The checks below show information without changing the installed key. For a command that changes activation, use Run as administrator when Microsoft‘s instructions require it.

Write a space between slmgr.vbs and the option. For example:

slmgr.vbs /dlv

Slmgr commands that only show information

Command What it shows
slmgr.vbs /dli Basic license information for the current Windows edition.
slmgr.vbs /dlv More detail, including license status and channel information.
slmgr.vbs /xpr Whether activation has an expiry date.
slmgr.vbs /dti An installation ID used in an offline-activation process; it does not activate Windows.

Keep full output private because it can include licensing identifiers. A channel label helps with troubleshooting, but does not replace your purchase records or license terms.

What does slmgr /ato do?

slmgr.vbs /ato asks Windows to attempt activation using its installed key and activation method. A retail or MAK setup may try online activation; a KMS client tries its organization’s activation service. It does not create a key or make an invalid license valid.

Commands that change Windows activation

Command or option Effect
/ipk <product-key> Installs a supplied key that matches the installed edition; it can replace the current key.
/ato Tries activation with the installed key and method.
/upk Uninstalls the current key. Windows can be left unlicensed after a restart.
/cpky Clears the stored key from the registry, rather than every activation record.
/rearm Resets activation timers where supported; it is not a permanent activation method.

Microsoft’s Slmgr option reference explains the exact syntax and permissions.

What happens when I run slmgr -rearm?

The documented /rearm option resets activation timers. It does not buy a license, install a valid product key or guarantee unlimited extensions. Follow the message and Microsoft’s instructions if you have already used it. For a normal activation error, start with Settings → System → Activation on Windows 11 and record the error code.

Can Slmgr transfer a Windows license to another PC?

Removing a key from one PC does not automatically let another PC use it. Retail, hardware-bound and organizational licenses have different rules. Check the license, edition and hardware-change instructions before removing anything from a working installation.

See existing Windows license checks and the supported Home-to-Pro upgrade steps. These commands manage Windows activation; they are not a general tool for activating every Microsoft product.

Updated October 14, 2026. Instructions and available features can vary by device, account and software version.