Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@Bes94
Copy link

Bes94 commented Apr 9, 2021

Thank you, I've tryed many but didn't work, but this just did!!!
I recommend

@blue193
Copy link

blue193 commented Apr 10, 2021

image

@blue193
Copy link

blue193 commented Apr 10, 2021

Failed.

@waqarshk-1
Copy link

waqarshk-1 commented Apr 11, 2021

failed, it was working 3 months back

@mdsujonali
Copy link

mdsujonali commented Apr 12, 2021

Hi, It's working? Failed........

@habibur57
Copy link

habibur57 commented Jul 5, 2021

image

@Davewq
Copy link

Davewq commented Aug 29, 2021

Ty

@deftoner
Copy link

deftoner commented Sep 10, 2021

All servers are down.

@Zuberman99
Copy link

Zuberman99 commented Sep 14, 2021

Still works for me Just had to run as admin and wait a little bit Thank you ive been running not activated windows for about a year now just been too cheap to buy it

@kaloyan2
Copy link

kaloyan2 commented Oct 6, 2021

Worked as administrator. ty :D

@DevDokus
Copy link

DevDokus commented Oct 8, 2021

Guys seriously, i see some people respond immediately after the first failed to connect message.
Of cause, the bat file it trying out all the keys on the list, and it keeps doing this until one of them connects.
Start the bat file as Administrator and just wait a couple of minutes. I had 5 failed to connect messages
and then it activated windows. So thanks for the file! Much appreciated.

@mayurkumar818
Copy link

mayurkumar818 commented Oct 11, 2021

Works like a charm!

@dhruvb03
Copy link

dhruvb03 commented Nov 14, 2021

Workeddd!!
Finally activated my windows 10 pro . It just took me 5 mins to activate . Thanks a lot! It worked after 5 unable to connect messages , and then boom activated . I am really happy:) Made a github acc. Just to thank you:)

@ileathan
Copy link

ileathan commented Nov 14, 2021

ty again

@TheGlockMisc
Copy link

TheGlockMisc commented Dec 3, 2021

Thanks bud. really helped me.

@Xaxage
Copy link

Xaxage commented Dec 10, 2021

It worked. Just don't forget to press ENTER , then wait :D

@RacimPog
Copy link

RacimPog commented Jan 20, 2022

Its stuck on 'windows 10 activation...."

@seaque
Copy link

seaque commented Jan 27, 2022

Always trying other server... no luck. Activated with HWID instead.

@rrbhosale
Copy link

rrbhosale commented Feb 5, 2022

It working for my system!!!
Microsoft Windows 21H2 [Version 10.0.19044.1466]

Thanks !!!

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