Combining registry with permission control completely prevents automatic operation

Source: Internet
Author: User

Using the Registry Editor and permission control, you can completely eliminate autorun. inf calls when you double-click a 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.

In this way, the problem caused by automatic running and double-clicking the drive letter can be completely solved.

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.