Here is how to fix a Microsoft Surface Touch or Type Keyboard that is not working
I got my kids Surface RTs for Christmas which they really love, so much so they bought new Type Cover 2 with their own money. All was working fine until yesterday morning when one of the Surface RT devices would not work with the Type Cover 2. The keyboard lit up and the trackpad worked, so did the brightness buttons on the keyboard but none of the keys would work. We tried a Touch Cover on it which worked fine and the Type Cover 2 worked on my Surface so I knew it was software related and not a hardware fault. I started to look at Device Manager and couldn’t see any issues and then I remembered the PC Refresh feature of Windows 8.1.
Surface keyboard not working
You can find PC Refresh by swiping in from the right to bring up the Charms, tap on settings and then Change PC settings. Tap on Update and recovery and then on Recovery. Tap on Get Started with a Refresh and then the device will go away and refresh Windows without losing any apps or settings. After about 30 minutes the Surface was back up and running with the Type Cover 2 fully working. There was no need to re-install anything and everything was working ok.
It’s a handy feature and I suspect the problem was caused by a corrupted driver and the refresh feature fixed it without having to get into recovery images or messing with drivers.
If your keyboard is not working at all try this fix here.
UPDATE: Before doing a refresh you could try this fix from Sol in the comments:
1. Go into device manager.
2. Under other devices, you will find two unknown devices.
3. Double tap one, click on driver tab, click on update driver
4. Click on browse my computer for driver software
5. Click on Let me pick from a list of device drivers
6. Select keyboard, then click Next
7. Select HID Keyboard device and click finish
8. Repeat for the second unknown device.