@echo off
echo 加载注册表echo.reg load HKLM\sys %1\WINDOWS\system32\config\system >nul 2>nulif errorlevel 1 (echo 注册表加载出错goto fail)reg add "HKLM\sys\ControlSet001\Control" /v BootDriverFlags /t REG_DWORD /d 4 /f >nulreg add "HKLM\sys\ControlSet001\Control\PnP" /v PollBootPartitionTimeout /t REG_DWORD /d 30000 /f >nulecho.
reg unload HKLM\sys >nul 2>nulif errorlevel 1 (echo 注册表断开出错goto fail)echo 注册表修改完成。echo.goto EOF:fail
echo 操作无法完成:eof