Computers Windows Internet

Disable flash drive autoload. Enabling and disabling the autorun of the USB flash drive on the computer. Ways to disable autorun from a USB flash drive

Why disable autoplay? Let's say we find a flash drive and plug it into a USB port on our computer. If the flash drive is infected, then the computer will also get infected with the virus. A classic example is the International Space Station, whose laptops were infected with the W32.Gammima.AG virus, which got there from a flash drive of one of the astronauts in August 2007.

To avoid such troubles, you need to disable the autorun of removable media ( USB flash drives, CDs).

Let's consider how you can disable autorun in different versions of the Windows operating system

Disable autoplay in Windows 8

You need to open the settings panel by pressing the key combination for this Win + W, or you can just go to the "settings" menu (to do this, you need to place the cursor in the lower right corner and move it up). In the search box, type the phrase "autoplay".

In the first case, the settings window will look like this:

And in the second - like this:

By clicking on "autoplay", let's go to the autorun settings:

Here you need to uncheck the box ( Use autoplay for all media and devices). If you now insert any removable media into the computer, the autorun dialog will not appear:

But one trip "autoplay" not enough, it will remove only the appearance of a dialog, programs with external media will probably start automatically - it depends on the following settings:

  • Removable drives
  • Camera storage (Memory card)
  • Blue-ray discs
  • Software

All of these items and sub-items must have the parameter "Take no action" (Take no action), this will be complete shutdown autorun:

Now you need to press the button "Save"(Save) to save the settings. If necessary, the autorun settings can be returned to their original state by clicking the button "Reset all defaults" (Restore defaults).

Click "Start -> Control Panel" and click on "AutoPlay":

Next, uncheck the box in the autorun settings panel that appears "Use AutoPlay for all media and devices" and change the rest of the settings in the same way as for, setting the parameter everywhere "Take no action":

And at the end, you need to press the button "Save" to save your changes. The autorun settings can be returned to their original state by pressing the button. "Reset all defaults".

Disable autoplay in Windows XP

Click "Start -> Run" and enter the command "Gpedit.msc":

The Group Policy Editor window will appear.

Here in the section "Administrative Templates" -> "System" (Administrative Templates -> System) select item "Turn off Autoplay" (Disable autoplay):

Opening this item with a double click of the mouse, set the switch to the position "Enabled"(Enabled), and select the drives where autostart should be disabled - " All drives"(All discs).

Clicking "OK", close the autostart properties window.

How to check if autoplay of USB flash drives is disabled?

To do this, you need to prepare a flash drive in a special way - create a file in its root directory with the name autorun.inf, with the following content:

Open = calc.exe icon = calc.exe action = Test for autoplay shell = TEST shell \ TEST = The Test shell \ TEST \ command = calc.exe label = Try out AutoRun

Also, the file should be placed in the root directory of the flash drive calc.exe by copying it from the current operating system:
C: \ WINDOWS \ system32 \ calc.exe.

Now the flash drive should be removed from the connector (after unmounting it), and reinserted into the usb connector. If after that a dialog like this appears:

This means that autorun is not disabled. You should also click on the flash drive icon in the explorer to make sure that there is no autostart programs.

Check CD autorun in the same way and DVD discs with programs, for this you need a disk, in the root directory of which there is a file autorun.inf running some program from this disk.

Unfortunately, when installing programs, most of them are automatically registered in Windows 7 autostart, even if these are not the programs themselves, then these can be their specific components, for example, designed to send requests for updates. Many computer users are attracted by this fact and want disable autoplay in Windows 7... Also, autorun sometimes becomes a way for various viruses to get on your computer. The computer automatically opens some files that may be infected.

Also, due to the fact that a large number of programs have accumulated in Windows 7 autorun that will start when the computer is turned on, this is hello to the fact that the computer will slow down and dull, since programs consume computer resources, such as processor time and operative memory. this is one of the main reasons for the slowdown in computer performance. In order to get rid of these problems and increase the speed of work, you just need to disable Windows 7 autorun.

The Windows 7 operating system easily allows you to configure, enable / disable startup programs.

In order to find out which programs are in autorun and start working together with turning on the computer, follow these steps:

Start → All Programs → Accessories → Run

In the window that appears, in the open line, type the command:

msconfig

And press OK, in the "System Configuration" menu that appears, go to the "Startup" tab

On the autorun tab, uncheck all the checkboxes of programs that you do not use, or if you do not know what it is, then disable it too, there is even a button - "Disable all"... If necessary, everything can be returned back by ticking the boxes again. There are not many programs that really should be in startup, as a rule it is an antivirus.

After making the changes, click "Apply" → "Ok", the system will offer to restart the computer in order for the changes to take effect, you can do it immediately or do it later.

In Windows 7 autorun, viruses are often registered that begin to work and harm, immediately upon starting the computer, therefore, if there are programs in the autorun that are not known to you, with crooked names, then it is likely that this is a virus that needs to be removed.

Method 2 - Disable Windows 7 autostart

As in the first case, you must have administrator rights to perform these actions. In order to disable autorun, click "Start", type gpedit.msc into the search bar and press "Enter".

The "Local Group Policy Editor" will open, in which you need to open the following path in the left menu:

Computer Configuration -> Administrative Templates -> Windows Components -> Startup Policies

You will see the item - "Disable Autostart", double click on it. Select Enable, select for which devices and click "OK".

Windows 7 disable autorun flash drive

There is another type of autorun, which is responsible for autorun from removable media and flash drives.

To disable autorun Windows flash drives 7, need to open "Control Panel" and drive into the search bar "Autostart" and open it.

Windows 7 disable autoplay drives

Uncheck the first checkbox "Use autorun for all media and devices"

Optionally, you can add the necessary devices to autorun, it is very easy to do this using the drop-down menu.

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

What it is

Autostart is a function built into Windows OS. It automates some processes so that the user does not do it himself. When connected removable media The OS automatically opens the explorer, launches a photo or a player.

Why disable

Let's say there is a virus on the USB stick. It is located in the file that is responsible for automatic start- aurorun.inf. When connected, it will start executable file with a virus. To protect yourself from viruses, this function.

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

How to disable autorun flash drives in Windows 10

We use the "hot" keys "Win + I", go to the "Devices" section.
We find the item "Autostart". We set the switch to the "Off" position, or select devices that are prohibited from opening automatically. To do this, select "Do not execute" from the menu.

Disconnect from the "Control Panel"

Press the key combination "Win + R", then write "control".
Further "Autostart".
Disable the checkbox opposite the "Use for all" item.
Now all devices connected to the PC will not automatically start. Use this method if you need to temporarily disable autorun for a flash drive.
Select individual shutdown from the drop-down menu for a specific device. Check the box "Do not execute".

We work with the registry

When using this method Account must have Administrator rights.

Open the "Registry Reactor". Press "Win + R", write the command "regedit".
Navigate to the registry branch as shown in the screenshot. We find the parameter "NoDriveTypeAutorun". Click on it twice with the left mouse button and assign the value 000000FF.
Reboot your PC to activate the changes

Disable using Group Policy Editor

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

Press "Win + R", write 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.

Check that the parameter is set for "All devices".

How to disable autorun flash drives in Windows 8

How to disable autorun Windows 7 flash drives

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. Reboot your computer.

Output

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


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

But the autorun of the flash drive will be safe and harmless only if a high-quality antivirus is installed on your computer. Otherwise, you risk infecting your system. malicious files and lose a lot of data from your hard disk.

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

To avoid problems with viruses and glitches, I recommend that you disable the autorun of flash drives. This is very easy to do, and with the help of this instruction you will generally cope with the task at hand in a matter of minutes. Let's take a look at a few ways to help you disconnect. USB autorun data carriers.

Method one

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

So, open the Start Menu. Then in the search box enter the following phrase “ Change group policy ". Your system will find the appropriate 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 " Local Group Policy Editor". On the left you will see a tree-shaped menu. Click on the folder " Administrative Templates", then " Autorun policy". On the right side of the window, you will see 4 states. You need to open the first one, which is named " Disable autorun».


After that, a new dialog box "Turn off autostart" will open. In the upper left corner you have 3 states of this parameter " Not set», « Included" and " Disabled". You probably already guessed that you need to check the box next to " Disabled».


In order to save the settings, press the button " Apply».


Second way

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

To get started, go to “ Control Panel". Then set the view to "small icons". Now find the parameter " Autostart". We open it.


And now you have a lot of room to customize your preferences. Here you can configure autoplay of disks, software, memory cards and, of course, removable media.

For those who just want to disable the autorun of flash drives and other devices, I recommend simply unchecking the box from the item " Use autoplay for all media and devices", Which is located at the very top. Then press the button " Save».


Third way

A very useful tool that is able to block viruses from accessing your computer under the removable media autorun tool. And most importantly, this utility is absolutely free.

There is also a similar free program Antirun. I will not mention the paid ones, since you can find them anyway.

Fourth way

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

So we looked at 4 of the simplest and very easy ways to disable an option such as autorun a flash drive or any other removable media. Hope this tutorial helped you.

Autorun function operating systems the Windows family is designed for automatic opening or executing files located on various kinds of removable media such as DVD, Blu-Ray discs and USB flash drives. This is often very convenient, as it eliminates some unnecessary steps. When the disk is connected, the system tries to check for the existence of the autorun.inf file on the disk and, if present, executes the instructions contained in it. This function was used by the creators of various malicious software, who created a whole family of dangerous programs called autorun viruses.


If by the nature of your activity you are forced to constantly use removable USB drives from unverified sources on your computer, then the only way to protect yourself from autorun viruses will be to disable the autorun of the flash drive and other media.

Like many other things in Windows, you can disable the autorun of a flash drive in various ways, which, moreover, may still differ depending on the version and type of operating system.

How to disable autorun flash drives in Windows 7
Windows 7 provides the most convenient way to disable AutoPlay. You will be required to complete the following steps.

Disable autorun on all versions of Windows
On all versions of operating Windows systems, except for Windows XP Home Edition, Windows Vista Starter, Windows Vista Home Basic and Windows 7 Starter and Windows 7 Home Basic, you can disable autorun of removable media through the control group policies... To do this, do the following:

How to disable autorun flash drives in other versions of Windows
In those versions of Windows operating systems that do not have a group and local policy editor (Windows XP Home Edition, Windows Vista Starter, Windows Vista Home Basic, Windows 7 Starter, Windows 7 Home Basic), autorun can be disabled in the following way:

  1. Click the "Start" button, select "Run" from the menu that appears.
  2. Type regedit in the box and press Enter on your keyboard.
  3. On the left side of the Registry Editor window, sequentially expanding the tree of elements, find the line HKEY_CURRENT_USER / SOFTWARE / Microsoft / Windows / CurrentVersion / Policies / Explorer / NoDriveTypeAutoRun.
  4. Click right click mouse on DriveTypeAutoRun and select "Change" in the menu that appears.
  5. In the window that opens, in the value field, enter 0x4 to disable autorun on removable drives. Click the "OK" button to save the changes and close the registry editor.
  6. Reboot your computer.
If necessary, you can always turn off autorun again if you find it inconvenient to work at a computer without it.