├── README.md └── script.bat /README.md: -------------------------------------------------------------------------------- 1 | # Activate Windows 10 Pro 2 | 3 | This script requires you to have a non-activated version of Windows 10 Pro installed on your machine. 4 | 5 | The script will not upgrade your current version, you have to download and install Windows 10 pro then use this script for it to work. 6 | 7 | The script enters in a valid (but already used) Windows 10 license code, it then replaces the Windows key management server with a different server that will always return "valid" on an invalid key. 8 | 9 | There is no risk with this script; should the kms server go down, there are plenty of other servers to choose from: https://gist.github.com/vikassaini01/802ebf2b445154692d103cb04fd2bb9b 10 | -------------------------------------------------------------------------------- /script.bat: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | 3 | REM Check/Get permission 4 | :check_Permission 5 | NET session >nul 2>&1 6 | IF %errorLevel% == 0 ( 7 | GOTO Activator 8 | ) ELSE ( 9 | GOTO UACPrompt 10 | ) 11 | 12 | :UACPrompt 13 | ECHO Set UAC = CreateObject("Shell.Application") > "%temp%\getadmin1.vbs" 14 | ECHO UAC.ShellExecute "cmd","/c ""%~s0"" %*", "", "runas", 1 >> "%temp%\getadmin1.vbs" 15 | "%temp%\getadmin1.vbs" 16 | DEL "%temp%\getadmin1.vbs" 17 | EXIT 18 | 19 | :Activator 20 | SLMGR /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX 21 | SLMGR /skms kms.digiboy.ir 22 | SLMGR /ato 23 | EXIT 24 | --------------------------------------------------------------------------------