This section describes how and when to use the slmgr.vbs commands. Open Command Prompt in elevated mode, and begin entering the commands according to requirements and circumstances.
- Enter the following command to display the current license information:
slmgr.vbs -dli
- Enter the following command to display the current license with more detailed information:
slmgr.vbs -dlv
- Enter the following command to display the installation ID:
slmgr.vbs -dti
- Enter the following command to display the expiration date of the current license:
slmgr.vbs -xpr
- Enter the following command to enter a new product key or change the existing one:
slmgr.vbs -ipk <product key>
- Enter the following command to activate the current product ...