PC Hardware / Keyboard & Mouse
How to Fix a Keyboard That Is Not Working in Windows
Quick answer
Try another USB port on the PC itself (not a hub), or replace batteries on a wireless board. Open the on-screen keyboard (Win+Ctrl+O if the hardware key still fails, from Ctrl+Alt+Delete → Ease of Access if needed) to confirm Windows can still receive typing. Turn off Filter Keys. A keyboard that works in firmware menus but not Windows is a Windows/driver problem; the reverse is more likely hardware.
Quick diagnosis
If several of these match what you see, you are in the right guide.
- No keys type in any app
- The keyboard works in BIOS but not in Windows, or the reverse
- Only some keys fail (often liquid damage)
- Wireless keyboard connects then dies after sleep
Possible causes
- The USB port, hub, or cable is the weak link
- Dead batteries or a Bluetooth pairing that did not finish
- Filter Keys, Sticky Keys, or a stuck modifier (Ctrl, Alt, Win, Fn)
- A driver or Windows update glitch
- The keyboard hardware itself
What you need
- On-screen keyboard (optional)
- Another keyboard if you have one
What this problem usually means
If the Win key is dead but other keys work, you may have a Start/shell problem, check Start menu. If no key works, stay here. USB keyboards that never enumerate belong next to USB not recognized.
Before you start
- Unplug USB hubs and KVM switches. Test a rear port on a desktop.
- If you spilled liquid, power off and do not keep tapping keys. Hardware service is more honest than Device Manager.
Quick fixes
1. On-screen keyboard as a proof
Settings → Accessibility → Keyboard → On-screen keyboard, if you can get there with a mouse. If on-screen typing works, Windows is fine and the physical keyboard (or its wireless link) is the fault.
2. Filter Keys and stuck modifiers
Settings → Accessibility → Keyboard. Filter Keys can ignore brief presses if it was turned on by holding Right Shift. Turn it off. Press and release Ctrl, Alt, Shift, and Win individually; a stuck key makes every shortcut look like "the keyboard is broken."
Step-by-step troubleshooting
Wired USB
Move the cable to another port. Avoid the front-panel headers on a dusty desktop if rear ports work. If Device Manager shows an unknown USB device when you plug in, follow the USB guide. A keyboard that works on another PC is not a Windows settings issue on the first PC, that first PC's ports or drivers are next.
Wireless and Bluetooth
Replace batteries (weak cells drop keyboards first). Re-pair from Settings → Bluetooth & devices. USB wireless dongles must be on the PC, not through a long hub. If the dongle is missing in Device Manager, that is USB, not Bluetooth settings.
Laptop built-in keyboard
An external USB keyboard that works while the built-in one does not points at the laptop keyboard, ribbon, or a Filter Keys / Fn-lock quirk, not "Windows cannot see any keyboards." Fn lock can disable the number row or invert function keys; toggle Fn+Esc or the lock key your vendor documents.
Device Manager
Keyboards section: the device should not have a warning icon. Uninstall the device (do not delete the driver unless you have another way to type), then scan for hardware changes or reboot so Windows reinstalls it. Optional updates in Windows Update may include HID drivers. Skip driver-booster sites.
Where does the keyboard work?
Choose an answer. The next question appears below, no account or download required.
Hardware, cable, batteries, or a laptop keyboard. Try another keyboard. Windows settings cannot revive a dead matrix.
Filter Keys, a stuck modifier, or a Windows HID issue. On-screen keyboard should still work with a mouse.
Partial hardware failure or Fn-lock. Do not keep reinstalling Windows for one dead key cluster.
How to know the problem is fixed
You can type in Notepad, including letters, space, and Enter, after a reboot. Wireless boards should still work after sleep if that was the original complaint.
If the problem continues
A known-good keyboard on this PC isolates the machine. If no keyboard works, USB controllers or a rare Windows corruption is in play, still try a USB 2 port and a restart in Safe Mode before a repair install. If only this keyboard fails on every PC, replace the keyboard.
When this may be hardware failure
Liquid, missing keys, or a laptop keyboard that fails in firmware is hardware. Software steps will not repair a torn ribbon. Language: this pattern indicates the keyboard or its cable, not proof until you test another board.
Common mistakes to avoid
- Buying a driver pack because one USB port was loose.
- Leaving Filter Keys on after a long Right Shift press.
- Assuming Start not opening means the whole keyboard is dead.
Frequently asked questions
Why does it work after I unplug it twice?
A flaky cable or port. Replace the cable or stop using that hub. Intermittent USB is not fixed by a Windows "keyboard repair" app.
Can a virus disable the keyboard?
Rare compared with Filter Keys and USB. If you also see fake full-screen warnings, treat that as malware first, [fake security warnings](/guides/fake-windows-security-warnings).
Written by Practical PC editorial team. We write practical Windows and PC troubleshooting guides for home users, students, and office workers. Guides are researched from official documentation and widely observed support patterns, then reviewed for safety and plain language. We do not invent lab tests, certifications, or first-hand repair experience we do not have.