0% found this document useful (0 votes)
3 views2 pages

SLMGR Commands Reference

The document provides a reference for slmgr.vbs commands used for managing Windows activation and licensing. It includes commands for checking activation status, displaying license information, installing or uninstalling product keys, and managing KMS servers. Each command is accompanied by a brief description of its function.

Uploaded by

gkfkc830
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

SLMGR Commands Reference

The document provides a reference for slmgr.vbs commands used for managing Windows activation and licensing. It includes commands for checking activation status, displaying license information, installing or uninstalling product keys, and managing KMS servers. Each command is accompanied by a brief description of its function.

Uploaded by

gkfkc830
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

slmgr.

vbs Commands Reference

1. Check Activation Status

Command: slmgr /xpr

Description: Displays whether the current Windows installation is permanently activated or shows the

expiration date of the license.

2. Display Detailed License Info

Command: slmgr /dlv

Description: Shows detailed licensing information such as license type, KMS status, and remaining activation

count.

3. Display License Summary

Command: slmgr /dli

Description: Displays a brief summary of the license status, including the last 5 characters of the product key.

4. Install Product Key

Command: slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Description: Installs or changes the Windows product key.

5. Activate Windows

Command: slmgr /ato

Description: Attempts to activate Windows using the current configuration.

6. Uninstall Product Key

Command: slmgr /upk

Description: Uninstalls the current product key from the system.

7. Clear Product Key from Registry

Command: slmgr /cpky

Description: Removes the product key from the registry to prevent retrieval by third-party tools.

8. Set KMS Server

Command: slmgr /skms kms.server.com


slmgr.vbs Commands Reference

Description: Manually sets the Key Management Service (KMS) server.

9. Clear KMS Server

Command: slmgr /ckms

Description: Removes any configured KMS server and resets the system to default activation settings.

10. Reinstall License Files

Command: slmgr /rilc

Description: Reinstalls all Windows license files.

11. Reset Activation Timer

Command: slmgr /rearm

Description: Resets the activation grace period. Limited number of uses (usually 3).

12. Help - List All Options

Command: slmgr /?

Description: Lists all available slmgr commands and brief descriptions.

You might also like