Peripherals · Firmware
Fix a keyboard or mouse that works in Windows but not in BIOS or recovery
A keyboard that works all day in Windows and goes dead in the BIOS setup or the recovery menu is not broken. Before Windows loads, the firmware drives the keyboard, and it only drives some ports, some connection types, and some settings. Use a wired keyboard in the right port first, then change the firmware setting that caused it.
What you need
- A basic wired USB keyboard. No hub, no wireless receiver, no gaming features. This is the tool that unlocks every other step.
- Access to the back panel ports. On a desktop, the ports that work before Windows loads are usually the ones soldered to the board at the back.
- Care in firmware settings. Change one setting at a time and note each one; the exit option to discard changes is your way back.
Read the problem before you touch it
- Understand the two drivers. In Windows, the operating system drives your keyboard, including wireless receivers and hub ports. In setup and recovery, the firmware does it, with a smaller set of supported devices. A device can be perfectly healthy and still be invisible to the firmware, which is why the test tool is a plain wired keyboard.
- Check whether recovery is really the problem. The Windows recovery menu does accept keyboard and mouse input on most modern PCs. If nothing works there either, the common thread is still the port or the connection type, so work the same order below.
- Note your connection type. Bluetooth keyboards almost never work in firmware setup, because Bluetooth pairing lives in Windows. A 2.4 GHz receiver usually works. A wired keyboard works in the right port. Knowing which you have tells you how far the basic steps will get.
The simple fixes, in order
- Plug a wired keyboard into a back panel USB port. On a desktop, use a USB port on the back panel, ideally a USB 2.0 port if the board has one. Avoid front panel ports, hubs, and monitor USB ports for this test; they often power up only after Windows starts. Restart into setup and test.
- Remove the wireless receiver from the chain. If you must use a wireless keyboard, plug its receiver directly into that same back panel port, not into a hub or a monitor. Receivers on extension leads and hubs are the most common reason a wireless board works in Windows only.
- Enter setup through Windows instead of the key tap. If the keyboard works in Windows, go to Settings > System > Recovery and use Advanced startup, then choose the UEFI firmware settings option in recovery. Microsoft describes this route in Recovery options in Windows. This gets you into setup even while the startup key press is being missed. Microsoft Learn covers the firmware side in Boot to UEFI mode or legacy BIOS mode.
- Try a second basic keyboard if the first fails. Some gaming keyboards default to a mode the firmware cannot read. A plain office keyboard is the reference test; if it works, look for a BIOS mode switch on the gaming board itself.
The advanced route
- Turn on USB legacy support in setup. Once in setup with a working keyboard, find the USB settings and set USB Legacy Support to Enabled, and any XHCI Hand-off setting to Enabled. Save and exit. These settings tell the firmware to drive USB keyboards before Windows loads, which is the whole fault on older boards.
- Turn off fast boot for keyboard access. Find the Fast Boot setting and set it to Disabled or to a mode that initializes USB devices. Aggressive fast boot skips keyboard detection to save a second, which also skips your setup key press.
- Update the firmware only if the settings are missing. If setup has no USB legacy option and no fast boot control, a firmware update from the board or laptop maker may add them. Follow the maker instructions exactly and keep the PC on mains power throughout; this is the one step in this guide that can harm the PC if it is interrupted.
End state
- Your normal keyboard, or at worst the plain wired one, works in setup and in the recovery menu.
- The setup key press is accepted at startup.
- Windows still loads and works normally after the firmware changes.
When it goes wrong
- The wired keyboard works in setup but not in recovery. That split points at the recovery image rather than the firmware. From Windows, the advanced startup route rebuilds the path; if recovery still ignores input, a repair install refreshes it.
- Nothing works in any back port. Try the keyboard on another PC to prove the keyboard, then suspect the board USB controller; a powered hub will not help before Windows loads.
- Settings reset themselves. Firmware settings that will not save usually mean the board battery is flat. Note every setting before replacing it, because a battery swap clears setup values.
- A laptop keyboard fails in its own setup. Plug in the wired USB keyboard; if that works, the built-in keyboard has a fault Windows has been working around with its own driver.
Related fixes
-
Fix a wireless keyboard or mouse with a USB receiver that only works up close
A wireless keyboard or mouse that works beside the PC but stutters or drops a few feet away is usually fighting interference or a badly placed receiver — USB 3 ports and drives are the classic source. Move the receiver first, clear the interference next, and suspect the batteries or the device only after placement is fixed.
-
Fix a Bluetooth mouse or keyboard that lags or drops keystrokes
Bluetooth lag is usually distance, interference, or power saving switching the radio down — not a broken mouse. Shorten the path first, clear interference next, then stop Windows putting the adapter to sleep.
-
Fix a PC you cannot get into BIOS or UEFI setup
Modern PCs boot so fast that the setup key window is gone in a blink — and fast startup can skip it entirely. Use the Windows Settings route first; it works on every UEFI PC regardless of timing.
-
Fix a keyboard that types the same character twice with one press
One press, two letters — repeated on the same keys — is usually key chatter from a failing switch, but a repeat-rate setting set too fast can look identical. Test with the repeat settings and a second keyboard first, so you replace a keyboard only when the fault follows the key, not the settings.
Sources
- Microsoft Support, Recovery options in Windows — the recovery options, including Startup Repair, System Restore, and advanced startup.
- Microsoft Learn, Boot to UEFI mode or legacy BIOS mode — how firmware setup is entered and what the boot mode changes.