How to Disable Autoplay For All Users in Windows 7?

Vivek Nayyar March 4, 2011 3

Whenever your insert a CD/DVD or any other storage media in your computer Windows 7 automatically detects it and displays its contents by opening a new window in Windows Explorer. This is a great feature which Windows 7 offers. However, there might be times when this feature makes your computer vulnerable to virus attacks. This is because when you insert a CD or DVD Windows 7 starts detecting its contents and finally it opens the contents of the media in a new window. Suppose the CD/DVD or flash drive that you have inserted had virus in it. In this case virus residing in the media will be self-executed and will infect your system within fraction of seconds. Therefore it is recommended to disable Autoplay feature to prevent your computer from getting infected with virus accidentally. Process to turn off Autoplay feature is given below:

  1. Click on “Start” button.
  2. At the bottom of the menu in the search box type “gpedit.msc” (without quotes).
  3. In the “Local Computer Policy” snap-in under “Computer Configuration” expand “Administrative Templates” tree.
  4. Expand “Windows Components” tree and select “AutoPlay Policies”
  5. In the right pane double click on “Turn off Autoplay”.
  6. In the opened window select “Enabled” radio button to disable Autoplay feature.
  7. Click on “Ok” button to accept and confirm your selection.
  8. Turn off Autoplay

  9. Close “Local Computer Policy” snap-in.
  10. Click on “Start” button and go to “All Programs”.
  11. From the list select “Accessories”.
  12. Right-click on “Command Prompt” and select “Run as Administrator”.
  13. In the “User Account Control” dialog box click “Ok” button to allow Windows to use your administrative credentials to run the program.
  14. In the “Administrator: Command Prompt” window type “gpupdate /force” (without quotes) and press enter key.
  15. You can test your configuration by inserting any CD/DVD  or USB Pen Drive in your computer.

3 Comments »

  1. dan July 2, 2011 at 6:15 pm - Reply

    does not work for windows 7 home premium 64. there is no group policty editor provided.

  2. Richie September 15, 2011 at 7:38 pm - Reply

    I use Autoplay Disabler Pro, it works for all kind of removable drives, and works for XP, Vista and Windows 7. It’s really simple to use, and works good. Finally I don’t have anymore problems with autorun viruses!

    • Codrut Nistor September 15, 2011 at 8:28 pm - Reply

      You can say thank you for not marking this comment as spam. Almost $5 for something that can be done for free with no special knowledge??? :\

Leave A Response »