Help Center, Troubleshooting

Complete Guide to slmgr Commands: Check, Install, and Verify Windows Licenses

Complete guide to slmgr commands check verify install and rearm Windows product key
DOCS Licensing: Complete slmgr Commands Guide
Index (66)
Documentation Directory
Docs Hub →
Diagnostic Tools
Check Expiration:
slmgr.vbs /xpr
Verify Retail Channel:
slmgr.vbs /dli
Force Re-Activation:
slmgr.vbs /ato
Windows Client OS
Licensing & Activation
Microsoft Office Suite
Microsoft 365 Cloud
Windows Server & CALs
Developer & Diagnostics
Genuine Microsoft Retail
Need a Lifetime Key?

Instant delivery with official Microsoft server activation.

Browse License Keys →

The Software Licensing Management Tool (slmgr.vbs) is the official Microsoft visual basic script built into Windows 11 and Windows 10 for inspecting, installing, activating, and managing operating system licenses. While the standard Windows Settings interface offers only high-level status messages, slmgr reveals critical administrative telemetry including your exact licensing channel (Retail, OEM, Volume MAK, or KMS), partial product keys, license expiration dates, and activation server addresses. Mastering these commands allows you to diagnose activation failures, migrate licenses between PCs, and verify true lifetime license authenticity.

✅ Administrator Prerequisite: All slmgr.vbs commands must be executed within an elevated Command Prompt or PowerShell window with Administrator privileges. Running them in a standard user shell will result in an “Access Denied” error.

1. Quick Reference: Most Essential slmgr Commands

slmgr.vbs /dlv          -> Display comprehensive license details & channel
slmgr.vbs /dli          -> Display basic license info & current status
slmgr.vbs /xpr          -> Check expiration date or permanent activation
slmgr.vbs /ipk <key>    -> Install a new 25-character product key
slmgr.vbs /ato          -> Force online activation against Microsoft servers
slmgr.vbs /upk          -> Uninstall currently installed product key
slmgr.vbs /cpky         -> Clear product key from registry (prevent theft)
slmgr.vbs /rearm        -> Reset licensing state and 30-day grace period
slmgr.vbs /ckms         -> Clear cached KMS server address

2. How to Check Licensing Channel (slmgr /dlv)

Running slmgr.vbs /dlv opens a diagnostic dialog box. Look at the Description and Product Channel lines:

  • RETAIL: An authentic full-packaged retail license. It can be legally transferred between motherboards and new PCs.
  • OEM_DM / OEM_SLP: A factory pre-installed license locked permanently to your current motherboard.
  • VOLUME_KMSCLIENT / VOLUME_MAK: An organizational enterprise license that requires connection to a corporate network.

3. Check If Windows is Permanently Activated (slmgr /xpr)

To verify if your Windows activation has a ticking expiration clock (common with volume licenses) or is permanent, run:

slmgr.vbs /xpr

If it displays a specific date (e.g. “Volume activation will expire in 180 days”), your PC is using a temporary KMS license. If it states “The machine is permanently activated”, you have a genuine lifetime license.

Switch to an Authentic Retail License

Get a 100% genuine Microsoft Windows 11 Pro retail product key with lifetime transfer rights and instant delivery.

Buy Windows 11 Pro Key Now →

6. Frequently Asked Questions

What is the difference between slmgr /dli and slmgr /dlv?

/dli provides a quick summary (operating system edition and partial key), whereas /dlv provides complete telemetry including remaining rearm counts, KMS host PID, and full channel details.

author-avatar

About Sorted Keys Team

The Sorted Keys Team is the official voice of Sorted Keys LLC, a verified Microsoft Partner based in the US. We are dedicated to providing legitimate software licenses, industry news, and enterprise deployment solutions to our B2B and retail clients worldwide.

Leave a Reply

Your email address will not be published. Required fields are marked *