Disabling AutoRun, also known as AutoPlay, when you insert removable media like an USB drive or a CD or DVD is almost essential when you are working with many devices connected to the same system at once. When using the USB duplicator, it's common to connect large numbers of USB drives to a computer. When connecting 50 or more USB drives to a computer, all those automatic popup windows become an annoyance, and also waste system resources when reading all the connected file systems.
AutoRun, while user friendly, can also be a security hazard. Some types of malware distribute themselves by setting up autorun programs on USB drives or flash cards. If you connect a device to an infected system, the necessary files are copied to the device without user interaction, and when this device is connected to a new computer with autorun, the malware infects that system too.
Different operating systems, such as Windows, Mac OS X, and Linux based distributions such as Debian and Ubuntu usually have very different ways to handle system configuration such as this. We'll show you how to disable autorun on all these systems.
Microsoft has written a detailed description of how to disable the autorun feature on Windows systems. It describes the registry keys involved, and outlines several methods to disable autorun on different versions of Windows. There is also a link to Microsoft Fix it 50471 available, which is a program that will disable autorun on Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP.
To disable autorun on Ubuntu Linux, follow these steps:
Here is a screenshot of what it looks like on Ubuntu 10.04 LTS:
Autorun is not a feature of Mac OS X, so no action is required on Mac OS X.