I am pleased to report that my keyboard is now working! As I suspected, I was able to fix the problem with a registry edit.
First I needed to identify the specific registry key that was causing the issue. I was able to find a clue from a YouTube video recommending a fix for a disabled keyboard/touchpad on Windows 8. The author recommended changing the following key:
HKEY LOCAL MACHINE>SYSTEM>CurrentControlSet>Control>Class...
... from there you need to find the entry associated with the keyboard. The hardware will appear in roughly alphabetical order.The video recommended changing the value of the UpperFilters for the (Class) Keyboard to kdbclass and then rebooting.
That didn't work.
So I just decided to delete the whole entry for UpperFilters and after the reboot, the keyboard came to life.
As Windows 8.1 reloaded it apparently rewrote the UpperFilters for the Keyboard Class registry.
So to all those who have suffered from this crazy problem and waited in vain for Microsoft to offer some useful advice, this seems to work. No need to rebuild your OS from scratch.
My heartfelt thanks to all who took an interest and replied to my post.