Computers Windows Internet

Autorun flash drives in windows 7. Enabling and disabling autorun flash drives on the computer. What it is

Why disable autorun from a USB flash drive at all? The fact is that if a flash drive is infected with a virus, then when you connect it to a computer, autorun starts with a proposal to select an option for viewing the contents, and through it, your computer is infected with a virus. Therefore, it is better to disable it, especially since it is not particularly needed. You can just insert the USB stick into USB port and open "My Computer", where you can view its contents without any autorun.

Attention! This method only suitable for operating system windows 7, so if you have a different system installed, then this option will not work.

The first thing we do is press the "START" button and go to the Control Panel

Going into the control panel, in the search box (upper right corner), type the phrase "Change group policy". The computer will find and display the "Administration" item. Here we click the line "Change group policy"

Then on the left we find and open the "Administrative Templates" folder, then open the "Windows Components" and find the "Autorun Policy" folder. In the right part of the window, double-click the left mouse button on the item "Disable autorun"

A window should open, where we mark the item "Enable" with a dot, thereby deactivating it (for some reason, everything is the other way around, it seems like it should be written "off")

All is ready! Disabling autorun from a portable flash drive will help you avoid virus infection of your computer. Using the same method, you can enable autostart by performing all the same actions, only at the last stage we put a full stop on the "Not set" item.

Labels antiviruses, computer, flash drives. Permalink bookmark.

xn ---- qtbefdidj.xn - p1ai

Flash drive autorun and how to disable it in windows

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 this is version 8.1, but the steps taken are also suitable for windows 10 and 7, as long as it is all the same, if melkosoft does not screw up in the future. Of course, autorun is a very useful function that helps the user to get access to the connected device faster, but it also carries the other side of the coin, in terms of reducing security, since your flash drive may have a virus or malicious Trojan that starts launching as soon as usb device opens, below we will consider how to defeat it.

How to enable autorun flash drive

Why is the autorun of a flash drive bad, for example, I have already described above, viruses, but earlier I told you how to make sure that on your usb devices there were no viruses, it will be interesting to read. Earlier, before 2010, the bastard, in all windows editions at that time, it was enabled by default, and users raked out viruses and trojans, this could not last 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 the 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. 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 on and off

As I told you, it is disabled by default. You can note 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 general

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

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

Please note that at the point of the program and the game it is worth asking> every time, this is correct for security. since you should see which program has requested access from you.

disable the autorun of the flash drive, in exactly the same way, only it is worth removing the jackdaws and setting Do not perform any actions. In windows 8.1 and even in 10, you can still configure these functions in a different mode and disable the autorun of flash drives and other devices. Press WIN + F, so that you have a search window from the side, set it to be sure where to look (Everywhere) and enter Autostart, wait a couple of seconds for the system to look for the snap-in and select Autostart options.

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

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

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

Disable autorun flash drive through the registry

For hardcore lovers :), let me remind you that the registry is essentially a kind of windows area in which its parameters are written, a kind of Notebook... With its help, you can also activate and deactivate devices. We open the register, you can regular means, but I like the JumpReg utility better, its advantage is that it is free and allows you to jump to the desired section in one click. The method is universal, it works since 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 \

pyatilistnik.org

Enabling and disabling autorun flash drives on the computer

For the convenience of users, Microsoft has created such a built-in function in the operating system as the autorun of a flash drive. Its main task is to simplify the user's work. But the main drawback is the entry into the computer of viruses written on removable media during copying, which was previously used on another PC. And in order to protect your "machine" from malware, you should know how to enable or disable autorun flash drives and other removable media.

What is "autorun"

This is a function that allows you to quickly and without any human action to launch a program on a removable device. It was originally designed for DVD and CD only. Whereas now it can start automatically, even when smartphones are connected. For example, for media with films and music, a player is loaded, for clean disk- software for recording, for photos - viewer, etc. If the removable drive contains files of different types, then a window pops up offering several actions.

The essence of the function is that in the root folder of the removable media you need to create autorun.inf for the flash drive. This is a file that contains a command to automatically launch a specific program. When the drive is turned on, the system will check for the presence of this file and, if it finds it, it will launch it without making unnecessary requests. Many viruses also use this. But there is good way to secure removable equipment is to create an autorun file for the flash drive. In this case, the malware will not be able to register it by itself, since it already exists and thus will not start when the device is connected to the computer.

IMPORTANT. Many virus writers know this trick and can easily delete this file from removable media. Therefore, the question of equipment infection with viruses should be taken more seriously.

Before turning on the autorun flash drive, you need to open the control panel in the "Start" menu and select "Autorun". Opposite the entry "Use for all media and devices" check the box.


Opposite the entry "Use for all media and devices" must be ticked

The process of enabling and disabling this feature in XP is a little more complicated. To do this, you need to go to the "Group Policy". In the "Start" menu, find the "Run" tab, register the command gredit.msc and press "enter". In the window that opens, select "Computer Configuration", "Administrative Templates" and "System". On the right side, find the line "Disable startup".

Click on Disable autostart

To enable the function, mark the item "Disabled" (not set) and confirm "OK". And to disable it, select the line "Enabled" and "For all drives with confirmation of selection."

After you have done the autorun of the flash drive, you should insert the removable drive into the PC and check the operation of the system.

Basics of using the AutoPlay feature

  • You should be aware that the autorun for a flash drive itself does not contain malicious code, but only has a link to an existing file with a virus from the Internet.
  • Malicious utilities are also written to the Autorun folder when copied with the extensions .inf, .bat, .exe, .pif, .ini, .cmd, etc.
  • You cannot immediately launch a file or group of autorun files. You need to open them using software for viewing (for example, notepad) and check for viruses.
  • If, when copying data, in addition to the necessary information, an autorun is found, then it should be deleted. And if it is not deleted or disappears, and after a minute is recreated, then the computer is infected.
  • Also, to disable the function, you can use various optimization programs (tweakers). But it is better to do it manually, for greater security.

Why create Autorun.inf

Before making an autorun for a flash drive, you need to know that you should not just create a folder, but make it such that malicious software cannot delete it. And in order for the virus to be unable to understand how to remove autorun.inf from the flash drive, it must be hidden. In this case, it can act as an indicator. For example, if a flash drive contains viruses, then they probably already tried to delete this folder, and during this operation it ceases to be hidden. Thus, it becomes clear that there is malware... And since how to remove the autorun from the flash drive in a simple way will not work, you need to either format it, or clear it with AVZ antivirus, or use the FlashGuard program.

Now, knowing how to enable or disable the autorun of removable hardware and secure it with the autorun file, you can significantly reduce the virus attack on your computer or laptop.

NastroyVse.ru

How to enable or disable autorun removable media (drives, flash drives, external drives) in windows 7


In this article we will look at how to disable autorun in windows 7. By default, autorun of disks, flash drives and other media is enabled ... How to enable or disable autorun of removable media (drives, flash drives, external drives) in windows 7


In this article, we will look at how to disable autoplay in windows 7. By default, autoplay of disks, flash drives and other media is enabled. Sometimes it gets very annoying. To disable it, you need to do a few simple steps.

And so, to disable autorun, go to "Start", then "Control Panel".

house-computer.ru

Autostart in windows 7

What is autorun? When autorun is enabled, when removable media are connected to the computer (flash drives, players, optical disks, USB hard drives, etc.), executable files on them are allowed to run.

For clarity, here's an example:

You insert the driver disc into the drive. The windows system reads the disk, finds it on it executable file setup.exe and runs it. As a result, a dialog box opens with a proposal to install the driver.

You can see how it looks in the image below (a disc with software for an mp3 player is used).

DVD movies, music CDs, and more can also play automatically.

Pros and cons of autorun

Autostart eliminates the need to search for an executable file yourself, which is extremely convenient. However, it also has its drawbacks.

Most viruses are executable files, which means that when an infected flash drive is connected to a computer with autorun enabled, the malicious program can be installed automatically. It is not uncommon for computer users to be annoyed by constantly pop-up windows with auto-start, especially with frequent use of flash drives and CDs.

Conclusions: Autorun has both advantages and disadvantages.

Each person must decide for himself whether he wants to use it or not. There are no best recommendations.

How to disable autoplay in windows 7

Disabling autorun in windows 7 is not as relevant as in windows XP, since in most cases executable files are launched only after the consent of the computer user, which reduces the risk of installing viruses. And when using good antivirus(for example, Kaspersky) the risk of infection is completely reduced to almost zero.

Nevertheless, if you want to disable autorun, it is possible to do so! For this:

1. Press the key combination "Win" + "R", enter Gpedit.msc and click "OK".

2. In the window that opens, open one by one the following items "Computer configuration" - "Administrative templates" - "Windows components" - "Autostart policy".

3. In the list we find the line "Disable autorun", right-click on it and select "Change".

4. In the new window, mark the "Enable" item and press the "OK" button at the bottom.

Autoplay from all removable media is disabled. Short video instructions how it was done is posted below.

Configuring autorun in windows 7

Autostart can not only be disabled, but also customized for yourself. This is done quite simply:

1. In the "Start" menu, select "Control Panel".

2. In the control panel on top, put "Large icons" and open "Autostart".

3. In the window that opens, set the values ​​for each of the types of removable media, and then click the "Save" button.

For the convenience of users, Microsoft has created such a built-in function in the operating system as the autorun of a flash drive. Its main task is to simplify the user's work. But the main drawback is the entry into the computer of viruses written on removable media during copying, which was previously used on another PC. And in order to protect your "machine" from malware, you should know how to enable or disable autorun flash drives and other removable media.

This is a function that allows you to quickly and without any human action to launch a program on a removable device. It was originally designed for DVD and CD only. Whereas now it can start automatically, even when smartphones are connected. For example, for media with films and music, a player is loaded, for a blank disc - software for recording, for photos - a viewer, etc. If the removable drive contains files of different types, then a window pops up offering several actions.

The essence of the function is that in the root folder of the removable media you need to create autorun.inf for the flash drive. This is a file that contains a command to automatically launch a specific program. When the drive is turned on, the system will check for the presence of this file and, if it finds it, it will launch it without making unnecessary requests. Many viruses also use this. But there is a good way to secure removable equipment - this is to create an autorun file for the flash drive. In this case, the malware will not be able to register it by itself, since it already exists and thus will not start when the device is connected to the computer.

IMPORTANT. Many virus writers know this trick and can easily delete this file from removable media. Therefore, the question of equipment infection with viruses should be taken more seriously.

Turning AutoPlay on and off

For Windows 7, 8

Before turning on the autorun flash drive, you need to open the control panel in the "Start" menu and select "Autorun". Opposite the entry "Use for all media and devices" check the box.

Opposite the entry "Use for all media and devices" must be ticked

For Windows XP

The process of enabling and disabling this feature in XP is a little more complicated. To do this, you need to go to the "Group Policy". In the "Start" menu, find the "Run" tab, register the command gredit.msc and press "enter". In the window that opens, select "Computer Configuration", "Administrative Templates" and "System". On the right side, find the line "Disable startup".

Click on Disable autostart

To enable the function, mark the item "Disabled" (not set) and confirm "OK". And to disable it, select the line "Enabled" and "For all drives with confirmation of selection."

After you have done the autorun of the flash drive, you should insert the removable drive into the PC and check the operation of the system.

Basics of using the AutoPlay feature

  • You should be aware that the autorun for a flash drive itself does not contain malicious code, but only has a link to an existing file with a virus from the Internet.
  • Malicious utilities are also written to the Autorun folder when copied with the extensions .inf, .bat, .exe, .pif, .ini, .cmd, etc.
  • You cannot immediately launch a file or group of autorun files. You need to open them using software for viewing (for example, notepad) and check for viruses.
  • If, when copying data, in addition to the necessary information, an autorun is found, then it should be deleted. And if it is not deleted or disappears, and after a minute is recreated, then the computer is infected.
  • Also, to disable the function, you can use various optimization programs (tweakers). But it is better to do it manually, for greater security.

Why create Autorun.inf

Before making an autorun for a flash drive, you need to know that you should not just create a folder, but make it such that malicious software cannot delete it. And in order for the virus to be unable to understand how to remove autorun.inf from the flash drive, it must be hidden. In this case, it can act as an indicator. For example, if a flash drive contains viruses, then they probably already tried to delete this folder, and during this operation it ceases to be hidden. Thus, it becomes clear that there is malware on the media. And since you can't remove the autoran from the flash drive in a simple way, you need to either format it, or clean it with the AVZ antivirus, or use the FlashGuard program.

Now, knowing how to enable or disable the autorun of removable hardware and secure it with the autorun file, you can significantly reduce the virus attack on your computer or laptop.


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 chance 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 done very easily, 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 operating room Windows systems 8 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 just turn off 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».


The 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 such an option as autorun a flash drive or any other removable media. Hope this tutorial helped you.

There are several ways to disable autorun flash drives in Windows 10.

Through the Control Panel

Open the Control Panel by clicking on the button Start - System Tools - Control Panel.

How to disable autorun flash drives in Windows 10

Go to Control Panels - Hardware and Sound - Autostart.


Disable autostart Windows flash drives 10

A window will open in which at the very top, check the box next to Use autoplay for all media and devices... Then, in the Removable media item, select the item from the pop-up list. Take no action and click the Save button. Now the Control Panel can be closed, and the autorun of the Windows 10 flash drive will be disabled.

Through the Local Group Policy Editor

First, we launch the Local Group Policy Editor, and for this you need to press two keys on the keyboard at once WIN + R... A window will open in which you need to enter the command Gpedit.msc and click OK.


How to disable autorun on Windows 10

On the left side of the editor, expand the path Computer Configuration - Administrative Templates - Windows Components - Autorun Policy Disable autorun... You need to change the state of this item, and for this, double-click on it with the left mouse button.


How to remove autostart on Windows 10

A window will open in which put a full stop at the Enabled item and click OK. After that, the editor can be closed, and the autorun of the Windows 10 flash drive will be disabled.

Through Registry Editor

First, launch the Registry Editor. Press two keys on the keyboard at once WIN + R... A window will open in which you need to enter the command regedit and click OK.


How to disable autoplay in Windows 10

The Registry Editor will open in which you need to open on the left side HKEY_CURRENT_USER - Software - Microsoft - Windows - CurrentVersion - Policies - Explorer... Click on the last item, and then on the right side find the item NoDriveTypeAutoRun... For this parameter, you need to change the value, and for this, move the cursor over it and press right button mice. A menu will open in which you need to select the Change item.

Disable autoplay in Windows 10

A window will open in which, in the value field, delete the old value, and then enter the new value 000000FF and click OK. After that, close the Registry Editor and restart your computer. After a reboot, the changes made in the editor will take effect and the autorun of the Windows 10 flash drive will be disabled.

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 you connect a removable media, the OS independently opens the explorer, launches a photo or a player.

Why disable

Let's say there is a virus on the flash drive. It is located in the file that is responsible for automatic launch - aurorun.inf. When connected, an executable file with a virus will be launched. 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 flash drive Windows 7

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