Skip to content

Instantly share code, notes, and snippets.

@ajepe
Forked from LishuGupta652/window 10 .cmd
Created July 7, 2021 04:49
Show Gist options
  • Save ajepe/23dc92e64d7896ee2acfbb96b1818dcd to your computer and use it in GitHub Desktop.
Save ajepe/23dc92e64d7896ee2acfbb96b1818dcd to your computer and use it in GitHub Desktop.
@echo off
title Activate Windows 10 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Windows 10 Home&echo - Windows 10 Home N&echo - Windows 10 Home Single Language&echo - Windows 10 Home Country Specific&echo - Windows 10 Professional&echo - Windows 10 Professional N&echo - Windows 10 Education&echo - Windows 10 Education N&echo - Windows 10 Enterprise&echo - Windows 10 Enterprise N&echo - Windows 10 Enterprise LTSB&echo - Windows 10 Enterprise LTSB N&echo.&echo.&echo ============================================================================&echo Activating your Windows...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo slmgr.vbs /upk >nul&cscript //nologo slmgr.vbs /cpky >nul&set i=1&wmic os | findstr /I "enterprise" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 >nul&cscript //nologo slmgr.vbs /ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 >nul&cscript //nologo slmgr.vbs /ipk WNMTR-4C88C-JK8YV-HQ7T2-76DF9 >nul&cscript //nologo slmgr.vbs /ipk 2F77B-TNFGY-69QQF-B8YKP-D69TJ >nul&cscript //nologo slmgr.vbs /ipk DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ >nul&cscript //nologo slmgr.vbs /ipk QFFDN-GRT3P-VKWWX-X7T3R-8B639 >nul&goto server) else wmic os | findstr /I "home" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 >nul&cscript //nologo slmgr.vbs /ipk 3KHY7-WNT83-DGQKR-F7HPR-844BM >nul&cscript //nologo slmgr.vbs /ipk 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH >nul&cscript //nologo slmgr.vbs /ipk PVMJN-6DFY6-9CCP6-7BKTT-D3WVR >nul&goto server) else wmic os | findstr /I "education" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 >nul&cscript //nologo slmgr.vbs /ipk 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ >nul&goto server) else wmic os | findstr /I "10 pro" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX >nul&cscript //nologo slmgr.vbs /ipk MH37W-N47XK-V7XM9-C7227-GCQG9 >nul&goto server) else (goto notsupported)
:server
if %i%==1 set KMS=kms7.MSGuides.com
if %i%==2 set KMS=kms8.MSGuides.com
if %i%==3 set KMS=kms9.MSGuides.com
if %i%==4 goto notsupported
cscript //nologo slmgr.vbs /skms %KMS%:1688 >nul&echo ============================================================================&echo.&echo.
cscript //nologo slmgr.vbs /ato | find /i "successfully" && (echo.&echo ============================================================================&echo.&echo #My official blog: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at msguides.com@gmail.com if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running everyday!&echo.&echo ============================================================================&choice /n /c YN /m "Would you like to visit my blog [Y,N]?" & if errorlevel 2 exit) || (echo The connection to my KMS server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto server)
explorer "http://MSGuides.com"&goto halt
:notsupported
echo ============================================================================&echo.&echo Sorry! Your version is not supported.&echo.
:halt
pause >nul
@Stargrafix
Copy link

Bravo

@akshaymemail
Copy link

Worked!

@darryl-17
Copy link

please i wish to know if this really activates windows 10 because i dont want to destroy my pc

@kolevxd
Copy link

kolevxd commented Oct 9, 2023

please i wish to know if this really activates windows 10 because i dont want to destroy my pc

it will destroy your pc

@stormraider2059
Copy link

please i wish to know if this really activates windows 10 because i dont want to destroy my pc

No, it doesn't destroy your pc but as it contains the code(script) that actually communicates with the KMS server and your operating system to activate your product, windows may detect it as a virus or potentially unwanted software. Just turn your windows defender off while running this code as .cmd or .bat (run as administrator) and once you are done, you can turn the windows defender back on.

@bahriddin99
Copy link

chi nav sarami hammesh bodring kalla

@haryit
Copy link

haryit commented Nov 17, 2023

your version is not suported oke fine i think i search another activate

@mitaliH22
Copy link

============================================================================ #Project: Activating Microsoft software products for FREE without software ============================================================================ #Supported products: - Windows 10 Home - Windows 10 Home N - Windows 10 Home Single Language - Windows 10 Home Country Specific - Windows 10 Professional - Windows 10 Professional N - Windows 10 Education - Windows 10 Education N - Windows 10 Enterprise - Windows 10 Enterprise N - Windows 10 Enterprise LTSB - Windows 10 Enterprise LTSB N ============================================================================ Activating your Windows... ============================================================================ The connection to my KMS server failed! Trying to connect to another one... Please wait... ============================================================================ The connection to my KMS server failed! Trying to connect to another one... Please wait... ============================================================================ The connection to my KMS server failed! Trying to connect to another one... Please wait... ============================================================================ Sorry! Your version is not supported.

@Justmarkmaster
Copy link

wait it worked!

yesh! I can customize my PC

@khaitk
Copy link

khaitk commented Jun 27, 2024

Activated Windows 10 key without any problem from partners microsoft

@bergmannaldous Hey you, keep run it like image. I did it.
image

@CookiesKush
Copy link

I LOVE YOU

@krkkrk11
Copy link

krkkrk11 commented Sep 1, 2024

it work!!

@AlexGxtr
Copy link

AlexGxtr commented Sep 1, 2024

it work!!

no, it's not working. This is a pure scam.

@graphlor
Copy link

great solved :)

@raomohsin39
Copy link

Bought a Windows 10 product key through https://s2keys.com/product/windows-10-pro-key/ , and the experience was excellent. The retail key was authentic, and activation was straightforward. I encountered a small issue at first, but their customer service was fast to respond and sent a new key right away. My PC is now fully activated. Great choice for reliable keys and top-notch support!

@raomohsin39
Copy link

This is work for me https://hypestkey.com/product/windows-11-pro/

Thanks you, got office ltsc 2024 pro plus here + windows 11 pro

They give me all certification for my key!!!

@Toqijilove
Copy link

this script is work just copy script paste in notepad save as file win.bat make sure your windows defender is disable and just run as administrator leave the desktop wait just a few mints enjoy your activate windows

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