sirAndros / KeePassWinHello

Quick unlock KeePass 2 database using biometrics with Windows Hello
MIT License
302 stars 21 forks source link

NullReferenceException: Plugin no longer working in Windows 11 #85

Closed phlox closed 1 year ago

phlox commented 2 years ago

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

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

Additional context

Add any other context about the problem here.

shuffle-c commented 2 years ago

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

phlox commented 2 years ago

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!

shuffle-c commented 2 years ago

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

sirAndros commented 1 year ago

Merged in upcoming release