I've had similar issues. I tried multiple things, but the one that seemed to resolve it was another keyboard that was installed in the past and was being remembered by Device Manager. Uninstalling the old keyboard from Device Manager solved the issue for me.
Here's how I did it:
1) Press Windows+X, select Command Prompt (Admin), say yes to the security popup.
2) Type in SET DEVMGR_SHOW_NONPRESENT_DEVICES=1 and press Enter.
3) Close Command Prompt.
4) Open Device Manager.
5) Drop down the View menu across the top and select Show Hidden Devices.
6) Expand the Keyboards section. Look for any keyboards that are grayed out, this means they're not currently present. Right click them and uninstall them. If it gives the option to remove...