Quick answer: Restart the PC and try a different USB port. If the keyboard types slowly or ignores keys, turn off Filter keys. If it types the wrong symbols, check the keyboard layout.

1. Rule out the hardware
- Try another USB port, preferably directly on the PC rather than a hub.
- For wireless keyboards, replace the batteries and re-plug the receiver.
- Test the keyboard on another PC. If it fails there too, the keyboard is faulty.
- Laptops: check for a keyboard lock key or a function key with a lock icon.
2. Use the on-screen keyboard meanwhile
Press Win + Ctrl + O, or open Settings › Accessibility › Keyboard and turn on On-screen keyboard.
3. Turn off Filter keys and Sticky keys
Holding Right Shift for eight seconds turns on Filter keys, which ignores short or repeated key presses. Turn off Filter keys and Sticky keys in Settings › Accessibility › Keyboard.

4. Check the keyboard layout
If keys like @, ” or # are in the wrong place, Windows is using the wrong layout. Press Win + Space to switch layouts, and remove ones you don’t need in Settings › Time & language › Language & region.
5. Run the keyboard troubleshooter
Open Settings › System › Troubleshoot › Other troubleshooters and run Keyboard.
6. Reinstall the keyboard driver
- Right-click Start and open Device Manager.
- Expand Keyboards, right-click your keyboard and choose Uninstall device.
- Restart. Windows reinstalls the driver automatically.

7. Stop Windows turning off USB ports
In Device Manager, expand Universal Serial Bus controllers, open each USB Root Hub, and on Power Management clear Allow the computer to turn off this device to save power.
8. Turn off Fast Startup
Fast Startup can stop USB devices initialising properly. Open Control Panel › Power Options › Choose what the power buttons do, click Change settings that are currently unavailable, and clear Turn on fast startup.
9. Keyboard works in BIOS but not Windows?
That points to software. Do a clean boot to check for conflicting keyboard or macro software, and uninstall any recent keyboard utilities.