Windows 10 Activation Command Line
Windows 10 requires activation to verify you're running a genuine copy; a unique product key is used to ensure the a single licensed copy of Windows isn't being used on more than are allowed.
- Windows 10 Pro Activation Command Line
- Windows 10 Activation Troubleshooter Command Line
- Crack Windows 10 Activation Command Line
- Windows 10 Activate Administrator Command Line
- Windows 10 Product Key Activation Command Line
- Windows 10 Enterprise Activation Command Line
- Windows 10 Activation Command Line -slmgr
Windows 10 Pro Activation Command Line
Occasionally, you may have to change the product key. If you're getting Windows 10 for the first time and a product key wasn't provided during the installation, or a generic key was used to upgrade, you'll need a new valid product key to activate the operating system.
Pretty much gone are the days of using command prompt, to activate windows 10, click the start menu, click the settings gear, go to updates and security, click the activation tab. If connected to the internet, windows should be activated already. But if there is an issue it can be fixed from this tab. These steps are: Step 1: Open the Notepad and paste the code Given above: Step 2: Save the Notepad file as the.bat file. Step 3: Run the.bat file as the administrator. Step 4: Restart your Computer. Step 5: Your Windows 10 is fully activated now, all for free and forever.
In this Windows 10 guide, you'll learn five ways to bring up the Windows activation tool to change the product key on your computer.
How to change Windows 10's product key using Settings
- Open Settings.
- Click on Update & security.
- Click on Activation.
Click the Change product key link.
- Type the 25-digit product key for the version of Windows 10 you want.
Click Next to complete the process.
If the activation process completes successfully, you'll get the 'Windows is activated' message.
How to change Windows 10's product key using Control Panel
- Use the Windows key + X keyboard shortcut to open the Power User menu and select System.
Click the Change product key link under the Windows activation section.
- Type the 25-digit product key for the version of Windows 10 you want.
Click Next to complete the process.
Similar to the Settings app, if the activation process completes successfully, you'll get the 'Windows is activated' message.
How to change Windows 10's product key using Command Prompt
- Open the Start menu.
- Search for Command Prompt.
- Right-click the result and select Run as administrator.
Type the following command using your 25-digit product key and press Enter:
slmgr.vbs /ipk <enter your 25-digit product key here>
If you typed the product key correctly and the process completes successfully, you'll see a dialog box reading 'Installed product key YOURP-RODUC-TKEYX-XXXXX-XXXXX successfully.'
How to change Windows 10's product key using SLUI 3
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type slui.exe 3 and click OK to open the Windows activation client.
Type the 25-digit product key for the version of Windows 10 you want.
- Click Next to complete the task.
If the activation process completes successfully, you'll get the 'Windows is activated' message.
How to change Windows 10's product key using CHANGEPK
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type changepk.exe and click OK to open the Windows activation client.
Enter the 25-digit product key for the version of Windows 10 you want.
- Click Next to complete the task.

If the activation process completes successfully, you'll get the 'Windows is activated' message.

Alternatively, you can use change the product key using changepk.exe using the Command Prompt as well. Here's how:
- Open the Start menu.
- Search for Command Prompt.
- Right-click the result and select Run as administrator.
Type the following command using your 25-digit product key and press Enter:
changepk.exe /ProductKey <enter your 25-digit product key here>
Wrapping things up
While for the most part, you'll be using the Settings app to change the product key on Windows 10, if the option isn't available or if you're looking to create a script to change the product key on your computer, it's good to have different alternatives.
If you're trying to upgrade the operating system by purchasing a new license from the Windows Store, everything regarding the product key will be handled automatically for you.
Also, remember that you must be signed in with an administrator account to change your system's product key, and you'll need an internet connection to complete the activation.
In the case, you recently made significant hardware changes to your PC, and Windows 10 won't activate, you can use the Activation Troubleshooter to re-activate your copy of Windows 10.
Although this guide is specific to Windows 10, the Control Panel, slui.exe, and slmgr.vbs methods that we're showing you here will work to change the product key on Windows 8.1 or Windows 7.
More Windows 10 resources
For more help articles, coverage, and answers on Windows 10, you can visit the following resources:

Windows activation is designed to be as foolproof as possible, so Microsoft’s graphical tools keep it simple. If you want to do something more advanced like remove a product key, force an online activation, or extend the activation timer, you’ll need Slmgr.vbs.
This command line tool is included with Windows, and provides options unavailable in the standard activation interface provided on the Update & Security > Activation screen in the Settings app.
First: Open an Administrator Command Prompt Window
RELATED:How Does Windows Activation Work?
To use this tool, you’ll want to launch a Command Prompt with Administrator access. To do so on Windows 8 or 10, either right-click the Start button or press Windows+X. Click the “Command Prompt (Admin)” option in the menu that appears. On Windows 7, search the Start menu for “Command Prompt,” right-click it, and select “Run as Administrator.”
Note: If you see PowerShell instead of Command Prompt on the Power Users menu, that’s a switch that came about with the Creators Update for Windows 10. It’s very easy to switch back to showing the Command Prompt on the Power Users menu if you want, or you can give PowerShell a try. You can do pretty much everything in PowerShell that you can do in Command Prompt, plus a lot of other useful things.
View Activation, License, and Expiration Date Information
To display very basic license and activation information about the current system, run the following command. This command tells you the edition of Windows, part of the product key so you can identify it, and whether the system is activated.
To display more detailed license information–including the activation ID, installation ID, and other details–run the following command:
View the License Expiration Date
To display the expiration date of the current license, run the following command. This is only 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. If you haven’t provided a product key at all, it’ll give you an error message.
Uninstall the Product Key
You can remove the product key from your current Windows system with Slmgr. After you run the below command and restart your computer, the Windows system won’t have a product key and will be in an unactivated, unlicensed state.
If you installed Windows from a retail license and would like to use that license on another computer, this allows you to remove the license. It could also be useful if you’re giving that computer away to someone else. However, most Windows licenses are tied to the computer they came with–unless you purchased a boxed copy.
To remove uninstall the current product key, run the following command and then restart your computer:
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. If you’ve uninstalled the product key, you should run the below command to ensure it’s removed from the registry as well. This will ensure people who use the computer in the future can’t grab the product key.
Windows 10 Activation Troubleshooter Command Line
Running this command alone won’t uninstall your product key. It’ll remove it from the registry so programs can’t access it from there, but your Windows system will remain licensed unless you run the above command to actually uninstall 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.
Set or Change the Product Key
You can use slmgr.vbs to enter a new product key. If the Windows system already has a product key, using the below command will silently replace the old product key with the one you provide.
Run the following command to replace the product key, replacing #####-#####-#####-#####-##### with the product key. The command will check the product key you enter to ensure it’s valid before using it. Microsoft advises you restart the computer after running this command.
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.
Activate Windows Online
To force Windows to attempt an online activation, run the following command. If you’re using a retail edition of Windows, this will force Windows to attempt online activation with Microsoft’s servers. If the system is set up to use a KMS activation server, it will instead attempt activation with the KMS server on the local network. This command can be useful if Windows didn’t activate due to a connection or server problem and you want to force it to retry.
Activate Windows Offline
Crack Windows 10 Activation Command Line
Slmgr also allows you to perform an offline activation. To get an installation ID for offline activation, run the following command:
You’ll now need to get a a confirmation ID you can use to activate the system over the phone. Call the Microsoft Product Activation Center, provide the installation ID you received above, and you’ll be given an activation ID if everything checks out. This allows you to activate Windows systems without Internet connections.
To enter the confirmation ID you’ve received for offline activation, run the following command. Replace “ACTIVATIONID” with the activation ID you’ve received.
Once you’re done, you can use the slmgr.vbs /dli
or slmgr.vbs /dlv
commands to confirm you’re activated.
This can generally be done from the Activation screen in the Settings app if your PC isn’t activated–you don’t have to use the command if you’d rather use the graphical interface.
Windows 10 Activate Administrator Command Line
Extend the Activation Timer
RELATED:You Don’t Need a Product Key to Install and Use Windows 10
Some Windows systems provide a limited time where you can use them as free trials before entering a product key. For example, Windows 7 offers a 30-day trial period before it begins complaining at you. To extend this trial period and reset it back to 30 days remaining, you can use the following command.As Microsoft’s documentation puts it, this command “resets the activation timers.”
This command can only be used several times, so you can’t indefinitely extend the trial. The number of time it can be used depends on the “rearm count,” which you can view using the slmgr.vbs /dlv
command. It seems different on different versions of Windows–it was three times on Windows 7, and it seems to be five times on Windows Server 2008 R2.
This no longer seems to work on Windows 10, which is very lenient if you don’t provide it a product key anyway. This option still works on older versions of Windows and may continue to work on other editions of Windows, such as Windows Server, in the future.
Slmgr.vbs Can Perform Actions on Remote Computers, Too
Windows 10 Product Key Activation Command Line
Slmgr normally performs the actions you specify on the current computer. However, you can also remotely administer computers on your network if you have access to them. For example, the first command below applies to the current computer, while the second one will be run on a remote computer. You’ll just need the computer’s name, username, and password.
Windows 10 Enterprise Activation Command Line
The Slmgr.vbs command has other options, which are useful for dealing with KMS activation and token-based activation. Consult Microsoft’s Slmgr.vbs documentation for more details.
Windows 10 Activation Command Line -slmgr
READ NEXT- › How to Create a Local Account While Setting Up Windows 10
- › What Is Windows 10X, and How Is It Different?
- › How to Delete Apps on an iPhone or iPad With iOS 13
- › How to Merge Multiple Google Drive and Google Photos Accounts
- › How to Edit Any Web Page in Chrome (or Any Browser)