In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you how to turn off all partition auto-playback and resume all partition auto-play cmd batch processing, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Using the method, create a new .TXT text document and paste the following red area code into it.
Then save to * .bat suffix or * .cmd suffix batch file format to run and use!
1. Turn off auto playback of all partitions
The code is as follows:
@ ECHO OFF
@ ECHO.
@ ECHO. Please don't say it.
@ ECHO.
@ ECHO-
@ ECHO nowadays, there are many kinds of viruses that rely on the flash drive auto-playback function to spread wantonly, sometimes it is difficult for us to prevent, it is more nerve-racking than
@ ECHO as the most popular Weijin variant nowadays! This operation will completely turn off the auto-playback function of all drives, please use it with caution!
@ ECHO-
@ ECHO.
Echo. & pause
Reg delete HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer / v NoDriveTypeAutoRun / f
Reg add HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer / v NoDriveTypeAutoRun / t REG_DWORD / d 255 / f
Cls
Echo.
Echo.
Echo.
Echo.
Echo closed all drives to automatically play successfully!
Echo.
Echo. & pause
two。 Resume auto playback of all partitions
The code is as follows:
@ ECHO OFF
@ ECHO.
@ ECHO. Please don't say it.
@ ECHO.
@ ECHO-
@ ECHO turning off the autoplay function of all drives may cause some inconvenience to your operation. This program can restore the XP default.
@ ECHO autoplay function, but we remind you to do a good job of virus defense!
@ ECHO-
@ ECHO.
Echo. & pause
Reg delete HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer / v NoDriveTypeAutoRun / f
Reg add HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer / v NoDriveTypeAutoRun / t REG_DWORD / d 223 / f
Cls
Echo.
Echo.
Echo.
Echo.
Echo restore all drives auto play successfully!
Echo.
Echo. & pause
The above is all the contents of the article "how to turn off auto-playback of all partitions and resume cmd batches of auto-playback of all partitions". 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.