Introduction: Disable Autoplay in USB and CD-Drive in Windows XP

Picture of Disable Autoplay in USB and CD-Drive in Windows XP

Viruses are easily spread through the USB flashdrives. Viruses transmitted this way are created in a way that they are automatically ran (autmatically activated) when plugged into a running computer or when the Drive is opened (clicking or double clicking), and let's face it, not all malwares can be detected by your anti virus at once. One way to minimize this is to turn off the autoplay feature of your drives.

This gives you time to clean your USB flash drive. You can right click it and choose scan for viruses using your anti virus software, or right clicking then choosing explore

DISCLAIMER:
Doing this instructable will not totally safe guard your computer for viruses. Installation on constant upadting of you anti virus software is still the best solution

Step 1: Opening the Group Policy Editor

Picture of Opening the Group Policy Editor

To disable your drives, you need to open the group policy editor. To do this you can click the start button then run and type gpedit.msc or hit the windows key then r and type gpedit.msc

again, there are two ways to open the group policy editor

1. start button > run > gpedit.msc > ok
2. windows key + r > gpedit.msc > ok

Step 2: In the Group Policy Editor

Picture of In the Group Policy Editor

This is the group policy editor interface. this will open after clicking the ok buttton in the run interface

Step 3: Administrative Template

Picture of Administrative Template

on the right pane, under computer configurtion, double click on administrative template

again,

1. start button > run > gpedit.msc > ok > computer configuration > administrative templates

2. windows key + r > gpedit.msc > ok > computer configuration > administrative templates

Step 4: System

Picture of System

Still on the right pane, double click system

again,

1. start button > run > gpedit.msc > ok > computer configuration > administrative templates > System

2. windows key + r > gpedit.msc > ok > computer configuration > administrative templates > system

Step 5: Turn Off Auto Play

Picture of Turn Off Auto Play

Scroll down and locate "Turn off Autoplay. Once found, double click it.

again,

1. start button > run > gpedit.msc > ok > computer configuration > administrative templates > system > turn off autoplay

2. windows key + r > gpedit.msc > ok > computer configuration > administrative templates > system > turn off autoplay

Step 6:

Picture of

After doublNow that you have opened the Turn off Autoplay interface, you will find out that the default setting is Not configured. So lets configure it.

Click on the "Enabled" radio button. Clicking this will enable turn off autoplay, or in simpler terms, autoplay is turned off. :)

on the "Turn off Autoplay on" pull-down menu, choose all drives and click on ok.

again,

1. start button > run > gpedit.msc > ok > computer configuration > administrative templates > system > turn off autoplay > enable > all drives > ok

2. windows key + r > gpedit.msc > ok > computer configuration > administrative templates > system > turn off autoplay > enable > all drives > ok

And that's it! YAY

Comments

admin (author)2009-01-15

This is a great Instructable, but you need to add a main image of the final project to the intro step. Please do that and leave me a message when you have so that we can publish your work. Thanks!

knic (author)admin2009-01-16

ok thanks. I have uploaded the picture and i think i published it already. thanks for the heads up :)

my computer can not display usb..i think someone disables it how to do sir..thank you

erikals (author)2009-08-16

can u re enable autorun after u have disabled it?

brilliantsurya (author)2009-07-08

thank you very much...

pcapelo (author)2009-06-22

Hi, I can't find this information: gpedit.msc > ok > computer configuration > administrative templates > system > turn off autoplay Apparently my computer don't have the turn of autoplay option. Any idea what's going wrong??? thank you PC

superklovn (author)2009-04-01

Thanks!! You really saved my day (month...year... and so on). You rock!! :o)

rimar2000 (author)2009-01-16

This is what I waited all my life, thanks. It's so annoying to have to tell always Windows to do nothing...

knic (author)rimar20002009-01-16

your welcome. You're comment really made me smile, its my first Instructable! yay! I really hate that too, especially when i;m doing something important and i need something from my flash drive, it pops infront of what i;m doing

xbuntu (author)2009-01-16

gpedit.msc is not in XP Home

knic (author)xbuntu2009-01-16

oh sorry, i forgot to specify which windows xp edition.

gpedit. msc is not xp home, i think it's because they dont expect the users to be tweaking their OS, anyway, here is a method for XP Home users:

http://www.tweakxp.com/article37576.aspx

About This Instructable

86,444views

5favorites

License:

More by knic:Disable autoplay in USB and CD-Drive in Windows XP
Add instructable to: