创建个记事本文件:写入以下代码:
@echo off & color 1f
:1
if "%1"=="" goto :FullScreen
::还原显示模式
REG Add HKEY_CURRENT_USER\Console /v FullScreen /t REG_DWORD /d %1 /f>nul
::全屏状态下代码段
cls
echo A problem has been detected and windows has been shut down to prevent damage to your computer.
echo .
echo DRIVER_IRQL_NOT_LESS_OR_EQUAL
echo .
echo If this is the first time ...
echo .
echo If ... continue,press F8 to select advanced startup options, and then select saft mode.
echo .
echo Technical information:
echo .
echo *** stop:0X000000D1(0X00000040,0X00000002,0X00000001,0XF9A5E150)
echo .
set /p wkdxz=*** wanarp.sys-Address F9A5E150 base at F9A59000, Datestamp 41107C89<nul
pause>nul
Goto :1
:FullScreen
::查询显示模式
Set ShowMode=0
for /f "delims=" %%i in ('REG QUERY HKEY_CURRENT_USER\Console /v "FullScreen"') do (
Set ShowMode=%%i
)
Set ShowMode=%ShowMode:~-1%
::设置显示模式为全屏
REG Add HKEY_CURRENT_USER\Console /v FullScreen /t REG_DWORD /d 1 /f>nul
::全屏启动当前Bat脚本
start "" %0 %ShowMode%
保存后,把文件后缀名由txt改成bat。这个恶作剧文件只是个假