KeePassWinHello icon indicating copy to clipboard operation
KeePassWinHello copied to clipboard

NullReferenceException: Plugin no longer working in Windows 11

Open phlox opened this issue 3 years ago • 3 comments

Describe the bug

After upgrading to Windows 11, the plugin is no longer working.

To Reproduce

Steps to reproduce the behavior:

  1. Start KeePass 2
  2. An error dialog is displayed "NullReferenceException ..."
  3. Go to Tools > Options > WindowsHello
  4. An error message is displayed "Windows Hello is disabled on your system. (...)" - which is not true.

Expected behavior

Working as it did in Windows 10

Screenshots

  • Screenshot - 2021-12-15, 17_20_10
  • Screenshot - 2021-12-15, 17_23_36

Context

Please complete the following information:

Component Version
Operating System Windows 11 Pro 21H2
KeePass 2.49 (64 bit)
Plugin 3.2.0.0

Hardware info

  • AMD Ryzen 9 5950x / Asus ROG Strix X570-E
  • Used biometric sensors: Face detection
  • TPM module info (Win+R => tpm.msc) Screenshot - 2021-12-15, 17_34_26

Plugin settings

  • [x] Is persistent mode enabled ("Store keys in Windows Credential Manager" checked)

KeePass settings and environment

  • [ ] Is secure desktop enabled

  • [ ] Is KeePass running under Administrator (in elevated process)

  • [ ] Was it right after hibernation

  • [x] Was KeePass minified or closed

  • Installed plugins (if any) Screenshot - 2021-12-15, 17_37_14

Additional context

Add any other context about the problem here.

phlox avatar Dec 15 '21 16:12 phlox

Hello, Can you please check if there is the key 'EnableLUA' in registry HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System? If it's absent, please try to add it with the value 1 (DWORD).

Best wishes, Sasha

shuffle-c avatar Dec 15 '21 20:12 shuffle-c

Hi, that's weird, when i add this key, the key will be deleted after next reboot again:

  1. after adding the key Screenshot - 2021-12-21, 17_07_17
  2. after reboot Screenshot - 2021-12-21, 17_11_20 However, before rebooting (while the key was present), the issue was fixed, i.e. WinHello plugin was working again.

Btw, in the meanwhile, I upgraded a second device (a Lenovo notebook) to Win 11 and there the WinHello plugin is working without any issues.

thanks for your help!

phlox avatar Dec 21 '21 16:12 phlox

@phlox, thank you for the update. We'll mitigate the absence of this flag in next release.

shuffle-c avatar Dec 21 '21 16:12 shuffle-c

Merged in upcoming release

sirAndros avatar Feb 07 '23 20:02 sirAndros