How to activate windows 10 with cmd without key

- Advertisement -

Window activation is one of those bothering issues which is a pain in the ass in our life as windows users. Outside that, everything would have been a walkover, just imagine if there was nothing like activation and updating. Anyway, all this remains important for us users, Microsoft corporation claims that we must activate using product key which is usually purchased from their official site.

- Advertisement -

However, we have recently discovered many ways we can activate Windows operating systems without even purchasing the Microsoft product key. We use the software, sometimes we crack the system and it will never ask for activation anymore and whereas today, we shall be talking about another way we can activate windows without having to use any of the above-mentioned methods. In this very case, we shall use the windows CMD (Command prompt)

Read Also: How to activate windows 10

Contents

Open an Administrator Command Prompt Window

You must launch Command Prompt with Administrator access, right-click the Start button, or press Windows+X. Click the “Command Prompt (Admin)”.

Opening command Prompt

View Activation, License, and Expiration Date Information

To display information about your current activation, you will need to run the following command. 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.

slmgr.vbs /dli

To display the activation ID, installation ID, and other details, there is another command you must run other than the previous one.

slmgr.vbs /dlv

activate windows 10 with cmd script

View the License Expiration Date

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.

slmgr.vbs /xpr

step 2 - activate windows 10 with cmd

Uninstall the Product Key

Did you know that you can remove the product key from your current Windows system with Slmgr. The Windows system won’t have a product key after restarting your computer and will be in an unactivated, unlicensed state.

To do this, you must run this command and then restart your computer:

slmgr.vbs /upk

uninstall product key

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

slmgr.vbs /cpky

activate windows 10 with cmd

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 this command will silently replace the old product key with the one you provide.

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.

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

activate windows 10 with cmd

Activate Windows Online

Windows can be forced by default to activate by running the following command. 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.

slmgr.vbs /ato

activate windows 10 with cmd
activate windows 10 with cmd

Alternatively, we can use Batch File to activate windows

The batch file technique is pretty efficient and fast, what you need is to create a .bat file and run it as administrator, and then try to restart your computer. Follow these simple steps I have listed below including the pictorial guide.

  • Open Notepad.
  • Paste the code provided below.
  • Save the file as a .bat file.
  • Run the file as administrator.
  • Restart your PC.
@echo off

title Windows 10 ALL version activator&cls&echo ************************************&echo Supported products:&echo – Windows 10 Home&echo – Windows 10 Professional&echo – Windows 10 Enterprise, Enterprise LTSB&echo – Windows 10 Education&echo.&echo.&echo ************************************ &echo Windows 10 activation…

cscript //nologo c:\windows\system32\slmgr.vbs /ipk TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk 3KHY7-WNT83-DGQKR-F7HPR-844BM >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk PVMJN-6DFY6-9CCP6-7BKTT-D3WVR >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk MH37W-N47XK-V7XM9-C7227-GCQG9 >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk WNMTR-4C88C-JK8YV-HQ7T2-76DF9 >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ipk 2F77B-TNFGY-69QQF-B8YKP-D69TJ >nul

echo ************************************ &echo.&echo.&set i=1

:server

if %i%==1 set KMS_Sev=kms.chinancce.com

if %i%==2 set KMS_Sev=NextLevel.uk.to

if %i%==3 set KMS_Sev=GuangPeng.uk.to

if %i%==4 set KMS_Sev=AlwaysSmile.uk.to

if %i%==5 set KMS_Sev=kms.chinancce.com

if %i%==6 set KMS_Sev=kms.shuax.com

if %i%==7 exit

cscript //nologo c:\windows\system32\slmgr.vbs /skms %KMS_Sev% >nul

cscript //nologo c:\windows\system32\slmgr.vbs /ato | find /i “successfully” && (echo.& ************************************ & echo. & choice /n /c YN /m “Do you want to restart your PC now [Y,N]?” & if errorlevel 2 exit) || (echo The connection to the server failed! Trying to connect to another one… & echo Please wait… & echo. & echo. & set /a i+=1 & goto server)

shutdown.exe /r /t 00

Open Notepad and paste the code.

I have provided the code you need to paste in Notepad.

notepad with script

Save the file as a .BAT life.

activate windows 10 with cmd save script

The most crucial step is saving the file as a .bat file. Make sure you choose Save as type as All Files and also type .bat after your desired name.

Run the .bat file as administrator.

Another most important step is running the file as admin. If you don’t do this, you’re likely to see errors when the Command Prompt processes the codes. So, make sure you have run this as administrator.

Restart your computer.

cmd

Wait for about 10-15 seconds. Once you see the message which asks to restart your PC, then it’s all done. Simply type Y and press Enter. And once you have restarted your computer, it will have activated windows. If this doesn’t work out for you read this article: how to activate windows for free permanently.