How to Turn off Autoplay of USB drives and CDs in Window 7

For me, it’s really annoying to have autoplay dialogue box appear every time I insert my USB drives or my CDs into my pc. I’m not a big fan of this feature, so I’ve never kept it on. Since it’s a bit different in appearance of window xp comparing to window 7, I decided to make this article up accompanied with a video tutorial. Hopefully, this article will help you:

Question: What is Autoplay Dialogue Box?

Answer: Autoplay Dialogue Box is a box appeared when you insert your USB drives or CDs into your computer. See the below picture:

2-23-2010 3-56-03 PM

Autoplay Dialogue Box

Question: Why should you turn Autoplay of USB drives and CDs off?


  • It’s really annoying to have a box appear on your screen every time you insert your USB drives or CDs.
  • To prevent the autorun USB viruses infected to your computer.

Question: How to turn Autoplay of USB drives and CDs off?


  1. Type “gpedit.msc” in the Start Search Box, and then press ENTER to open Local Group Policy Editor.

    Type "gpedit.msc" in start search box

  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components > click Autoplay Policies.

    Local Group Policy Editor box

  3. In the right pane, double-click Turn off Autoplay to open the Properties box.

    "Turn off Autoplay" box

  4. Click Enabled, and then select All drives in the Turn off Autoplay on box to disable Autorun on all drives.

    How to turn off autoplay

  5. Do the same as instruction 1 to 4 for Administrative Templates under User Configuration.

    Do the same for administrative template under "User Configuration"

Written by: Dara Saoyuth

Written date: 23/02/2010

Video tutorial for this tip click here

About author View all posts Author website

Dara Saoyuth

Coming from a simple family in Kampot province of Cambodia, I’ve spent most part of my teenage years in learning and working. Through those experiences, I’ve built myself up from the ground and finally, become an entrepreneur running a media production company with my co-founder.

I believe that no matter situation or position we are in, we can be great at what we are doing and get what we want when we put our heart and soul into that.