Disabling autorun and autoplay in windows 10 and 11

How to

Windows will attempt to automatically start the included disk. If you do not like this behavior, follow these steps to disable Windows Autorun and Autoplay.

Most people don’t know this, but Windows has a clever built-in feature called Autoplay, also called Autorun.

Autorun pop-ups can be a bit annoying, though. This is especially true if you connect a lot of removable disks, as in a professional environment. In addition, many computer viruses and malware take advantage of the Autorun feature to infect your system.

In Windows 10 and 11, the Autorun feature can be easily disabled. There are multiple ways to disable the AutoRun feature in Windows.

So, without further ado, here is how to disable the Autoplay feature on Windows 10 and 11 operating systems.

Contents.

Disable Autoplay from Settings

<0the pc settings application in windows 10 & 11 provides an excellent option to disable autoplay. the app also allows you configure auto-run for each device individually. example, if frequently connect your phone windows, can set a specific autorun behavior and all other usb autoruns.

Windows 11

  1. Open the Settings app.
  2. Click on “Bluetooth and Devices.”Go to the “AutoPlay” page.
  3. Turn off the “Use autoplay for all media and devices” option.
  4. Exit the “Settings” application.
  5. Accordingly, autoplay and autostart will be disabled in Windows 11.

Windows 10

  1. Open the “Settings” application.
  2. Click on “Devices.”
  3. Go to the “AutoPlay” page.
  4. Turn off the “Use autoplay for all media and devices” option.
  5. Select “Take no action” from all drop-down menus.
  6. Exit the “Settings” application.
  7. Accordingly, the “Autoplay” and “Autorun” functions will be disabled in Windows 10.

Detailed steps:

Open the “PC Settings” application with the Win + I key combination or search for it in the Start menu.

Once opened, go to “Devices > Autoplay”. In the right panel, toggle the “Use autoplay for all media and devices” switch to the “off” position.

Then select the “Do nothing” option from the All drop-down menu.

That’s it. AutoPlay is now disabled in Windows 10.

Modify Group Policy to Disable Autoplay

To permanently disable Autoplay and prevent users from turning it back on, disable Autoplay from the Group Policy Editor.

Group Policy is only available to Pro and Enterprise version users.

  1. Start Menu Start .
  2. Locate and open ” Group Policy Edit”.
  3. Navigate to the bottom folder.
    Computer Configuration -> Administrative Templates -> Windows Components -> AutoPlay Policy
  4. Double click on the policy ” Stop AutoPlay “.
  5. Select ” Enabled “.
  6. Ok . Press ” .
  7. Close the Group Policy Editor.
  8. Restart Windows.
  9. Accordingly, AutoPlay is disabled in Windows 10 and 11.

Detailed instructions:

Open the Group Policy Editor by requesting “gpedit.msc” or “Edit Group Policy” from the Start menu. You can also use the start command gpedit.msc .

All policies in the Group Policy Editor are carefully divided into their respective folders for easy access. In the left pane, navigate to the following folders.

Computer Configuration -> Administrative Templates -> Windows Components -> AutoPlay Policy

In the right pane, locate the “Stop AutoPlay” policy and double-click it.

In the policy settings window, select “Enable” and click the “Apply” and “OK” buttons to save changes.

Finally, restart Windows and the policy changes will be applied at the next restart. This will completely disable AutoPlay in Windows 10.

Disabling Autoplay from the Registry

If you are using the Home edition, you will need to edit the registry to disable Autoplay in Windows 10 and 11. The good news is that this is fairly easy.

Back up the registry before making any changes. A backup will help you restore the registry if something goes wrong.

  1. Press the Start key.
  2. Select “Registry Editor” and open it.
  3. Navigate to the following folder.
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
  4. Right click on the “Policies” folder.
  5. Select “New > DWORD Value”.
  6. Name the new name “NoDriveTypeAuthorun”.
  7. Double-click on the new value.
  8. Enter “FF” in the “Value Data” field.
  9. Click “OK.”
  10. Close the Registry Editor.
  11. Restart Windows.
  12. Accordingly, the autorun feature will be disabled in Windows 10 & 11.

Detailed steps:

Open the Start menu, search for and open “Registry Editor”. You can also open the Windows Registry Editor with the run command regedit .

Once the Registry Editor is open, copy the following path, paste it into the address bar and press Enter.

<

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

>

Right click on the Policies folder and select the option “New -> DWORD (32-bit) value”. Give it a name such as “NoDriveTypeAuthorun”.

Double-click the newly created value, enter “FF” in the value data field, and click the “OK” button.

Close the Registry Editor and restart Windows. Restarting will disable AutoPlay and the disk or drive will not automatically boot in Windows 10 and 11.

That’s all. It is as easy as disabling autostart in Windows 10.

We hope this simple and easy guide to working with Windows has been helpful.

If you get stuck or need help, send us an email and we will do our best to help.

YouTube video: Disabling Autorun and Autoplay in Windows 10 and 11


Rate article
We provide high-quality and detailed Windows tutorials