Use Slmgr to extend the Windows license

Use Slmgr to extend the Windows license

You can remove the Product Key, force Windows Active Online or set up, change Product Key … easily using the Slmgr tool. Please refer to the article below.

1. Open the Command Prompt under Admin

On Windows 8 or Windows 10 you can right-click on the Start button or press Windows + X, then select Command Prompt (Admin).

In Windows 7, type Command Prompt into the Search box on the Start menu and then right-click on Command Prompt and select Run as Administrator.

2. Check Activation information, License, and Expiration Date.

To display the license information, activate on the current system, enter the following command into the Command Prompt window:

slmgr.vbs /dli

If you want to display copyright details – including Activation ID, Installation ID, and some other details, use the following command:

slmgr.vbs /dlv

3. Check the copyright expiration date

To display the copyright expiration date, use the following command:

slmgr.vbs /xpr

Note:

This command is only useful on Windows systems activated via KMS server (KMS server). Retail versions and more must be permanent, not expired.

If you do not supply the Product Key, it will display an error message on the screen.

3. Remove Product Key

You can use Slmgr to remove the Product Key on the current version of Windows.

Enter the following command in the Command Prompt window and restart your computer:

slmgr.vbs /upk

Windows also stores Product Key on the Registry, and in some cases, Windows will use the key on the Registry to install your computer. You must also remove the Product Key on the Registry.

Use the following command to uninstall Product Key on the Registry:

slmgr.vbs /cpky

Running a command fails to uninstall Product Key. It just removes the Product Key on the Registry so that the system can not be accessed on the Registry.

4. Set or change Product Key

You can use slmgr.vbs to import a new Product Key. If your Windows system already has a Product Key, you can use the following command to replace the old Product Key with a new Product Key:

slmgr.vbs /ipk #####-#####-#####-#####-#####

Note:

Replace ##### – ##### – ##### – ##### – ##### with the Product Key.

The command will check whether the Product Key you entered is the same as the Product Key before.

After running the command, Microsoft will display a message to restart your computer.

You can also change Product Key in the Settings app on the Activation interface.

5. Active Windows Online

To force Windows to try Active Online, use the following command:

slmgr.vbs /ato

If you are using a retail version, the command will force Windows to try online with Microsoft Server.

If the system is set up using a KMS server to be active, it will attempt to be active with the KMS server on the local network. This command can be useful if Windows is not enabled by a connection or server issue.

6. Active windows offline

To receive the Installation ID code for Active Offline, use the following command:

slmgr.vbs /dti

Next you need a confirmation ID to activate. You can call the activation center of Microsoft to get the Installation ID.

To enter the confirmation ID you just received, use the following statement:

slmgr.vbs /atp ACTIVATIONID

Note:

Replace ACTIVATIONID with the activation ID you received.

Once done, you can use the command: slmgr.vbs /dli or slmgr.vbs /dlv commands to confirm that you have activated.

7. Extend the trial period

Some versions of Windows generally limit the time spent using free trials. Such as Windows 7 provides a 30 day trial.

To extend the trial period you can use the following command:

slmgr.vbs /rearm

This command can only be used multiple times, so you can not extend the duration of unlimited trial.

The amount of time you can use the trial depends on “rearm count”. You can see using the command:

slmgr.vbs /dlv

8. Control your computer remotely

Slmgr usually performs actions that you specify on the current computer.

However, you can also use Slmgr to remotely manage computers on your network if you have access to those computers.

The following command to perform the actions that you specify on the current computer:

slmgr.vbs /option

The following command to control a remote computer:

slmgr.vbs computername username password /option

Note: You must have a computer name, username and password. Replace the computer username with the computer name, user name, and password.