Monday, January 02, 2012

Prevent Autorun/Autoplay of USB Drives

(Jan 2, 2012)
Many old machines in Silpakorn Computer Labs are still using Windows XP and I need to disable Autoplay from USB devices to avoid virus spreading from the devices to these machines.  Luckily, the XP is Professional version and it is easy to disable the Autoplay.
Details on how to disable the Autorun functionality in Windows are available at  Here, I discuss only Windows XP Professional (Home edition is harder to deal with regarding this matter).  For Windows 7, you can see this video to learn how to disable USB Autoplay. The method for Windows XP Professional is described below:
  1. Click the start button and click ‘Run …’
  2. Insert command ‘Gpedit.msc’ and enter.
  3. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
  4. In the Details pane, double-click Turn off Autoplay.
  5. Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
  6. Restart the computer.
Side notes: many people think that autorun and autoplay are the same thing.  The idea is right in one sense and wrong in another.  As far as I know, Autorun is some thing for running the CD/DVD contents automatically.  Autoplay, however, seem to be broader and is applicable to any USB devices.  So, the behaviors of Autorun and Autoplay are practically the same, but Microsoft gave them different names.

1 comment:

Computer For Dummy said...

awesome post.