Understanding slmgr.vbs : The Windows Software License Management Tool
| Command | Description | | --- | --- | | cscript slmgr.vbs /dli | Display current license information (partial) | | cscript slmgr.vbs /dlv | Display detailed license information | | cscript slmgr.vbs /xpr | Show expiration date of current activation | | cscript slmgr.vbs /ipk <ProductKey> | Install a product key | | cscript slmgr.vbs /ato | Activate Windows online | | cscript slmgr.vbs /upk | Uninstall the current product key | | cscript slmgr.vbs /cpky | Clear the product key from the registry (prevents accidental scraping) | | cscript slmgr.vbs /dli [Activation ID] | Show license info for a specific edition |
cscript slmgr.vbs [ComputerName] [User] [Option] [Additional Parameters] Note: You must run Command Prompt or PowerShell as an Administrator.
slmgr.vbs (Software License Management script) is a command-line tool built into Microsoft Windows operating systems. Administrators and advanced users use it to perform critical licensing and activation tasks, such as installing product keys, activating Windows, checking license status, or changing a product key.
Understanding slmgr.vbs : The Windows Software License Management Tool
| Command | Description | | --- | --- | | cscript slmgr.vbs /dli | Display current license information (partial) | | cscript slmgr.vbs /dlv | Display detailed license information | | cscript slmgr.vbs /xpr | Show expiration date of current activation | | cscript slmgr.vbs /ipk <ProductKey> | Install a product key | | cscript slmgr.vbs /ato | Activate Windows online | | cscript slmgr.vbs /upk | Uninstall the current product key | | cscript slmgr.vbs /cpky | Clear the product key from the registry (prevents accidental scraping) | | cscript slmgr.vbs /dli [Activation ID] | Show license info for a specific edition |
cscript slmgr.vbs [ComputerName] [User] [Option] [Additional Parameters] Note: You must run Command Prompt or PowerShell as an Administrator.
slmgr.vbs (Software License Management script) is a command-line tool built into Microsoft Windows operating systems. Administrators and advanced users use it to perform critical licensing and activation tasks, such as installing product keys, activating Windows, checking license status, or changing a product key.