Version: 2008
Advanced Search
advertisement
advertisement

Forum display:

Windows XP: How do you suppress popup window when USB drive is inserted

by edenney - 9/15/09 5:06 AM
advertisement
Click Here
Post 1 of 4

How do you suppress popup window when USB drive is inserted

by edenney - 9/15/09 5:06 AM

I need to know if there's a way to suppress an explorer window from opening when a USB drive is inserted under Windows XP. I know you can configure XP to behave differently based on the type of media on the USB drive (if any exists), but it only gives you the option to control how it handles those certain media types, there is no option that I've found to tell it NOT to open a window at all which is what I need to happen. I've tried telling it to take NO ACTION for all 4 of the available media types, but it still opens a browser/explorer window for the drive when it's inserted. If anyone knows a solution please help, this is extremely important and time sensitive.

Thanks in advance!

Post 3 of 4

More Info from Start, Help . . .

by Coryphaeus - 9/15/09 5:22 AM In reply to: How do you suppress popup window when USB drive is inserted by edenney

Default Behavior of Autorun and AutoPlay
Default behavior of AutoPlay on Windows XP-based systems
AutoPlay begins reading from a drive as soon as you insert media into the drive. Therefore, the Setup file of programs and the music on audio media start immediately. Before Windows XP SP2, AutoPlay was disabled by default on removable drives, such as the floppy disk drive (but not the CD drive), and on network drives. Starting with Windows XP SP2, AutoPlay is enabled for removable drives. This includes ZIP drives and some USB mass storage devices. If you enable the settings to disable AutoPlay (the procedure to do this is described in this article), you can disable AutoPlay on a CD drive, on removable media drives, on all drives.

Note This setting appears in both the Computer Configuration and User Configuration folders. If the settings conflict, the setting in Computer Configuration takes precedence over the setting in User Configuration.
Default behavior for Autorun
Autorun commands are generally stored in Autorun.inf files. These commands enable applications to start, start installation programs, or start other routines. In versions of Windows that are earlier than Windows Vista, when media that contains an Autorun command is inserted, the system automatically executes the program without requiring user intervention. Because code may be executed without user's knowledge or consent, users may want to disable this feature because of security concerns. The configuration settings that are described in this article give Administrators the ability to selectively or completely disable all Autorun capabilities for systems that run Windows 2000, Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008 systems.

The default behavior in Windows Vista and Windows Server 2008 is to prompt the user whether an Autorun command is to be run. Changes to these settings are described later in this article. An Administrator can completely disable Autorun commands or revert to the pre-Windows Vista behavior of automatically executing the Autorun command. If the feature is configured to disable Autorun capabilities, or if this policy is not configured, Windows Vista and Windows Server 2008 will continue to prompt the user whether the Autorun command is to be run.
Back to the top
Prerequisites to disable Autorun capabilities
To disable Autorun capabilities, you must install the following updates:
Update for Windows XP (KB967715)
http://www.microsoft.com/downloads/details.aspx?FamilyID=c7dbcde3-7814-47c5-849e-e64ecfb35d74 ( http://www.microsoft.com/downloads/details.aspx?FamilyID=c7dbcde3-7814-47c5-849e-e64ecfb35d74)
Update for Windows Server 2003 for Itanium-based Systems (KB967715)
http://www.microsoft.com/downloads/details.aspx?FamilyID=99423caf-b52b-4ebc-b80c-94ee1ef9f66b ( http://www.microsoft.com/downloads/details.aspx?FamilyID=99423caf-b52b-4ebc-b80c-94ee1ef9f66b)
Update for Windows Server 2003 x64 Edition (KB967715)
http://www.microsoft.com/downloads/details.aspx?FamilyID=7b866fb7-9bb7-4fce-b395-d0a4ee38a115 ( http://www.microsoft.com/downloads/details.aspx?FamilyID=7b866fb7-9bb7-4fce-b395-d0a4ee38a115)
Update for Windows Server 2003 (KB967715)
http://www.microsoft.com/downloads/details.aspx?FamilyID=32b845ac-7681-468c-812b-2dcebdae9b40 ( http://www.microsoft.com/downloads/details.aspx?FamilyID=32b845ac-7681-468c-812b-2dcebdae9b40)
Update for Windows XP x64 Edition (KB967715)
http://www.microsoft.com/downloads/details.aspx?FamilyID=ca802f38-0566-4ac4-8808-6515623c35c5 ( http://www.microsoft.com/downloads/details.aspx?FamilyID=ca802f38-0566-4ac4-8808-6515623c35c5)
Update for Windows 2000 (KB967715)
http://www.microsoft.com/downloads/details.aspx?FamilyID=3c6039f1-d84d-4294-8457-35aa8b4dcab8 ( http://www.microsoft.com/downloads/details.aspx?FamilyID=3c6039f1-d84d-4294-8457-35aa8b4dcab8)
Windows Vista-based and Windows Server 2008-based systems must have update 950582 (Security bulletin MS08-038 (http://www.microsoft.com/technet/security/bulletin/ms08-038.mspx) ) installed to take advantage of the registry key settings that disable Autorun.
After the prerequisites are installed, follow these steps to disable Autorun.
Back to the top
How to use Group Policy settings to disable all Autorun features in Windows Server 2008 or Windows Vista
Use either of the following methods:

Method 1
Click StartCollapse this imageExpand this image, type Gpedit.msc in the Start Search box, and then press ENTER.

Collapse this imageExpand this imageIf you are prompted for an administrator password or for confirmation, type the password, or click Allow.
Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
In the Details pane, double-click Turn off Autoplay.
Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
Restart the computer.
Method 2
Click StartCollapse this imageExpand this image, type Gpedit.msc in the Start Search box, and then press ENTER.

Collapse this imageExpand this imageIf you are prompted for an administrator password or for confirmation, type the password, or click Allow.
Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
In the Details pane, double-click Default Behavior for AutoRun.
Click Enabled, and then select Do not execute any autorun commands in the Default Autorun behavior box to disable Autorun on all drives.
Restart the computer.
Back to the top
How to use Group Policy settings to disable all Autorun features in Windows Server 2003, Windows XP Professional, and Windows 2000
Click Start, click Run, type Gpedit.msc in the Open box, and then click OK.
Under Computer Configuration, expand Administrative Templates, and then click System.
In the Settings pane, right-click Turn off Autoplay, and then click Properties.

Note In Windows 2000, the policy setting is named Disable Autoplay.
Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
Click OK to close the Turn off Autoplay Properties dialog box.
Restart the computer.
Back to the top
How to disable all Autorun features in Windows XP Home Edition and other operating systems
Windows Server 2008 or Windows Vista
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows

Post 4 of 4

Found a solution, thanks

by edenney - 9/15/09 5:38 AM In reply to: More Info from Start, Help . . . by Coryphaeus

I finally found a solution using a program called TweakUI, which allows you to disable autoplay on a drive letter basis which was exactly what I needed. It's actually a really cool program that I wasn't aware of, and I expect to get a lot of use out of it in the future. Thank you to everyone that posted solutions.

Forum legend:
Locked Locked thread
Moderator Moderator
CNET staff CNET staff
Samsung staff Samsung staff
Norton Authorized Support team Norton Authorized Support team
AVG staff AVG staff
Windows Outreach team Windows Outreach team
Dell staff Dell staff
Intel staff Intel staff
Powered by Jive Software