Disabling autorun from a flash drive in windows 7. Autorun flash drive: turn it on yourself. Basics of using the AutoPlay feature

💖 Like it? Share the link with your friends

I can assume that among Windows users there are many who autorun disks, flash drives and external hard drives not really needed and even annoying. Moreover, in some cases, it can even be dangerous, for example, this is how viruses appear on a flash drive (or, rather, viruses that spread through them).

In this article I will describe in detail how to disable autorun of external drives, first I will show how to do it in the local group policy editor, then using the registry editor (this is suitable for all OS versions where these tools are available), and I will also show how to disable Autoplay in Windows 7 through the control panel and the way for Windows 8 and 8.1 through changing computer settings in the new interface.

If in your Windows versions there is no local group policy editor, then you can use the registry editor. To do this, launch the registry editor by pressing the Win + R keys on your keyboard and typing regedit(after that - press Ok or Enter).

You will need two registry keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\policies\Explorer\

In these sections, you need to create a new DWORD value (32 bit) NoDriveTypeAutorun and give it the hexadecimal value 000000FF.

Restart your computer. The option we set is to disable autorun for all drives in Windows and other external devices.

Disabling Autorun Drives in Windows 7

To begin with, I’ll let you know that this method is suitable not only for Windows 7, but also for the eight, just in latest Windows many of the settings made in the control panel are also duplicated in the new interface, in the “Change computer settings” item, for example, it is more convenient to change settings using the touch screen. However, most of the methods for Windows 7 continue to work, including the way to disable autorun drives.

Go to panel Windows controls, switch to the Icons view if you have category view turned on, and select Autoplay.

After that, uncheck "Use AutoPlay for all media and devices", and set all media types to "Do nothing". Save your changes. Now, when you plug a new drive into your computer, it won't automatically try to play it.

Autoplay in Windows 8 and 8.1

The same thing that was done using the control panel in the section above can also be done in changing Windows 8 settings, to do this, open the right panel, select "Settings" - "Change computer settings".

Thank you for your attention, I hope it helped.

Information applicable to products

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

Cause

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 writes to HDD executable malicious file and writes the path to it in the file autorun.inf hard drive. When a hard drive is connected, the system launches the autorun.inf a malicious file that infects the computer. Thus, an attacker can gain control over the system and user data. Located in random access memory infected computer, the malicious code, in turn, when new hard drives are connected, writes a copy of its executable file to them and writes itself into their file autorun.inf, thereby ensuring its further distribution.

Consequences of the fix

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

Good afternoon, dear readers, new and old 🙂, today I want to consider the issue of autorun flash drives and how to disable it. We will consider Windows operating systems, in my case it is version 8.1, but the steps taken are also suitable for Windows 10 and 7, as long as it's all the same, if the small software does not screw up in the future. Definitely autorun, very useful feature, which helps the user to quickly access the connected device, but it also carries the other side of the coin, in terms of reducing security, since your flash drive may have a virus or a malicious trojan that starts running as soon as the usb device opens, below we will consider how is to win.

How to enable autorun flash drive

What is bad about autorun of a flash drive, for example, I already described viruses above, but earlier I told you how to make sure that there are no viruses on your usb devices, it will be interesting to read. Previously, before 2010, the reptile, in all Windows editions at that time, it was enabled by default, and users raked viruses and trojans, this could not continue for a long time, and Microsoft, under the yoke of the user community, took the right measures and released an update. which disables autorun devices, as well as in subsequent versions of the OS.

If you still want to enable autorun of a flash drive or other devices, then this is a simple matter. I remind you to do this, I will use the example of Windows 8.1. We right-click on the start menu and select Control Panel, in Windows 10 everything is the same, in the seven, just start > control panel.

In the window that opens, we are looking for an icon that says Autostart, it is responsible for turning it on and off

As I told you, it is disabled by default. You can see that everything is categorized here.

  • Removable media
  • Memory card
  • DVDs
  • Blu-ray discs
  • CDs

Actions will be available everywhere in different ways, but there are also common

  • Take no action
  • Open folder to view files (explorer)
  • ask every time

For drive media, as you can see, there is also import and playback

Please note that at the point of the program and the game is > ask every time, this is correct for safety. because you should be able to see which program has requested access from you.

disable the autorun of the flash drive, exactly the same, just uncheck the checkboxes and set Do not perform any actions. In Windows 8.1 and even in 10, you can configure these functions in another mode and disable autorun of flash drives and other devices. Press WIN + F, in order for you to have a search box appear from the side, make sure to set where to look (Everywhere) and enter Autorun, wait a couple of seconds for the system to search for the snap-in and select Autorun Options.

You will open mobile version to control the autorun of removable media, use the switch to make the on / off position and set the default parameter below what needs to be done.

You can also get to the Computer and devices menu, here's another method, point the mouse to the right corner and wait until the side menu pops up, select settings> Change computer settings> Computers and devices

As you can see, everything is very simple and I think you will not now have a question about how to disable the autorun of a flash drive or, on the contrary, activate it.

Disable flash drive autorun via registry

For lovers of hardcore :), let me remind you that the registry is essentially a certain area of ​​\u200b\u200bWindows in which its parameters are registered, some such Notebook. With it, you can also activate and deactivate devices. Open the registry, you can use regular tools, but I like the JumpReg utility more, its advantage is that it is free and allows you to go to the desired section in one click. The method is universal, it works starting from Windows 7.

To solve the problem, we need access to these registry keys

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\policies\Explorer\

Copy the path and paste it into the Jumpreg utility


It immediately sends you to the desired section and saves time on searching, this is especially useful for beginners, you can’t make a mistake with the section, it’s almost like with sappers, if you make a mistake and you can put everything.

Both sections require you to create a new DWORD value (32 bit) and name it NoAutorn for the example

with hexadecimal value 000000FF.

It should look like this, after that you turn off autorun.

Disable flash drive autorun via policy editor

Yes, in Windows, the registry has a graphical shell, unfortunately it is not available in all editions of the system, it is not in the basic or initial one, for example. You can open it, that's how you press WIN + R, you will see the Run window, write gpedit.msc there

The Local Group Policy Editor will open.

Go to Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies. You will have access to the following items

  • Turn off autorun
  • Prevent autorun from remembering user selections
  • Disable autorun for devices that are not volumes

We select the Turn off autorun option, it sets the behavior of the system on all devices or only, a complete shutdown, so to speak.

Prevent autorun from remembering the user's choice, sets the policy for turning off phones and memory cards

With this, I end an already long article, the main thing that I taught you is this issue.

In this lesson, we'll look at how to disable autoplay V operating system Windows XP. It happens that along with autorun, various viruses are downloaded to the computer that disguise themselves as the autorun file, so it is highly desirable to disable autorun disks.

If there are viruses on a disk or flash drive, then when we insert a disk into a drive or a USB flash drive into a usb connector, autorun is triggered and a malicious program is installed. And anyway, why do we need this waste of time, when we insert the disk, it starts spinning and the system searches for the autorun file.

There are several ways to disable autorun discs. We will look at a way where group policy will help us in disabling. Group Policy will allow us to disable autorun drives with 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 that we get into group policy. Select "Computer Configuration" on the left, then "Administrative Templates" and then the last "System".

Now on the right we are looking for the line "Disable autorun", double-click on it.

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".

tell friends