Fresh install of Windows 10 22H2 on a Lenovo T14 Gen 4 notebook. Inside Windows, the built-in keyboard doesn’t work nor does any external keyboard. Keyboards work fine in BIOS and during post.
Windows Device Manager shows the error:
Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged. To fix this problem you should uninstall and then reinstall the hardware device. (Code 19)
To resolve the issue modify the Windows Registry entries in the below registry path:
(Default) = keyboard
UpperFilters = kbdclass
Restart the machine and test keyboards.