How to Disable AutoRun or AutoPlay for USB Drive in Windows 11?

Windows 11 offers a feature of AutoPlay where it detects removable devices in our system and performs some functions explicitly without our choice. It performs tasks like opening a file and playing some content to draw our attention.

This feature is sometimes risky as it opens files automatically. If the removable device is infected with viruses, it can easily contaminate our system.

We can disable the AutoPlay option in Windows to secure our system from such uninvited viruses. Windows 11 offers disable option through Classic Control Panel or Group Policy.

This risewindows article will discuss how to turn off the AutoPlay option of USB Drive in Windows 11.

Here, we will discuss:

(a) To turn off AutoPlay by using Settings in Windows 11.

(b) To turn off AutoPlay using Control Panel in Windows 11.

(c) To turn off AutoPlay using Group Policy Editor in Windows 11.

How to turn off AutoPlay by using Settings in Windows 11?

The following steps are required to be followed to turn off AutoPlay by using Setting in Windows:-

Step 1. Open the Window Settings by using Windows + I.

Step 2. Select the Bluetooth & devices on the left side when the Settings window is displayed.

Step 3. After that, select or click AutoPlay on the right side.

Step 4. Then, disable or turn off the toggle switch “Use AutoPlay for all media and devices.”

Windows AutoPlay setting page also offers a feature where we can choose different actions for different removable devices. This feature is helpful as we are not required to disable the AutoPlay option here, but we can restrict it and some of its actions on different removable devices.

For this, click the drop-down for the removable drive by choosing the AutoPlay default section and selecting the TakeNo action option. After that, AutoPlay will be disabled if we connect a removable device.

How to turn off AutoPlay by using Control Panel on Windows 11?

This windows setting offers features to disable AutoPlay for removable devices. To perform this disable function on DVD, CD, and Blue-ray discs, follow the following steps by using Control Panel in Windows 11:

Step 1. Open the Control Panel on Windows 11 Setting.

Step 2. Click Hardware and Sound.

Step 3. Click the AutoPlay option.

Step 4. Unticked the option. Use AutoPlay to turn off or disable the AutoPlay option for all media and devices.

To disable AutoPlay for removable devices, click the drop-down of Removable drive and select Take no action. We can disable the AutoPlay option for all the other media and storage devices like DVDs and CDs.

Step 5. After that, click the Save button.

How to turn off AutoPlay by using Group Policy Editor on Windows 11?

To turn off or disable AutoPlay on Windows 11 by using Group Policy, perform the following steps:-

Step 1. Open the Local Group Policy Editor.

Step 2. On the left side of the Local Group Policy, Editor window navigate to the following path:-

Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies

Step 3. Double-click on the policy name Turn off AutoPlay which is on the right side of the AutoPlay Policies folder

Step 4. Tick on the Enabled button.

Step 5. Click on Apply.

Step 6. After that, click on OK.

That’s all for this article. I hope this article will add some value to your work.

You guys are amazing; Keep reading, learning, and growing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: