Registry Editor + permission control, completely eliminating Autorun

Source: Internet
Author: User

 
Iamcj blog

In the previous Make a anti-autorun batch, we discussed how to disable the Shell Hardware Detection Service to prevent the automatic operation of the disc/USB flash drive during insertion, there are also a considerable number of discussions, removing the question of no nutrition in the middle, which puts forward three points worth noting:

Through rd/s/q, you can directly Delete the autorun. inf directory containing the dot directory;
You can also rename the autorun. inf directory that contains the vertex directory;
Disabling Shell Hardware Detection will make the system unable to recognize the drive type of CD/DVD;
Most importantly, even if auto-running is disabled, most users still "manually call auto-Execute" because of double-clicking the drive letter in my computer to infect the virus ...... OK, the main character is playing today!

According to the opinions of cnlong friends on cnbeta, the test passes and uses Registry Editor + permission control to completely prevent autorun. inf calls when you double-click the drive letter. The specific method is as follows:

1. Start -- run -- regedit;
2. Locate HKEY_CURRENT_USERSoftwareMicrosoftWindows.
CurrentVersionExplorerMountPoints2;
3. Right-click MountPoints2 -- permission;
4. Add -- enter everyone -- check name -- OK;
5. Select the deny option in the "full control" column. The answer to the security warning is;

It should be a perfect solution: after such permission settings, the autorun. inf calls will be blocked. By default, the directory will be opened when the discs and USB flash disks with autorun are loaded. Double-click the drive letter to open the directory rather than execute the program, at the same time, the right-click menu will not display any form of Automatic Running menu.

For analysis, the key value should be used by Windows to record and manage the right-click menu on the double-click drive letter and drive letter, find it in it, and then decide what operations to perform. If you look at it carefully, you will find more content. After we shield the operation permission of this key value from everyone, the system will not be able to access the corresponding table, so only the open operation will be available.

The combination of the content mentioned in the two articles should completely solve the problems caused by automatic running and double-click drive letters!

Test, available.

Comments:
Advantage: autorun operation is eliminated to prevent spreading of the USB flash drive virus;
Disadvantages:
The CD autorun does not work, and the U3 USB Flash Drive autorun does not.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.