Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to turn off the batch processing of IDE channel detection

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report