The startup time increases or hangs at the logon “Welcome” screen if you frequently connect many different USB devices on a windows 7 or Server 2008 R2 system

Article ID: 2792160 - View products that this article applies to.
Expand all | Collapse all

Symptoms

On a computer that is running Windows 7 or Windows Server 2008 R2 system, if you keep connect various different USB devices, such as different model of USB flash disks, the startup time of the computer keeps increasing or the machine stops responding in the startup process.

Cause

The issue occurs because there are large amount of registry keys for the instances of the USB devices that you installed. In most cases, the problem won’t happen because usually we don’t have so many different USB devices connected to the same computer. Windows keeps the instance information of each device that has been installed on a computer, so the device can be recognized directly next time it is connected.


Note: The “slow bootup” issue or “machine stops responding” issue can be caused by many different reasons. The problem described in this KB article is a very rare issue and mostly you won’t experience it. Before trying the solution in this article, please make sure you are really experiencing this specific scenario. To check if how many device instances have been stored on your computer, open the Registry Editor and check the relative registry keys, such as HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB.


Resolution

Microsoft provides a programming example to remove device information from the registry. For more information, please refer to the following KB article.



How to remove registry information about devices that will never be used again on a computer that is running Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2

http://support.microsoft.com/kb/934234



Note: The Win32 console application mentioned in this article is just a sample for illustration only. You will need to understand how it works and modify it as needed. For example, for the typical USB devices, you may need to add some other GUIDs like below. Please refer to Windows SDK to get more information about the background information about this issue and modify it according your specific requirements.



GUID_DEVCLASS_DISKDRIVE

GUID_DEVCLASS_USB

GUID_DEVCLASS_WPD

GUID_DEVCLASS_VOLUME


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2792160 - Last Review: December 7, 2012 - Revision: 1.0
Applies to
  • Windows 7 Enterprise
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Ultimate
Keywords: 
KB2792160

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com