Home    Blog    Student Partners     |     Windows 7    Vista    Server    Live    Office    Mobile    Zune    Developers     |     About Me    What I Use
Windows Software Licensing Management Tool (SLMGR)
Source: Command "SLMGR" from command prompt
 
Usage:
slmgr.vbs [MachineName [User Password]] [<Option>]
 
MachineName: Name of remote machine (default is local machine)
User:               Account with required privilege on remote machine
Password:        Password for the previous account
 
Global Options:
-ipk <Product Key>
   Install product key (replaces existing key)
-upk
   Uninstall product key
-ato
   Activate Windows
-dli
   Display license information (default: current license)
-dlv [Activation ID | All]
   Display detailed license information (default: current license)
-xpr
   Expiration date for current license state
 
Advanced Options:
-cpky
   Clear product key from the registry (prevents disclosure attacks)
-ilc <License file>
   Install license
-rilc
   Re-install system license files
-rearm
   Reset the licensing status of the machine
-dti
   Display Installation ID for offline activation
-atp <Confirmation ID>
   Activate product with user-provided Confirmation ID