How to Disable Autorun in Windows 10 [2024]


In this article, we will share with you how to disable autorun in Windows 10 very easily.

Previously, what was AutoRun, anyway?

Broadly speaking, AutoRun (or other terms “Auto Play”) is used to run an application, on a device that is connected to a computer automatically.

How to Disable Autorun in Windows 10

For example:

  1. I put the DVD into the laptop.
  2. A notification appears (AutoRun).
  3. I run the AutoRun, then a program opens.

That’s more or less.

AutoRun itself is generally available on devices such as:

While the features themselves are already active, be it on Windows 7, Windows 8, or Windows 10.

How to Turn Off the AutoRun Function in Windows 10

In terms of benefits, you could say AutoRun is quite helpful. For example, when we insert the installer DVD, we don’t have to bother looking for the setup file anymore.

But for some conditions, AutoRun actually needs to be turned off. For example, if there is a virus on the flash so that the virus does not directly enter our computer system.

Well, for Windows 10, we can turn off AutoRun easily, you know. Here I will discuss it in full. It’s easy, guaranteed.

1. Via Windows 10 Settings

Via Windows 10 Settings

The first way is through Settings.

On this page, you can look for the AutoPlay setting to disable it. We can set it to the off position so that the AutoRun function does not turn on.

It’s like this:

  1. Open Settings via the Start menu.
  2. Then, please go to the Devices page.
  3. Check the left column, then click AutoPlay.
  4. Change the setting to the off position.


This method is intended to turn off AutoPlay on all connected devices, yes. But if you want, you can also set it manually. There is a choice of options, really.

2. Via Control Panel

Via Control Panel

This method is more or less the same as before.

It’s just that, if you go through Settings, the AutoPlay setting may not be found on some versions of Windows 10.

Meanwhile, if you go through the Control Panel, it can be done in all versions.

Here’s how:

  1. In the Windows search field, type ” Control Panel “.
  2. Then, please open the Control Panel.
  3. Continue to open the Hardware and Sounds page, then enter AutoPlay.
  4. Uncheck Use AutoPlay for all media and devices.

Now, AutoRun has become disabled.

Just like through Settings, here we can also manually set the configuration. Try it.

3. Via Group Policy Editor

Via Group Policy Editor

If this one might be somewhat complicated, yes. Via the Group Local Policy Editor in Windows 10.

But it’s guaranteed, really. If you want to try it, you can follow these steps:

  1. Click the Windows key + R.
  2. Type “ gpedit.msc ”, then click OK.
  3. Please go to Computer Configuration > Administrative Templates.
  4. Then go to the Windows Components > AutoPlay Policies page.
  5. Click on the Turn Off AutoPlay option, then set it to Enabled.
  6. Finally, just click Apply, then OK.

Try restarting the computer first. Now, AutoRun is disabled. It’s not as difficult as you think, is it?

4. Via Regedit

Via Regedit

It’s more advanced than the previous one.

You can try it if it turns out that AutoPlay still appears, even though you have implemented the steps I described earlier.

The method is as follows:

  1. Type ” Regedit ” in the Windows search field, then open it.
  2. Go to HKEY_LOCAL_MACHINE > Software.
  3. Continue again go to Microsoft > Windows > CurrentVersion .
  4. Go back to Policies > Explorer.
  5. Next, right-click, select New, then create a DWORD (32-bit) Value.
  6. Name it ” NoDriveTypeAutoRun “.
  7. For Value , fill in 000000FF(255) .
  8. Finally, click OK to finish.

Then restart if you have.

The Final Word

That’s the discussion about how to turn off AutoRun in Windows 10.

For how to reactivate it, it’s more or less similar to the steps. Just repeat, anyway. As for regedit, just delete the value.

In closing, for those who want to ask questions, you can directly send your questions via the comments column below.

I hope it is useful.

Previous articleFree Genuine Microsoft Office 2019 Product Key [2024]
Next articleFixed: There Was a Problem Restarting Your PC [2024]
Kohinoor Khatun
The Founder & Admin of TechMaina.Com, Who Likes To Write On Any Topic Related To Computer Query, Such As PC Hardware Problem, PC BIOS Problem and I have also best Knowledge in Android, SEO, and Much More.


Please enter your comment!
Please enter your name here