SmartCard PIN prompt appears behind modal dialog box in Internet Explorer 9 and later versions

Warning

The retired, out-of-support Internet Explorer 11 desktop application has been permanently disabled through a Microsoft Edge update on certain versions of Windows 10. For more information, see Internet Explorer 11 desktop app retirement FAQ.

This article provides a solution to fix the problem that the password can't be typed when the smart card pin is prompted by changing the registry.

Original product version:   Internet Explorer 9 and later versions
Original KB number:   2701897

Symptoms

Consider the following scenario:

  • You are using Internet Explorer 9 and later versions.
  • You have a webpage that launches a modal dialog box.
  • From this modal dialog box, a SmartCard PIN prompt is shown for the user to type in their password. In these conditions, the SmartCard prompt appears behind the modal dialog box and no user interaction is possible at this point.

Workaround

To work around this issue, disable Hang Resistance in Internet Explorer by creating the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\  
Type: REG_DWORD  
Name: HangRecovery  
Value: 0`