Friday 22 January 2010

Disabling Autoplay or Autorun in Windows

There may be several reason why you may wish to disable Autoplay or Autorun for CD, DVD, and removable drives in Windows but for me it's partly security and partly annoyance. There have been a few recent worms that use autoplay to silently install themselves and replicate. The viruses add themselves to autorun.inf which Windows happily parses and executes shellexecute commands or changes the behaviour when a users double clicks on the removable media.

For those curious how the viruses take advantage of the autorun feature check out technical details from McAfee and TrendMicro.


Howto Disable Autorun on Windows XP:

For a single machine you can use TweakUI to disable autoplay http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

From: http://www.bleepingcomputer.com/forums/topic93897.html

The easiest way to disable Autorun on a specific drive is to download and use Tweak UI PowerToy.

  • After installation, launch Tweak UI, double-click on My Computer in the tree menu on the left, then click on AutoPlay > Drives. This will allow you to change the system settings for AutoPlay/autorun.
  • Uncheck the drives you want to disable AutoPlay on and click on Apply.
  • Next, click on the Types in the left tree. This allows you to control whether Autoplay is enabled for CD and DVD drives and removable drives. You may need to restart Tweak UI if it closes after step 2.
  • Uncheck the box to disable Autoplay for a particular type of drive.
  • Click Apply.















 

Or for those wishing to disable Autorun on several computers you can disable Autorun by Domain Policy aka Group Policy.

Howto Disable Autorun on Windows XP using Domain Policy (Group Policy):


After launching "gpedit.msc" or from within Active Directory, Enable the Turn Off Autoplay option in both

Computer Configuration\Administrative Templates\System
User Configuration\Administrative Templates\System




No comments:

Post a Comment