


Windows can be forced by default to activate by running the following command. Slmgr.vbs /ipk #-#-#-#-# Activate Windows Online You can also change your product key from the Activation screen in the Settings app, but this command lets you do it from the command line. If the Windows system already has a product key, using this command will silently replace the old product key with the one you provide. You can use slmgr.vbs to enter a new product key. Slmgr.vbs /cpky Set or Change the Product Key This option is really designed to prevent the key from being stolen by malware if malware running on the current system gains access to the registry. If you’ve uninstalled the product key, you should run the below command to ensure it’s removed from the registry as well. Windows also stores the product key in the registry, as it’s sometimes necessary for the key to be in the registry when setting up the computer. To do this, you must run this command and then restart your computer: The Windows system won’t have a product key after restarting your computer and will be in an unactivated, unlicensed state. Run the following command when you want to view the expiration date of the current license, however, it will only be useful for Windows system activated from an organization’s KMS server, as retail licenses and multiple activation keys result in a perpetual license that won’t expire.ĭid you know that you can remove the product key from your current Windows system with Slmgr. Slmgr.vbs /dlv View the License Expiration Date To display the activation ID, installation ID, and other details, there is another command you must run other than the previous one. It will tell you the edition of Windows, part of the product key so you can identify it, and also will tell you whether the system is activated or not.


To display information about your current activation, you will need to run the following command. View Activation, License, and Expiration Date Information You must launch Command Prompt with Administrator access, right-click the Start button, or press Windows+X. Open an Administrator Command Prompt Window
