China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 10:23
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] How to bypass the IBM BIOS checking program View 1,414 Replies 0
Original Poster Posted 2003-10-10 00:00 ·  中国 江苏 连云港 电信
初级用户
Credits 192
Posts 27
Joined 2003-01-04 00:00
23-year member
UID 673
Gender Male
Status Offline
After I executed the following batch file, it showed that the BIOS could not pass the check. The original text is as follows:
REM Check to see if this is running from Service Partition
SET REC1=/P:%DRV%\RECOVERY
IF %DRV%==C: SET REC1=/SP
IF %DRV%==c: SET REC1=/SP
SET PATH=%PATH%;%DRV%\RECOVERY

:START
IF EXIST %DRV%\RECOVERY\RECOVER.EXE %DRV%\RECOVERY\RECOVER.EXE %REC1%
IF ERRORLEVEL 2529 GOTO CFGSAFE
IF ERRORLEVEL 2528 GOTO PCR_REST
IF ERRORLEVEL 2527 GOTO DIAGDISK
IF ERRORLEVEL 2525 GOTO DIAG
IF ERRORLEVEL 2524 GOTO RRDISK
IF ERRORLEVEL 2523 GOTO SYSINFO
GOTO DONE

:SYSINFO
IF EXIST %DRV%\SYSINFO.BAT CALL %DRV%\SYSINFO.BAT
GOTO START

:DIAG
IF EXIST %DRV%\DIAG.BAT CALL %DRV%\DIAG.BAT
GOTO START

:RRDISK
IF EXIST %DRV%\RRDISK.BAT CALL %DRV%\RRDISK.BAT
GOTO START

:DIAGDISK
IF EXIST %DRV%\DIAGDISK.BAT CALL %DRV%\DIAGDISK.BAT
GOTO START

:PCR_REST
IF EXIST %DRV%\PCR_REST.BAT CALL %DRV%\PCR_REST.BAT
GOTO START

:CFGSAFE
IF EXIST %DRV%\CFGSAFE.BAT CALL %DRV%\CFGSAFE.BAT
GOTO START

:DONE

Specific image package download: ftp://218.92.13.202/ibm.gho
Forum Jump: