Article ID: 813838 - Last Review: December 3, 2007 - Revision: 4.5 Device Installation Scheduled as Part of GUIRunOnce Stops Responding (Hangs)SYMPTOMSOn a Microsoft Windows XP-based or Windows Server 2003-based
computer, a device installation that is scheduled as part of the GUIRunOnce
process may appear to stop responding (hang). Also, other GUIRunOnce entries
may appear to be processed out of order. CAUSEThis issue occurs because on a Windows XP-based or Windows
Server 2003-based computer, a device installation that is scheduled as part of
the GUIRunOnce process must wait until all the GUIRunOnce entries are processed
before it returns. This behavior is different than from Microsoft Windows 2000.
In Windows 2000, a device installation that is scheduled as part of GUIRunOnce
does not process any additional GUIRunOnce entries, and because of this,
returns immediately. WORKAROUNDTo work around this issue if you must install a device
during GUIRunOnce processing, use a single GUIRunOnce entry. This single
GUIRunOnce entry can specify an .inf file that contains all the tasks that must
be performed during GUIRunOnce processing. To use a single GUIRunOnce entry:
MORE INFORMATIONIn Windows XP and Windows Server 2003, GUIRunOnce entries
are added to the runonce registry key as REG_EXPAND_SZ values. Windows processes runonce entries in the following two locations in the Windows code:
In Windows XP and Windows Server 2003, the runonce processing code was consolidated so that now Runonce.exe also processes REG_EXPAND_SZ entries. For additional information about how to use RunOnce entries for device driver installation, click the following article number to view the article in the Microsoft Knowledge Base: 281820
(http://support.microsoft.com/kb/281820/EN-US/
)
INFO: Specifying RunOnce in Device
INF Files
APPLIES TO
| Article Translations
|

Back to the top
