You receive an access violation error message after you press the power button on a Windows XP-based computer (900903)



The information in this article applies to:

  • Microsoft Windows XP Media Center Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Tablet PC Edition

SYMPTOMS

Consider the following scenario:
  • You click Ask me what to do in the When I press the power button on my computer box. The When I press the power button on my computer box is located on the Advanced tab in Power Options Properties.
  • A custom Graphical Identification and Authentication (GINA) .dll file is currently registered and loaded.
  • All users are logged off.
After you press the power button on the Windows XP-based computer, you receive an access violation error message.

CAUSE

This problem occurs because Winlogon.exe does not correctly handle the Advanced Configuration and Power Interface (ACPI) power button event if a custom GINA is currently registered and loaded. Winlogon.exe always handles the ACPI power button event through the functions that are exported by the default Msgina.dll file. However, the Msgina.dll file is not used if a custom GINA file is used. Therefore, the access violation occurs when Winlogon.exe tries to call a function pointer that should be mapped to a function that is exported only by the Msgina.dll file.

WORKAROUND

To work around this problem, do not click Ask me what to do in the When I press the power button on my computer box if you are using a custom GINA.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MajorLast Reviewed:7/5/2005
Keywords:kbtshoot kbprb KB900903 kbAudEndUser