How to change Windows 10's product key using Command Prompt
תאריך פרסום: May 17, 2019 7:25:13 AM
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.