slmgr.vbs commands

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 ...

Get Installing and Configuring Windows 10: 70-698 Exam Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.