Fixed 6 of 7 HP prodesk 400 at a customer today. Don’t know why the last one didn’t needed the fix. Byt the’re all installed in the same way but no scripting or imaging is involved so it could be a human “error” when uninstalling some HP bloatware.
The fix is easy and doesn’t take a lot of time. Just reboot and if it goes to the recovery menu, open up the command prompt and navigate to C:\windows\system32\drivers\ and rename hpqkbfilter.sys. Reboot an you are set. I have not tried renaming the file in Windows though so that might be the quickest option.