:: 修改IDE通道检测设备模式,不接设备的设置为无,提高XP启动速度 :: 建议在系统第二次重新启动检测到所有已经安装的IDE设备后运行 :: Author: Climbing(xclimbing@msn.com) :: Date: .. @set _debug= @echo %_debug% off & setlocal ENABLEDELAYEDEXPANSION set hkey1=HKLMSYSTEMCurrentControlSetEnumPCIIDEIDEChannel set hkey2=HKLMSYSTEMCurrentControlSetControlClass for /f "usebackq tokens=*" %%I in (`reg query %hkey1% ^| find /i "IDEChannel"`) do call :_check "%%I" goto :eof :_check ::echo %1 set subkey= for /f "usebackq tokens=3*" %%J in (`reg query %1 ^| find /i "driver"`) do set subkey=%%J set DriverDesc= for /f "usebackq tokens=3,4*" %%K in (`reg query "%hkey2%%subkey%" /v DriverDesc ^| find /i "driverdesc"`) do set DriverDesc=%%K %%L 通道 reg query "%hkey2%%subkey%" /v MasterDeviceType | find /i "0x1" > nul if %errorlevel%==1 goto _ChgMaster goto _CheckSlave :_ChgMaster reg add "%hkey2%%subkey%" /v UserMasterDeviceType /t REG_DWORD /d 3 /f echo “%DriverDesc%”的设备0检测方式设置为无。 :_CheckSlave reg query "%hkey2%%subkey%" /v SlaveDeviceType | find /i "0x1" > nul if %errorlevel%==1 goto _ChgSlave goto :eof :_ChgSlave reg add "%hkey2%%subkey%" /v UserSlaveDeviceType /t REG_DWORD /d 3 /f echo “%DriverDesc%”的设备1检测方式设置为无。 goto :eof
推荐整理分享关闭IDE通道检测的批处理(ide通道怎么打开),希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:怎么关闭idesk,如何打开ide通道,bios关闭ide检测,bios关闭ide检测,关闭ide自检,关闭ide自检,关闭ide通道检测怎么关闭,关闭ide通道检测怎么关闭,内容如对您有帮助,希望把文章链接给更多的朋友!
取得硬盘数.bat @echooffcd.script.txtscript.txtecholistdiskfor/f%%iin('diskpart/sscript.txt^|find/c^"联机^"')doSetHardDrivers=%%idelscript.txt/qecho您的计算机上硬盘安装数量为:%HardDrivers%pause
右键菜单中添加打开MS-DOS的批处理bat regadd"HKCR*shellms-dos"/ve/dms-dos/fregadd"HKCR*shellms-doscommand"/ve/d"cmd.exe/kcd%%1"/fregadd"HKCRFoldershellms-dos"/ve/dms-dos/fregadd"HKCRFoldershellms-doscommand"/ve/d"cmd.exe/kcd
win关机命令的批处理bat @echooffsetlocalcd/d%temp%echoSetcolOperatingSystems=GetObject("winmgmts:{(Shutdown)}").ExecQuery("Select*fromWin_OperatingSystem")shutdown.vbsechoForEachobjOperatingSystemincolOperatingSystemsshutd