Advertisement
FreeBooter

BSoD.bat

Sep 3rd, 2017
829
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.95 KB | None | 0 0
  1. @Echo Off
  2. Color 1A
  3.  
  4. Cd %systemroot%\system32
  5.  
  6. Call :NoAdmin
  7.  
  8.  
  9.  
  10. Cls & Mode CON  LINES=11 COLS=80 & Color 0D &Title Created By FreeBooter
  11. Echo.
  12. Echo.
  13. Echo.
  14. Echo       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  15. Echo       º Do You Want To Enable Classic BSOD Error Screen (Y/N)? º  
  16. Echo       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  17. Echo.
  18. Echo.
  19.  
  20.  
  21. Set /p input= RESPONSE:
  22. If /i  Not %input%==Y (Goto :_Ex) Else (Goto :_Start)
  23.  
  24. :_Ex
  25. If /i Not %input%==N  (Goto :EOF) Else (Goto :_RegRestore)
  26.  
  27.  
  28.  
  29. :_Start
  30.  
  31. Reg Add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl" /v "DisplayParameters" /t REG_DWORD /d "1" /f
  32.  
  33.  
  34. Cls & Mode CON  LINES=11 COLS=57 & Color 0D &Title Created By FreeBooter
  35. Echo.
  36. Echo.
  37. Echo.
  38. Echo       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  39. Echo       º Classic BSOD Error Screen Enabled º  
  40. Echo       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  41. Echo.
  42. Echo.
  43. ping -n 8 localhost >nul
  44. Exit
  45.  
  46.  
  47. :_RegRestore
  48. Reg Delete "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl" /v "DisplayParameters" /f >nul
  49.  
  50.  
  51. Cls & Mode CON  LINES=11 COLS=57 & Color 0D &Title Created By FreeBooter
  52. Echo.
  53. Echo.
  54. Echo.
  55. Echo       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  56. Echo       º Classic BSOD Error Screen Disabled º  
  57. Echo       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  58. Echo.
  59. Echo.
  60. ping -n 8 localhost >nul
  61. Exit
  62.  
  63.  
  64.  
  65. :NoAdmin
  66. Reg query "HKU\S-1-5-19\Environment"
  67. If Not %ERRORLEVEL% EQU 0 (
  68.  Cls & Mode CON  LINES=5 COLS=48 & Color 0C &  Title  .....................- WARNING -.......................
  69.  Echo.
  70.  Echo.
  71.  Echo  YOU MUST HAVE ADMINISTRATOR RIGHTS TO CONTINUE
  72.  Pause >Nul & Exit
  73. )
  74.  Cls
  75.  Goto :eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement