Get the App
SLTechnology News&Howtos  ›  Development  › 

How to turn off the batch processing of IDE channel detection

Shulou Source: shulou.com Published: 2022-06-03 08:16:25 10月02日 Update

This article mainly shows you "how to close the batch of IDE channel detection", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to close the batch of IDE channel detection" this article.

Example

:: modify the IDE channel detection device mode, and set the device not connected to none. Improve XP startup speed: it is recommended that you run @ set _ debug= @ echo% _ debug% off & setlocal ENABLEDELAYEDEXPANSION set hkey1=HKLM\ SYSTEM\ CurrentControlSet\ Enum\ PCIIDE\ IDEChannel set hkey2=HKLM\ CurrentControlSet\ Control\ Class for / f "usebackq tokens=*"% I in (`reg query% hkey1% ^ | find / I "IDEChannel\" `) do call: _ check "% I" goto: eof: _ after the system reboot detects all installed devices 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 channel 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%" device 0 detection mode is set to none. : _ 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%" device 1 detection mode is set to none. Goto: eof above is all the content of the article "how to turn off batch processing for IDE channel detection". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Testing channels equipment content articles methods learning help suggestions connecting equipment easy to understand more organization testing equipment patterns knowledge examples systems tape industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Huawei Apple Shulou Information Redmi