Skip to content

Instantly share code, notes, and snippets.

@Dhanvesh
Created June 5, 2018 17:37
Show Gist options
  • Save Dhanvesh/abcc26792f08755827bc2cd64c50ac3c to your computer and use it in GitHub Desktop.
Save Dhanvesh/abcc26792f08755827bc2cd64c50ac3c to your computer and use it in GitHub Desktop.
Windows 10 Activation Batch File
@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 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.shuax.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 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 ************************************ & 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
@ileathan
Copy link

ileathan commented Sep 24, 2023

Don't give virus Microsoft too much money unless you have too, copy pasting the code is also often more practical.

@jhcrypt
Copy link

jhcrypt commented Oct 21, 2023

How do you remove this if needed?

@MrChucklepants
Copy link

So now I'm more confused than ever. I'm trying to activate Win 10 Pro. Can anyone please tell me how to do that, in terms so simple a moron (Hello!) could understand?

@kelvinleongcc
Copy link

wow it work for me 24/1/2024 window 10 pro. i copied the first script copy to text save as .bat

save txt file as .bat
Run as admin
press enter when CMD opens
wait for batch to finish running
restart computer

done

@Vitaminese
Copy link

Vitaminese commented Feb 19, 2024

Thank you, https://hypestkey.com/product/windows-11-pro/ I bought the key here for cheap price, the key was retail and activated without problems. and they microsoft partner

That working thanks, also found coupon instahype10, i bought pro version, activated without any problem

@traikozaiko
Copy link

does it work for LTSC

@Klifiery
Copy link

THIS IS A VIRUS SMH

@ItsCh1ck3n
Copy link

THIS IS A VIRUS SMH

Have you even looked at the code πŸ’€

@Tetr1sss
Copy link

Tetr1sss commented Aug 2, 2024

This version of the code that was provided by @under1aker worked swimmingly, do this followed by these steps for a simple activation:

  1. create a txt file and paste the code
  2. save the file as a .bat
  3. Run the file as administrator
  4. don't touch anything and the .bat will restart your PC on its own
  5. enjoy your activated version of windows :D

simplified:

@echo off
cscript //nologo c:\windows\system32\slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX >nul
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 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 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
cscript //nologo c:\windows\system32\slmgr.vbs /skms kms8.MSGuides.com >nul
cscript //nologo c:\windows\system32\slmgr.vbs /ato
shutdown.exe /r /t 00

I haven't had any issues with false positives either.

@JOuPer3
Copy link

JOuPer3 commented Aug 15, 2024

who is using Windows 10 now, 2024? Due to later windows' extravagance?

@Indodapro
Copy link

It dont work

@Indodapro
Copy link

This works

@Logeshkrishnaraj
Copy link

can you please tell me if this is safe?
I'm here because I am unable to afford the original windows key. Please respond.

@The-Dead-Comedian
Copy link

can you please tell me if this is safe?
I'm here because I am unable to afford the original windows key. Please respond.

Hello, ur computer has virus (yes its safe)

@filehorse7
Copy link

@Indodapro
Copy link

can you please tell me if this is safe?
I'm here because I am unable to afford the original windows key. Please respond.

yeah it's just a batch script that attempts keys, I used it and the key worked and is well on my pc

@Indodapro
Copy link

Windows 10 Activation Batch File πŸ‘ˆπŸ‘ˆπŸ‘ˆ

would not trust this, zips with passwords are sketchy

@zainabsehal
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment