2008 Jan 8

Disable autorun on cdrom or usb drives

By default autorun is enabled on windows xp, this puts your pc into potential malaware risk or even virus infection. Mostly, viruses and worms are spread using the windows autorun feature. We should disable autorun on your computers to prevent it from being infected with any virus, malaware or worms. Here are several ways to disable the autorun function:

Disable Autorun with TweakUI.
The most convenient way is to install TweakUI a PowerToy from Microsoft we can download for free . Download TwealUI and install it. This PowerToy gives you access to system settings that are not exposed in the Windows XP default user interface, including mouse settings, Explorer settings, taskbar settings, and more.

1. Run TweakUI
2. Navigate to My Computer -> AutoPlay -> Drives
3. Uncheck the drive you wish to disable the AutoPlay function.
4. Navigate to My Computer -> AutoPlay -> Types
5. Uncheck Enable Autoplay for CD and DVD drives
6. Uncheck Enable Autoplay for removable drives
7. Click Apply button
8. Click OK button

Disable Autorun with Group Policy Editor
If you are a geek type and want to do it the hard way we could use the GPEDIT.MSC tool to disable Autorun. GPEDIT.MSC does not work on Windows Home Edition, only on Windows XP.
1. Navigate to Start -> Run
2. type GPEDIT.MSC
3. Click OK
4. Navigate to Local Computer Policy -> Computer Configuration -> Administrative Template -> System
5. Double click Turn Off Autoplay
6. Select Enabled from the radio buttons
7. On the Turn off autoplay dropdown box select All drives
8. Click OK button, Close Group Policy Editor

Disable Autorun with the Registry Editor
If you are using Windows Home, you can disable autorun using the registry editor.

1. Navigate to Start -> Run
2. type REGEDIT, click OK button
3. Navigate to HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> CDROM
4. Double Click on Autorun
5. Change from 1 to 0. The default value 1 means autorun is enabled on CDROM
6. Navigate to HKEY_CURRENT_USER -> Software -> Microsoft -> Windows -> CurrentVersion -> Policies -> Explorer
7. Double click on NoDriveTypeAutoRun
8. Change the current valut to B5 in Hex. This disables CDROMs and USB drives

To disable other devices refer to the table below.
Value Meaning
0x1 Disables Autoplay on drives of unknown type.
0x4 Disables Autoplay on removable drives.
0x8 Disables Autoplay on fixed drives.
0x10 Disables Autoplay on network drives.
0x20 Disables Autoplay on CD-ROM drives.
0x40 Disables Autoplay on RAM disks.
0x80 Disables Autoplay on drives of unknown type.
0xFF Disables Autoplay on all types of drives.

By default, Autoplay is disabled on removable drives, such as the floppy disk drive (but not the CD-ROM drive), and on network drives. The default value 0x95 (149) is the sum of 0x1, 0x80 (unknown types), 0x4 (floppy drives), and 0x10 (network drives). 0xB5 is the sum of 0x1, 0x4, 0x10, 0x20 and 0x80. B5 in Hex or 181 in Decimal.

0 TrackBacks

Listed below are links to blogs that reference this entry: Disable autorun on cdrom or usb drives.

TrackBack URL for this entry: http://www.tildemark.com/cgi-bin/mt4/mt-tb.cgi/83

2 Comments

tnx.... at least now i can prevent those nasty viruses from entering to my computer. gud day to all...

tnx.... at least now i can prevent those nasty viruses from entering to my computer. gud day to all...

Leave a comment

About this Entry

This page contains a single entry by tildemark published on January 8, 2008 9:37 AM.

Smart Bro Wireless modem vs Wifi Range Extender was the previous entry in this blog.

Merging Adjacent Cells in Excel is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Activity

Friday

  • tildemark tweeted, "im so sleepy. Zzzzzzzz"

Sunday

  • tildemark tweeted, "some of my scipts are not working with godaddy. but works fine on the others. not mention their poorly coded admin page"

Today

  • tildemark tweeted, "so many pending tasks i need to finish. need more coffee !!!"
  • tildemark tweeted, "@gmtristan i dont think that is true."

Today

  • tildemark tweeted, "how does godaddy subdomain behaves? i have some problems with it on my scripts. it does not seem to accept query strings.."

Monday

  • tildemark tweeted, "i had a hard time removing the error messages generated by surf side kick. i ended up uninstalling most of my applications."

Sunday

  • tildemark tweeted, "i got hit by surf side kick and im getting numerous error messages on my screen. tskkkkk"

Saturday

  • tildemark tweeted, "check boxes, i didn't know they can also be complex"
  • tildemark tweeted, "this smart bro internet speed is depressing, i thinking of filling a complaint to the DTI next week."

Friday

  • tildemark tweeted, "the seminar turned out to be leadership training. it was fun, learned alot. i have already attended numerous seminars but this is different."