Disabling autorun in Windows 7 flash drives. Enabling or disabling autorun of a flash drive on a computer


Undoubtedly, autorun of a flash drive or any other removable storage media is very convenient for users. Simply insert the device into USB output on a computer or laptop and voila, you will immediately see its contents with files and folders. Thus, you save yourself from unnecessary clicks.

But autorunning a flash drive will be safe and harmless only if you have a high-quality antivirus installed on your computer. Otherwise, you risk infecting your system with malicious files and losing a lot of data from your hard drive.

Also, if there are a lot of files on your flash drive, then during autostart there is a chance that the computer will slow down and glitch. This drawback only applies to owners of old and weak computers or laptops.

To avoid problems with viruses and glitches, I recommend that you disable autorun of flash drives. This is done very easily, and with the help of these instructions you will generally cope with the task in a matter of minutes. Let's look at several methods that will help you disable autorun of USB storage media.

Method one

This method of disabling autorun of a flash drive is suitable for users of both Windows 7 and Windows 8.

So, open the Start menu. Then enter the following phrase into the search bar “ Change group policy " Your system will find the corresponding section in the Control Panel. Click on it.


For users of the Windows 8 operating system, I advise you to install the same Start menu as on my computer. You can read how to do this.

The dialog box “ Local Group Policy Editor" On the left you will see a tree-shaped menu. Click on the folder " Administrative Templates", then " Autostart policy" On the right side of the window you will see 4 states. You need to open the first one, which is called “ Disabling autorun».


This will open a new “Turn off autorun” dialog box. In the upper left corner you have 3 states of this parameter " Not specified», « Included" And " Disabled" You probably already guessed that you need to check the box next to “ Disabled».


To save the settings, click the " Apply».


Second way

This method will help you not only disable autorun of a flash drive, but also configure it for a specific type of device. Well, of course, you can also disable everything at once.

To get started, go to " Control Panel" Then set the view to "small icons". Now look for the parameter “ Autorun" Let's open it.


And now you get a lot of space to customize your preferences. Here you can configure disk autorun, software, memory cards and, of course, removable media.

For those who want to simply disable autorun of flash drives and other devices, I recommend simply unchecking the “ Use autorun for all media and devices", which is located at the very top. Then click the " Save».


Third way

A very useful tool that can block viruses from accessing your computer through autorun of removable media. And most importantly, this utility is absolutely free.

There is also a similar free program Antirun. I won’t mention paid ones, since you can find them anyway.

Fourth method

Most antiviruses have a function to disable autorun of flash drives. This is usually set by default, but I advise you to play it safe and go through the settings of your antivirus.

So we looked at 4 of the simplest and very easy ways to disable such an option as autorun of a flash drive or any other removable storage device. I hope this instruction helped you.

In this tutorial we will look at, how to disable disk autorun V operating system Windows XP. It happens that along with autorun, various viruses are downloaded to the computer, which disguise themselves as an autorun file, so it is highly advisable to disable autorun of disks.

If there are viruses on a disk or flash drive, then when we insert the disk into the drive or flash drive into the USB connector, autorun is triggered and installs a malicious program. And in general, why is this waste of time necessary? When we insert the disk, it starts spinning and the system searches for the autorun file.

There are several ways to disable disk autorun. We will look at a method where Group Policy will help us disable it. Group Policy will allow us to disable disk autorun in just a few clicks.

To do this, we go to “Start” and click “Run”.

In the window that appears, write Gpedit.msc and press the Enter key.

After this we get to Group Policy. Select “Computer Configuration” on the left, then “Administrative Templates” and then the last one “System”.

Now on the right we look for the line “Disable autorun”, click on it twice.

In the next window, set the switch to the “Enabled” position, and below we select “Disable autorun on: all drives.”

That's all, now click “Apply” and “OK”.

Are you familiar with this situation? You insert a flash drive, a window with options for actions automatically opens. This function worked automatic start. On the one hand, this is convenient, but on the other hand, it is potentially dangerous. Let's look at how to disable autorun of a flash drive in Windows different ways.

What it is

Autorun is a function built into Windows OS. It automates some processes so that the user does not have to do it himself. When you connect removable media, the OS automatically opens the explorer and launches a photo or player.

Why disable

Let's say there is a virus on the flash drive. It is placed in the file that is responsible for automatic launch - aurorun.inf. When connected, an executable file with a virus will launch. To protect yourself from viruses, this function.

Disabling this function will not protect you one hundred percent from viruses. Use .

How to disable autorun of a flash drive in Windows 10

Use the hot keys “Win+I” and go to the “Devices” section.
Find the “Autostart” item. Set the switch to the “Off” position, or select devices that you do not want to open automatically. To do this, select “Do not execute” from the menu.

Disabling from the Control Panel

Press the key combination “Win ​​+ R”, then write “control”.

Next is “Autostart”.

Disable the checkbox next to “Use for everyone”.

Now all devices connected to the PC will not start automatically. Use this method if you need to temporarily disable autorun for a flash drive.
Select individual shutdown from the drop-down menu for specific device. Check the “Do not execute” option.

Working with the registry

When using this method Account must have Administrator rights.

Open the “Registry Reactor”. Press “Win+R”, enter the command “regedit”.

Go to the registry branch as in the screenshot. Find the “NoDriveTypeAutorun” parameter. Double-click on it with the left mouse button and assign the value 000000FF.

Reboot your PC to activate the changes

Disabling using Group Policy Editor

There is no such Editor in Windows 10 Home, so use the other methods described.

Press “Win+R”, enter the command “gpedit.msc”.

Further, as in the screenshot.

We find “Politicians”. Double-click on it with the left mouse button. Click "Shutdown".

Set the checkbox to the “Enabled” position.

How to disable autorun of Windows 7 flash drive

Use the methods described above. When editing the registry, you will need two registry branches. The first is the same as in the method described above. The second is as in the screenshot.

Set the NoDriveTypeAutorun parameter to the hexadecimal value 000000FF. Restart your computer.

Conclusion

We looked at how to disable autorun of a flash drive on Windows 10. Use the methods described above to protect yourself from malicious code entering your system. Be careful when editing the registry. Incorrect actions can lead to disruption of the OS. So create .

Information applies to products

Kaspersky Internet Security
Kaspersky Anti-Virus
Kaspersky Total Security
Kaspersky PURE
Kaspersky Small Office Security

Cause of occurrence

The cause of the problem may be incorrect settings.

Description

There is malware that spreads by creating copies of itself on all available hard drives using their autorun. The attacker records on HDD performing malicious file and writes the path to it in the file autorun.inf hard drive. At connecting hard disk, the system starts the one registered in autorun.inf a malicious file that infects your computer. This way, an attacker can gain control of the system and user data. Located in random access memory infected computer with malicious code in turn when connecting new hard drives records a copy of his executable file and registers himself in their file autorun.inf, thereby ensuring its further spread.

Consequences of the correction

Disabling autorun from hard drives does not in any way affect the system boot (multi-boot) and does not affect its performance. The fix only affects file autorun autorun.inf, which may contain links to malware. By default, autorun from hard drives is disabled.