Skip to content

Instantly share code, notes, and snippets.

@cheesits456
Last active November 21, 2020 12:08
Show Gist options
  • Save cheesits456/b991ee8d4fdf37ca5a1297f58b68a0e4 to your computer and use it in GitHub Desktop.
Save cheesits456/b991ee8d4fdf37ca5a1297f58b68a0e4 to your computer and use it in GitHub Desktop.
Activate any version of Windows 10 for free by abusing a bug in Microsoft's Enterprise-grade Key Management Service (KMS)
@echo off
title Activate Windows 10 ALL versions for FREE!
cls
echo ============================================================================
echo Activate Windows 10 ALL versions for FREE!
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 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 . . .
echo.
cscript //nologo slmgr.vbs /upk >nul
cscript //nologo slmgr.vbs /cpky >nul
wmic os | findstr /I "enterprise" >nul
if %errorlevel% EQU 0 goto then1 else wmic os | findstr /I "10 pro" >nul
:then1
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
if %errorlevel% EQU 0 goto then2 else wmic os | findstr /I "home" >nul
:then2
cscript //nologo slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX >nul
cscript //nologo slmgr.vbs /ipk MH37W-N47XK-V7XM9-C7227-GCQG9 >nul
if %errorlevel% EQU 0 goto then3 else echo.
:then3
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
set i=1
:server
if %i%==1 set KMS_Sev=kms7.MSGuides.com
if %i%==2 set KMS_Sev=kms8.MSGuides.com
if %i%==3 set KMS_Sev=kms9.MSGuides.com
if %i%==4 goto notsupported
cscript //nologo slmgr.vbs /skms %KMS_Sev% >nul
echo ============================================================================
echo.
cscript //nologo slmgr.vbs /ato | find /i "successfully" && goto then4
goto then5
:then4
echo.
echo ============================================================================
echo.
echo My personal website: https://cheesits456.dev
echo.
echo ============================================================================
echo.
goto halt
:then5
echo Connection to the KMS server failed!
echo Trying to connect to another one . . .
echo.
set /a i+=1
goto server
:notsupported
echo ============================================================================
echo.
echo Sorry, your version is not supported :(
echo.
:halt
echo Press any key to exit . . .
pause >nul
@bob1171
Copy link

bob1171 commented Nov 19, 2020

is this legit?

@cheesits456
Copy link
Author

tried and true 👍

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