How to Disable AutoRun for USB, CD/DVD in Windows XP, Vista and 7

“How can I disable or stop auto-run on my windows computer” is one of the most asked question on windows world. Because the most viruses and other types of malware are using windows’ autorun feature to spread from PC to PC via removable medias like USB Pen drives, Memory Cards, CD/DVDs etc. AutoRun is feature by windows where windows try to run(while the drive/media is plugged) a program from a removable media via a file called autorun.inf which is stored on that removable media. Malware authors try to take advantage of this hole to spread their viruses. So at a point of time, everybody start to think about stopping this feature. So I was thinking to share about on how to do this job on windows XP, Vista and 7.

Stop AutoRun on Windows XP, Vista and 7 :

(Important: I have written another post on how to rename your USB Pen drive with any name, any language, any font.)

Disable AutoRun on Windows XP :

1. Go to Run. Then type gpedit.msc then press enter. Gpedit.msc is actually Group Policy Editor. Now in Group Policy Editor, do as I did in Windows 7 and Vista’s Group Policy Editor.

(Important: Do you know how to give your custom icon to your USB pendrive?)

Disable AutoRun on Windows Vista and 7 :

1. Go to Start Menu and search for gpedit.msc from search bar. (I already described how much it’s easy to find out any program on windows vista and 7).

search for gpedit.msc at start menu search bar

2. Now in gpedit.msc I mean In local group policy editor, go to Computer Configuration > Administrative Templates > Windows Components > AutoPlay policies.

local-group-policy-editor

2. Now at the left side, click on Turn off auto play. Then mark “Enabled” and then “OK“.

AutoPlay is not configured in default

Choose enabled to turn off autorun

3. Then you are done.

Other Thing You Can Also do on Windows Vista or 7 :

1. Go to Control Panel. Then click on AutoPlay.

From control panel, click on “Auto Play”

2. Now choose your settings/actions when a type of disc will be inserted into your computer.

customizable actions for all types media

Choose your settings then save

3. Now click save.

This means you can also disable autorun from control panel.

Those all about stopping autopaly/autorun on windows. If you have any problem, then you can leave comment.

Author: 

Jaber is a Programmer and Tech Enthusiast Geek from Dhaka, Bangladesh. He is the founder and Chief-Editor of TechGainer. While he is away from his keyboard, either he's fishing or messing with wildlife. In case, you can contact him at rijans[at]techgainer[dot]com.

Related Posts

View Comments (118)

  • Thanks for your entire labor on this web page. Kate really loves managing investigation and it is really
    easy to see why. We hear all regarding that the lively technique you deliver
    informative ideas through the blog and therefore improve answer from website
    visitors on the concern and our straightforward princess is actually starting to find
    out a great deal. Take advantage of the rest of the new year.
    You have been conducting a fantastic job.

  • You could definitely see your expertise within that the paintings you write.
    The arena hopes for even more passionate writers like you who arent afraid to mention how
    they believe. All the time go after your heart.

  • Since 85 percent of back pain remains undiagnosable and difficult to prescribe appropriate
    treatment for the ideal rule of thumb is always
    to start by wanting to relieve the pain working with
    the most easy, cheapest non-invasive and effective methods possible.

  • I read this paragraph fully about the difference of latest and earlier technologies, it's awesome
    article.

  • [url=https://tadalafil365.com/]tadalafil[/url] [url=https://viagraforwomen.com/]viagra for women[/url] [url=https://20tadalafil.com/]tadalafil[/url] [url=https://furosemide80.com/]furosemide 40 mg cheap[/url] [url=https://lisinopril5.com/]lisinopril pill[/url] [url=https://zoloft50.com/]zoloft 50mg[/url] [url=https://dapoxetineonline.com/]dapoxetine for sale[/url] [url=https://acyclovir200.com/]acyclovir prices[/url] [url=https://prednisone5.com/]order prednisone[/url] [url=https://doxycycline1.com/]100 mg doxycycline[/url]

  • [url=http://cafergotbuy.com/]buy cafergot[/url] [url=http://prednisolonetablets.com/]prednisolone 20 mg[/url] [url=http://tadaciponline.com/]tadacip 20 mg[/url] [url=http://acyclovir400.com/]acyclovir 400mg tablets[/url] [url=http://albuteroli.com/]albuterol[/url] [url=http://seroquel50.com/]seroquel depression[/url]