📌 Key Takeaways
- •Vendor drivers are not required for HID-compliant keyboards: "Vendor drivers aren't required for keyboards and mice that are compliant with the supported HID Usages and top level collections". [T1] The in-box Microsoft stack is the normal, correct driver. A "missing keyboard driver" on a standard laptop is therefore almost never solved by downloading a keyboard driver — it is solved by repairing the in-box stack or removing whatever is interfering with it.
- •Filters are the sanctioned extension point, and the dangerous one. Microsoft allows filter drivers "as an upper filter to kbdhid/mouhid" and "as an upper filter to kbdclass/mouclass", and warns vendors to "avoid using filter drivers unless critical" and never to replace the Windows HID drivers. [T1] For PS/2-style keyboards the stack is: Kbdclass (upper-level class filter), one or more optional upper-level filter drivers, then I8042prt (function driver). [T2] The `Kbfiltr` sample demonstrates how a filter's ISR callback and service callback can modify what Kbdclass sees. [T1]
# Laptop Keyboard Works in BIOS but Not in Windows: The Complete Driver-Stack Mechanism Guide
Arrow keys move in BIOS Setup. Enter works. Then Windows loads, the logon screen appears, and the whole keyboard is dead — not even the password can be typed. Plug in an external USB keyboard and it types fine. Reinstall the driver and nothing changes. Reinstall Windows and it works for a while, then breaks again the moment the usual software goes back on.
This fault has a sharp dividing line, and the dividing line is the diagnosis: BIOS works, Windows does not. This article starts at the mechanism layer. BIOS and Windows read a keyboard by two completely different routes. BIOS reads the Embedded Controller (EC) scan directly, with no Windows driver in the loop. Windows has to run the full driver stack — transport, HID class, keyboard class, filter drivers, the Win32k input path — before a keystroke reaches an application. Every layer can break, and the BIOS test itself is a free hardware test that tells you which side of the line the fault sits on.
The conclusion first: a keyboard that works in BIOS has already proved its key matrix, its ribbon cable, its EC scan, and its electrical path at the moment of the test. The fault must appear after Windows takes over — in the driver stack, a filter driver, stale power or hibernation state, settings, the user profile, or Windows itself. Every elimination step in this article is organised around the question "which layer broke", not around replacing the keyboard first. [T9][T21][T35]
That is not a guarantee that the hardware is "fine forever". Three honest caveats apply, and they are stated here rather than buried: a BIOS test usually exercises only a few keys, so a partial matrix fault can hide; a loose ribbon connector can make intermittent contact that happens to work during a short BIOS test and fail later; and an EC firmware bug can in theory appear only once Windows loads its ACPI drivers and power policy. Section 1.4 covers each caveat in full. [T3][T29]
The five-minute test: prove where the dividing line is
Before dismantling anything, run three tests and write the results down. Every later step is interpreted against them.
1. BIOS test. Restart and tap the maker's key repeatedly as the logo appears (F2 for Lenovo and Dell; Esc then F10 for HP; F2 or Del for ASUS; the Novo button on some IdeaPads). Once inside BIOS Setup, try the arrow keys and Enter. If they move, record "works in BIOS".
2. External keyboard test. Plug a known-good wired USB keyboard directly into the laptop (not through a hub or dock) and try typing in Windows. If the external keyboard works while the internal one does not, the fault is narrowed to the internal keyboard's own driver stack.
3. Restart test. Using the mouse, choose Start → Power → Restart (not Shut down and power on again). If the keyboard works after Restart but fails again after Shutdown, that pattern is the signature of Fast Startup preserving bad driver state. [T14]
Those three results already narrow the fault to a small range. Section 3 gives the full layered elimination procedure, with each step stating what a pass proves, what it rules out, and where to go next.
1. Mechanism layer: two completely different input paths
1.1 The BIOS/UEFI path — firmware reads the hardware directly
The key matrix. A laptop keyboard is not one switch per key wired to the CPU. It is a grid of rows and columns (a scan matrix). The Embedded Controller drives one column at a time and reads the rows to detect which intersections are closed. [T29] Microchip's notebook EC datasheets describe exactly this hardware: an "18 x 8 keyboard scan matrix" with interrupt capability. [T27][T28]
The Embedded Controller. The EC is a separate microcontroller (historically 8051-based, now often ARM Cortex-M4) that runs whenever battery or charger power is present, even when the laptop looks off. It owns the keyboard matrix, battery charging, fans, lid switch, power button and power sequencing. [T29] The ACPI specification defines the EC as "the general class of micro-controllers used to support OEM-specific implementations" that "perform complex low-level functions through a simple interface to the host microprocessor", and Chapter 12 defines the standard OS-to-EC interface (two I/O ports, five commands: read, write, burst enable, burst disable, query). [T3][T4] Critically, ACPI notes the EC interface is "separate from the traditional PC keyboard controller" and that some OEMs implement both functions in the same EC chip. [T3]
8042 emulation. On most x86 laptops the EC also emulates the legacy Intel 8042 keyboard controller that PC software has expected since the 1980s — ports 0x60 (data) and 0x64 (command/status). [T29][T3] This is why firmware and old software can talk to a modern laptop keyboard as if it were a PS/2 keyboard.
BIOS/UEFI reads scan codes directly. Firmware does not load kbdclass.sys, does not parse HID report descriptors, does not apply a Windows keyboard layout, and does not consult Sticky Keys. It polls the 8042-style interface (or, for an external USB keyboard, the USB HID boot protocol — see Section 1.3) and acts on raw scan codes or fixed-format reports. If arrow keys move in BIOS Setup, the whole chain — key dome, matrix row and column, ribbon cable, EC scan, 8042 emulation, firmware — is proved live at that moment. [T9][T21]
1.2 The Windows path — a six-layer stack, each layer a failure point
Microsoft Learn documents the Windows keyboard stack explicitly. [T1][T2] In order, from hardware to application:
| Layer | Component(s) | Job | What breaks here |
|---|---|---|---|
| 0 — Hardware | Key matrix, ribbon cable, EC | Scan matrix, produce scan codes / HID reports | Dead keys everywhere including BIOS (exonerated by BIOS working) |
| 1 — Transport | i8042prt.sys (PS/2-style internal keyboards) or USB host controller + hidusb.sys (internal USB HID keyboards) | Move raw bytes from EC / USB endpoint to the OS | Wrong, missing or corrupt transport driver; EC firmware bug visible only under OS power management |
| 2 — HID class | hidclass.sys + kbdhid.sys (HID mapper) | Parse HID reports; kbdhid "converts HID usages into scan codes to interface with the existing keyboard class driver" [T1] | Corrupt HID class driver; bad report descriptor handling; device not enumerating as HID |
| 3 — Class driver | kbdclass.sys | "Provides functionality for all keyboards and keypads on the system" [T1]; maintains the input queue feeding Win32k | Corrupt or missing kbdclass.sys; Code 39 (driver failed to load); Code 10 (failed start) |
| 4 — Filter drivers | Upper filters to kbdhid/kbdclass; OEM hotkey drivers; third-party remap, macro and gaming software | Intercept or modify input between layers; Microsoft's own sample Kbfiltr shows a filter can "filter the input data that is transferred from the device input buffer to the class data queue" [T1] | A filter swallows, remaps or blocks keystrokes; a leftover filter points at a deleted .sys file (Code 19/39) |
| 5 — Win32k / layout / session | Windows input stack, keyboard layout DLL, input method, per-user Ease of Access settings | Translate scan codes into characters per the active layout; apply Sticky/Filter Keys; deliver to the focused application | Wrong layout (wrong characters, not no input); Filter Keys ignoring brief presses; corrupt user profile |
Two structural facts from Microsoft's own driver guidance matter here:
- Vendor drivers are not required for HID-compliant keyboards: "Vendor drivers aren't required for keyboards and mice that are compliant with the supported HID Usages and top level collections". [T1] The in-box Microsoft stack is the normal, correct driver. A "missing keyboard driver" on a standard laptop is therefore almost never solved by downloading a keyboard driver — it is solved by repairing the in-box stack or removing whatever is interfering with it.
- Filters are the sanctioned extension point, and the dangerous one. Microsoft allows filter drivers "as an upper filter to kbdhid/mouhid" and "as an upper filter to kbdclass/mouclass", and warns vendors to "avoid using filter drivers unless critical" and never to replace the Windows HID drivers. [T1] For PS/2-style keyboards the stack is: Kbdclass (upper-level class filter), one or more optional upper-level filter drivers, then I8042prt (function driver). [T2] The
Kbfiltrsample demonstrates how a filter's ISR callback and service callback can modify what Kbdclass sees. [T1]
1.3 PS/2 (i8042prt) versus internal USB HID — why the laptop's internal connection matters
- PS/2-style internal keyboards (common; Device Manager usually shows "Standard PS/2 Keyboard"): the path is EC, 8042 emulation,
i8042prt.sys,kbdclass.sys. [T2] There is no HID layer. A fault here is ini8042prt,kbdclass, or a PS/2 upper filter. - Internal USB HID keyboards (increasingly common, especially on newer designs; Device Manager shows "HID Keyboard Device"): the EC (or a USB-connected keyboard controller) presents the keyboard as a USB HID device. The path is USB transport,
hidusb.sys,hidclass.sys,kbdhid.sys,kbdclass.sys. [T1] There is an extra descriptor-parsing step and an extra driver that can fail. - How to tell which one a machine has: Device Manager, Keyboards, device name ("Standard PS/2 Keyboard" versus "HID Keyboard Device"), and Details, Hardware Ids / Device instance path. Check this before blaming
i8042prt, because a USB keyboard will not usually be fixed by changing settings for a PS/2-compatible port driver. - External USB keyboards and the boot protocol. The USB HID 1.11 specification defines a fixed 8-byte boot protocol report (1 modifier byte, 1 reserved byte, 6 keycode slots) precisely so that "the system can take the 8-byte packets and decode them directly" without parsing a report descriptor — "to make this easier for the ROM developer". [T5][T6] BIOS/UEFI uses boot protocol (SET_PROTOCOL 0); Windows switches the keyboard to report protocol (SET_PROTOCOL 1) and parses the full report descriptor. [T6] This is a second, independent reason a keyboard can work pre-boot and fail in Windows: the two modes use different report formats, different parsers, and different drivers. A keyboard whose report descriptor Windows mis-parses (or whose report-protocol mode is broken in firmware) can work perfectly in BIOS boot protocol and fail in Windows — and conversely, a gaming keyboard in NKRO mode can fail in BIOS but work in Windows.
Driver-stack comparison table
| PS/2-style internal keyboard | USB HID internal keyboard | |
|---|---|---|
| Device Manager name | Standard PS/2 Keyboard | HID Keyboard Device |
| Transport driver | i8042prt.sys | hidusb.sys (USB transport) |
| Middle layer | None (no HID layer) | hidclass.sys (glue layer) |
| Mapper | None (scan codes come direct from 8042) | kbdhid.sys (HID usage to scan code) |
| Class driver | kbdclass.sys | kbdclass.sys |
| Filter position | Above Kbdclass (optional) | Above kbdhid / kbdclass (optional) |
| Top layer | Win32 subsystem (exclusive open) | Win32 subsystem (exclusive open) |
| Vendor driver needed? | No — Windows in-box | No — Windows in-box for HID-compliant keyboards |
| BIOS reads it via | 8042 ports directly | USB HID boot protocol (fixed 8-byte report) |
| Windows reads it via | Full i8042prt stack | Report protocol + full HID stack |
1.4 What "works in BIOS" proves — and its limits
Proves, at the moment of the test:
- The key matrix rows and columns for the keys tested are electrically intact.
- The ribbon cable is seated well enough to carry the scan.
- The EC is scanning and the 8042 emulation / USB boot path is delivering codes.
- The failure is downstream of the EC, in the Windows stack or in OS-visible EC behaviour.
- That every key works. BIOS Setup typically only exercises arrows, Enter, Esc and a few function keys. A partial matrix fault (one dead row or column) can hide in BIOS and show in Windows. Test as many keys as BIOS allows, and use the OEM UEFI diagnostic keyboard test (HP: Esc, F2, Component Tests, Keyboard Test [T22]; Dell: F12, Diagnostics / ePSA [T23]) which tests every key outside Windows.
- That the EC firmware is bug-free under Windows power management. The EC behaves differently once Windows loads ACPI drivers and power policy; an EC firmware bug can appear only after boot. This is the legitimate exception to "BIOS working means a software fault", and it is why a BIOS/EC firmware update is sometimes the real fix — but only the OEM's update for the exact model, never a generic one (Section 5).
- That the fault is only software in the narrow sense: a loose ribbon connector can make intermittent contact that happens to work during a short BIOS test and fails later under heat or vibration. Intermittence is the honest caveat; a single BIOS test is strong evidence, not a mathematical proof.
1.5 Layer-by-layer break-point table
| Layer | Component | If it breaks | Can the BIOS test rule it out? |
|---|---|---|---|
| 0 Physical | Key domes, matrix, ribbon, connector | Individual keys or whole rows dead; dead in BIOS too | No — only if BIOS passes (see Section 1.4 caveats) |
| 1 EC / firmware | EC matrix scan, EC firmware | Whole keyboard dead, dead in BIOS too | Yes — BIOS working proves basic EC scan |
| 2 Transport | i8042prt (PS/2) / hidusb + hidclass (USB) | Yellow bang in Device Manager; Code 10 / 39 | Yes — BIOS does not use this layer |
| 3 Mapper / class | kbdhid / kbdclass | Driver load failure, Code 39 / 31 | Yes |
| 4 Filter | OEM hotkey, third-party software, leftover driver (UpperFilters) | Keystrokes swallowed, remapped, intermittent; Code 19 | Yes — BIOS has no filter drivers at all |
| 5 Win32k / settings | Filter Keys, Sticky Keys, layout, user profile | Wrong characters / long press needed / only one account affected | Yes |
| 6 System state | Fast Startup stale state, corrupt system files, Windows Update wrong driver | Restart fixes it, Shutdown breaks it again; breaks right after an update | Yes |
2. Failure mechanisms, layer by layer
2.1 Layer 0 — EC firmware / keyboard matrix (why BIOS working largely exonerates them)
A matrix fault (torn membrane trace, dead row or column, liquid damage) kills the same keys in BIOS and Windows, because the EC scan is common to both paths. If keys work in BIOS, the matrix is not the prime suspect. [T9][T21]
EC firmware faults are real but narrow: the EC also handles power sequencing, fans and battery, [T29] so an EC fault usually brings companion symptoms (fan, charging, or power-button oddities). A pure keyboard-only EC bug that appears only in Windows is possible (ACPI interaction, Section 1.4); it is diagnosed by exclusion after the Windows stack is cleared, and fixed only by an OEM EC/BIOS update.
Hong Kong humidity note (see Section 4): oxidation of the ribbon connector is a genuine Layer-0 mechanism — but it produces the same failure in BIOS. If the keyboard works in BIOS, do not lead with oxidation; mention it only as the explanation for the other symptom pattern (fails in BIOS too) and for intermittent cases. No reliable figure exists for Hong Kong humidity's effect on laptop keyboard connectors specifically, so no percentage or timeframe is given here.
2.2 Layer 1 — Transport: i8042prt versus USB HID
- PS/2 path:
i8042prt.sysis the function driver for a PS/2-style keyboard. [T1][T2] Corruption or a bad filter above it stops the whole keyboard; there is no fallback transport for the internal keyboard. - USB HID path: the USB host controller,
hidusb.sysandhidclass.sysmust enumerate the device and loadkbdhid.sys. [T1] A chipset or USB driver problem can therefore kill the internal keyboard while the PS/2-style path would have survived — and can also kill external USB keyboards, which is a useful discriminator (Section 3). - Discriminator: if an external USB keyboard works in Windows while the internal one does not, the USB transport and the HID/class layers are healthy; the fault is specific to the internal keyboard's stack (its transport, its enumeration, or a filter attached only to it). If the external keyboard also fails in Windows but works in BIOS/WinRE, the fault is in the shared HID/class/filter layers or higher.
- USB selective suspend: a related power-management failure mode is the internal USB keyboard being suspended and failing to wake — typically showing up after sleep or after closing and reopening the lid. This belongs to the power-management layer, and its signature is timing (after sleep) rather than a clean BIOS/Windows split.
2.3 Layer 4 — Upper filter drivers: an often-overlooked cause
This mechanism explains the cases that survive a driver reinstall.
What they are: OEM hotkey software (ASUS System Control Interface / Armoury Crate, Lenovo Vantage hotkey components, HP hotkey support, Dell QuickSet descendants), keyboard remapping tools, macro and gaming software (Razer Synapse, Logitech G Hub, Corsair iCUE), and some security software install upper filters on the keyboard class ({4d36e96b-e325-11ce-bfc1-08002be10318}) or device filters. Microsoft documents that such filters sit above kbdhid/kbdclass and can modify input. [T1][T2]
How they break input: a filter's service callback can drop, remap or delay scan codes before Kbdclass queues them. [T1] A filter whose .sys file was deleted by an uninstaller (but whose registry entry remains) makes Windows fail the whole device (Code 19/39). A filter that loads but deadlocks or mishandles power transitions produces "keyboard works after Restart, dead after Shutdown" (Fast Startup preserves the bad state — Section 2.6).
Why reinstalling the keyboard driver does not fix it: When uninstalling, tick "Delete the driver software" / "Attempt to remove the driver from this system" where offered, so Windows does not simply reinstall the same driver package on reboot. The correct sequence is: uninstall the offending software (not just the device), then uninstall the keyboard device with driver-software removal, then restart. Registry UpperFilters/LowerFilters editing is a real fix for Code 19 in Microsoft's own guidance lineage, but it is registry surgery: treat it as technician-only, back up the registry first, and use the keyboard class GUID exactly ({4d36e96b-e325-11ce-bfc1-08002be10318} — the Keyboard entry in Microsoft's System-Defined Device Setup Classes list [T38]). Never present this as a casual user step.
How to recognise a filter problem:
- The keyboard works again in Safe Mode (Safe Mode loads only basic drivers, not third-party filters) — strong evidence for a filter or third-party software. [T20]
- A clean boot fixes it — points at a service or program that starts with Windows. [T13]
- Device Manager, keyboard, Properties, Driver, Driver Details shows a third-party .sys file in addition to
kbdclass.sys/kbdhid.sys/i8042prt.sys. - The registry value
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}\UpperFilterscontains something other thankbdclass.
2.4 Layer 2/3 — HID class driver corruption and Device Manager codes 19 / 39 / 10
Microsoft Learn's Device Manager error table defines the codes: [T10]
| Code | Problem name | Meaning (plain English) | Recommended resolution |
|---|---|---|---|
| 10 | CM_PROB_FAILED_START | "The device failed to start" — driver loaded but the device would not start | Update or reinstall driver; check for conflicting device or resource problem [T10] |
| 19 | CM_PROB_REGISTRY | "Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged" | Uninstall and reinstall the driver; the registry configuration (including filter entries) is the fault, not the hardware [T10][T12] |
| 39 | CM_PROB_DRIVER_FAILED_LOAD | "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing" | "Reinstall or obtain a new driver" [T11]. Common developer-side causes include a driver binary linking against a missing binary, an incompatible API, or a corrupted or missing file [T11] |
| 31 / 32 | Driver cannot load / service disabled | Driver or service configuration fault | Reinstall driver; check service state |
| 52 | CM_PROB_UNSIGNED_DRIVER | Unsigned driver | Use a signed OEM / Microsoft driver (see Section 2.7) |
UpperFilters/LowerFilters or a service key pointing at a driver that no longer exists. Microsoft Q&A guidance for a Code 19 keyboard is: run the Keyboard troubleshooter, uninstall the device, scan for hardware changes, and restart. [T12] The system-file step is separate: run sfc /scannow plus DISM. [T15][T16] HP's support community records the same code appearing on laptop keyboards immediately after a Windows update (KB5074109), with the same uninstall/reinstall and update-rollback remedies. [T12]
Code 39 means the driver file itself cannot load — corrupt, missing, or incompatible (including HVCI / Code Integrity incompatibility [T11]). Reinstalling from the OEM (chipset plus keyboard/input package for the exact model) is the fix; a generic "driver updater" is the wrong tool (Section 5).
Code 10 is vaguer (failed start) and needs the companion evidence: does the keyboard work in Safe Mode? In a clean boot? After a filter removal? Do not present Code 10 as a diagnosis by itself.
No code at all (device present, no yellow bang, still no input) points up the stack: filter swallowing input, layout, accessibility settings, or profile — not a failed driver load. This distinction is diagnostically valuable.
Practical points:
- Record the code before uninstalling. Once the device is uninstalled, the code is gone, and the most useful clue goes with it.
- Do not tell the reader to press Win+X — their keyboard does not work. Teach the mouse / touchpad route into Device Manager, or the On-Screen Keyboard route.
- "Uninstall device, restart, Windows reinstalls automatically" is the standard action recommended by Dell, ASUS and HP alike, because the keyboard driver is in-box and needs no separate download. [T7][T23][T24]
2.5 Windows Update installing the wrong / downgraded driver
Windows Update is Microsoft's recommended route for drivers: "Windows can automatically download recommended drivers" via Windows Update, and optional driver updates must be manually selected. [T8] But the same channel can deliver a driver that is older than the OEM's, or a generic driver that lacks the OEM's EC/hotkey integration.
Mechanisms: (a) a cumulative update that removes the active driver without installing its replacement (KB4074588 precedent [T30]); (b) an optional driver update that downgrades the chipset/keyboard driver; (c) a feature update that resets the driver stack to in-box defaults, dropping the OEM filter the keyboard's hotkeys depended on.
Remedies in order: Device Manager, Roll Back Driver (only available if Windows kept the previous driver); Settings, Windows Update, Update history, Uninstall updates (for a culprit update); then install the OEM's driver package for the exact model from the OEM site (Lenovo/Dell/HP/ASUS support pages), not from Windows Update alone. [T7][T8] Warn that Windows Update may re-offer the same driver — the durable fix is the OEM package plus, where needed, hiding the bad update. The remedies to use are Roll Back Driver, uninstalling the update, and installing the OEM package. [T7][T8][T17]
How to tell it was the update: the onset time matches the update time. If the machine was fine yesterday and dead this morning after an update, the update is the prime suspect — check the update history before doing anything destructive.
2.6 Fast Startup / hiberfil.sys — stale driver state
Fast Startup (hybrid shutdown, default since Windows 8) does not close the kernel session: "a fast startup simply loads the hibernation file (Hiberfil.sys) into memory" whereas a cold start loads and initialises every driver from scratch. [T14] Windows "closes all applications, logs users out, and writes the kernel session and loaded drivers to hiberfil.sys" at shutdown.
Consequence: a corrupted or wedged keyboard driver state is preserved across Shutdown, power-on, but Restart always performs a full cold boot and reloads drivers fresh. The signature symptom — "keyboard works after Restart, dead after Shutdown" — is therefore diagnostic of Fast Startup preserving bad state, and the first-line test is: use Restart, not Shutdown; then disable Fast Startup (Control Panel, Hardware and Sound, Power Options, Choose what the power buttons do, Change settings that are currently unavailable, uncheck "Turn on fast startup") and retest after a full shutdown. Disable Fast Startup temporarily to test; re-enable it afterwards unless the test proves it is the cause.
Windows Fast Startup is not BIOS Fast Boot. The former is an OS hibernation shortcut; the latter is a firmware setting that skips hardware initialisation and can itself prevent USB keyboards from working pre-boot. Both can be relevant, in opposite directions, and they must be kept separate.
| Fast Startup (Windows) | Fast Boot (BIOS/UEFI) | |
|---|---|---|
| Layer | OS hybrid shutdown | Firmware setting, skips some hardware initialisation |
| Effect | Shutdown writes kernel + drivers to hiberfil.sys; next boot restores them | Boot skips some hardware detection / initialisation |
| Effect on keyboard | Bad driver state is preserved; Shutdown then power-on stays broken | May stop a USB keyboard working before boot (BIOS stage) |
| How to turn off | Control Panel, Power Options, "Turn on fast startup" | Fast Boot option in BIOS Setup |
| Diagnostic meaning | Turning it off and doing a full shutdown tests for stale state | Unrelated to a keyboard failing inside Windows; do not disable the wrong one and conclude "that did not work" |
2.7 Secure Boot / driver signature
With UEFI Secure Boot on, "kernel-mode drivers will not run if they are not properly signed by a trusted certification authority (CA). The operating system will not allow untrusted drivers to run" and test-signing / kernel debugging are disabled. [T18] Windows 10 1607+ requires new kernel drivers to be signed through the Windows Hardware Developer Center. [T19]
Practical relevance to this topic is narrow but real: an old third-party keyboard filter that is unsigned or cross-signed can fail to load (Code 52, CM_PROB_UNSIGNED_DRIVER, in the same error table [T10]) or be blocked after a Secure Boot / certificate change. The line: Secure Boot does not block Microsoft's in-box keyboard drivers, so it is not the cause of a standard keyboard failing — but it can be the reason an old gaming/remap filter stopped loading after an update, and disabling Secure Boot to work around it is the wrong fix (it weakens boot security for a software problem). The correct fix is a signed, current version of that software, or its removal.
Related, verified 2025 precedent: after KB5066835 (October 2025) USB keyboards and mice stopped working in WinRE (not in Windows itself) — a reminder that update-related input failures can be environment-specific and that the fix may be a later update, not a hardware swap. [T31]
2.8 Language / keyboard layout mismatch — wrong characters versus no input
A layout is a mapping from scan codes to characters: Microsoft defines a keyboard layout as fully describing "the language, keyboard type and version, modifiers, scan codes, and so on". [T1] Changing the layout changes which character a key produces; it does not make the keyboard produce nothing.
Diagnostic rule: wrong characters = layout/input-method problem; no characters at all = driver/filter/settings/hardware problem. The two must never be conflated. Check with Win+Space (cycle input methods) and the taskbar language indicator; Settings, Time & language, Language & region, Language options, Keyboards. [T33][T34] Hong Kong relevance: a US-layout machine with a UK layout selected swaps "/@ and #/£; a machine that acquired an extra input method after an update can silently switch layouts per-app.
Also cover: Num Lock remapping letters to numbers on compact keyboards (Fn+NumLk), and Fn Lock / Hotkey Mode swapping F1–F12 with media keys (Fn+Esc on Lenovo/Dell; BIOS "Action Keys Mode" on HP; ASUS System Control Interface driver). [T23][T24] These are settings, not faults.
"Wrong characters" versus "no input" table:
| Symptom | Most likely layer | Check |
|---|---|---|
" types @, Z types Y | Layout wrong | Taskbar language indicator; Win+Space to switch back |
| Cannot type Chinese; Cangjie / Quick input dead | Input method / layout | Settings, Time & language, Language & region |
| Some keys type different characters, others fine | Layout / individual remap | Same as above; then check for remap software |
| Whole keyboard produces nothing | Driver / filter / settings layer, not layout | Run the Section 3 procedure; do not circle the layout settings |
| Number pad types letters / letter area types numbers | Num Lock state | Num Lock light; Fn+Num Lock to toggle |
2.9 Sticky Keys / Filter Keys / Ease of Access
- Filter Keys (hold Right Shift 8 seconds to toggle) "ignores brief or repeated keystrokes" — a keyboard with Filter Keys on looks dead to quick typing and only responds to long presses. Sticky Keys (Shift pressed 5 times) changes modifier behaviour so shortcuts behave oddly. Toggle Keys only adds sounds. All live at Settings, Accessibility, Keyboard (Windows 11) / Ease of Access, Keyboard (Windows 10). [T37]
- These are per-user settings, which is why the new-profile test (Section 2.10) matters, and why they are so often switched on accidentally — the 8-second Right Shift hold happens during gaming or long Shift use. Check them first — a 30-second check before any driver work — because they are the cheapest fix and the easiest to miss.
- On-Screen Keyboard (Win+Ctrl+O) is the accessibility bridge that lets the user navigate every later step while the physical keyboard is dead. [T23]
| Setting | How it gets switched on by accident | Symptom | Where to switch it off |
|---|---|---|---|
| Filter Keys | Hold Right Shift 8 seconds | Quick presses ignored; long press works | Settings, Accessibility, Keyboard, Filter Keys — off, and turn off its keyboard shortcut too |
| Sticky Keys | Press Shift 5 times | Modifier keys seem "stuck"; shortcuts behave oddly | Settings, Accessibility, Keyboard, Sticky Keys — off, and turn off its shortcut too |
| Toggle Keys | Hold Num Lock 5 seconds | Sounds on Caps / Num / Scroll Lock; does not itself kill the keyboard | Settings, Accessibility, Keyboard, Toggle Keys — off |
| On-Screen Keyboard | — | Emergency input tool, not a cause of failure | Settings, Accessibility, Keyboard, On-Screen Keyboard; or the Accessibility icon on the logon screen |
2.10 New user profile test — logic
Microsoft's supported remedy for a corrupted profile is to create a new user account, make it an administrator, sign in (which builds a fresh profile), and copy personal files over. [T32] The diagnostic logic for this article: keyboard settings (layout, Filter/Sticky Keys, input method, per-user autostart software) live in the user profile / HKCU. If the keyboard works in a new local account but not the original, the fault is in the original profile's settings or autostart software — not in the system-wide driver stack. If it fails in the new profile too, the fault is system-wide (driver/filter/service) or hardware.
Caveat: a new profile does not bypass a kernel filter driver or a corrupt class driver, so "fails in new profile" does not prove hardware — it only proves the fault is not profile-local.
2.11 Safe Mode test — logic
Safe Mode "starts Windows with a limited set of files and drivers" (Microsoft Support, "Start your PC in safe mode in Windows"). Entry: Settings, System, Recovery, Advanced startup, Restart now, Troubleshoot, Advanced options, Startup Settings, Restart, 4 (Safe Mode) or 5 (with Networking). [T20]
Diagnostic logic, in a table:
- Works in Safe Mode, fails in normal mode → a third-party driver, filter, service or startup program that Safe Mode does not load is the cause. Proceed to clean boot (Section 3).
- Fails in Safe Mode too, works in BIOS → the in-box driver stack itself is damaged (or the fault is in a driver Safe Mode still loads, e.g. the class driver), or an EC/firmware issue visible only under Windows. Proceed to driver reinstall, SFC/DISM, System Restore, Reset.
- Works in Safe Mode with Networking but the fix needs a download → use option 5; note Safe Mode sign-in needs the account password, not PIN or biometrics. [T20]
Safe Mode result table:
| Safe Mode result | Points to | Next step |
|---|---|---|
| Keyboard works | Third-party driver / filter / startup software | Clean boot, bisect to find the owner (Section 3, step 7) |
| Keyboard still dead, but BIOS works | In-box driver stack / system files / registry, or intermittent hardware | Device Manager reinstall, SFC/DISM, System Restore |
| Keyboard intermittent | Intermittent hardware (ribbon) or filter deadlock | Per-key test plus external keyboard comparison; note when it happens |
3. Layered elimination procedure (what each step proves)
Order matters: cheapest, least destructive, most informative first. Each step below states what a pass or fail means.
| Step | How (exact) | Pass proves / rules out | Fail points to |
|---|---|---|---|
| 0. Record the symptom precisely | Which keys? All, a row, one key, only Fn row, only after Shutdown? When did it start (update? new software? spill?) | Distinguishes total failure (driver/filter) from partial (matrix/layout) from intermittent (connector/EC) | — |
| 1. External USB keyboard | Plug a known-good wired USB keyboard directly into the laptop (not a hub/dock) | Works → USB/HID/class layers healthy; fault is internal-keyboard-specific. Fails too → shared stack or higher layers | Internal stack versus shared stack |
| 2. BIOS/UEFI test | Restart, tap the maker's key repeatedly (F2 Lenovo/Dell; Esc→F10 HP; F2/Del ASUS; Novo button on some IdeaPads). Try arrows/Enter; if offered, run the OEM keyboard diagnostic (HP F2 Component Tests; Dell F12 ePSA) [T21][T22][T23] | Works → matrix, cable, EC scan proven; fault is in Windows layers. Fails → hardware/firmware; stop software fixes, go to Section 6 | Windows stack versus hardware |
| 3. Restart (not Shutdown) | Start → Power → Restart | Works after Restart but not after Shutdown → Fast Startup stale state (Section 2.6) [T14] | Fast Startup versus persistent fault |
| 4. Accessibility settings | Settings → Accessibility → Keyboard: Sticky Keys, Filter Keys, Toggle Keys all Off; check On-Screen Keyboard works | Fixes it → accidental Filter/Sticky Keys. No change → not accessibility | Accessibility versus driver |
| 5. Layout check | Win+Space; taskbar indicator; Settings → Time & language → Language & region | Wrong characters fixed → layout. No input at all unchanged → not layout (Section 2.8) | Layout versus no-input fault |
| 6. Safe Mode | Settings → System → Recovery → Advanced startup → Restart now → Troubleshoot → Advanced options → Startup Settings → Restart → 4 [T20] | Works → third-party driver/filter/service/startup item. Fails → in-box stack or firmware (Section 2.11) | Third-party versus in-box |
| 7. Clean boot | msconfig → Services → Hide all Microsoft services → Disable all → Startup → Open Task Manager → disable all startup items → restart. Microsoft Support: "A clean boot starts Windows with only essential drivers and startup programs" [T13]. Restore normal startup afterwards via the same tool | Works → a non-Microsoft service/startup program is the cause; re-enable in halves to bisect. Fails → not a startup-software conflict | Startup software versus driver |
| 8. Device Manager uninstall/reinstall | Win+X → Device Manager → Keyboards → right-click the keyboard → Uninstall device → tick "Delete the driver software for this device" / "Attempt to remove the driver" if offered → Restart (Windows reinstalls the in-box driver). Also uninstall the software that owns any suspect filter first (Section 2.3). Record any Code 19/39/10 before uninstalling [T7][T10] | Fixes it → corrupt driver/registry/filter registration. Persists → deeper stack or filter still present | Driver/registry versus filter |
| 9. OEM drivers (exact model only) | From the maker's support site for the exact model/serial: chipset, then keyboard/input/hotkey package (ASUS System Control Interface; Lenovo Vantage / support.lenovo.com; Dell SupportAssist; HP Support Assistant). Never a third-party driver site [T7][T8] | Fixes it → wrong/downgraded/generic driver. Persists → system files or OS state | Driver version versus system |
| 10. SFC / DISM | Elevated Command Prompt: DISM.exe /Online /Cleanup-Image /RestoreHealth then sfc /scannow. SFC "scans the integrity of all protected operating system files and replaces incorrect, corrupted, changed, or damaged versions" [T15]; DISM repairs the image SFC relies on [T16] | Fixes it → corrupt protected system files (including kbdclass/kbdhid/i8042prt). SFC clean → system files not the cause | System files versus other |
| 11. New local user profile | Settings → Accounts → Other users → Add account → local account → sign in once [T32] | Works → original profile's settings/autostart. Fails → system-wide or hardware (Section 2.10) | Profile versus system |
| 12. System Restore | rstrui.exe → choose a restore point dated before the problem started. Rolls back system files, drivers, registry and installed programs; personal files untouched. Only works if System Protection was on and a point exists [T17] | Fixes it → a change (update/driver/install) after that date caused it. No point / fails → move to Reset | Recent change versus deeper fault |
| 13. Uninstall the culprit update | Settings → Windows Update → Update history → Uninstall updates (only if onset matches an update) [T17] | Fixes it → that update (cf. KB4074588 precedent [T30]) | Update versus other |
| 14. Reset this PC (Keep my files) | Settings → System → Recovery → Reset this PC → Keep my files → Cloud download. "Reinstalls Windows from scratch… you can choose to keep your personal files" [T17]. Back up first; have the BitLocker recovery key ready | Fixes it → OS state corruption that SFC/Restore could not repair. Fails → hardware/firmware (the decisive branch) | OS state versus hardware |
| 15. Hardware inspection | Only after step 14 fails (or step 2 failed): ribbon reseat, keyboard module test, EC/BIOS update for the exact model, board-level diagnosis. See Sections 4 and 6 | — | — |
- If step 2 fails → do not reinstall Windows; go to hardware (Section 6).
- If step 6 passes but step 7 fails → the cause loads in normal mode but is not a startup service or app: suspect a filter driver or a driver that Safe Mode skips differently — return to step 8 with filter removal.
- If step 14 fails → reinstalling Windows again will not help; the fault is below the OS. Any shop that proposes a second reinstall at this point is guessing.
- Back up before steps 12–14. System Restore keeps personal files; Reset (Keep my files) is designed to keep them but removes apps and settings. [T17] BitLocker recovery key first.
Need a laptop repair expert?
Free diagnosis · Transparent pricing · No fix, no fee · 180-day warranty
Step 0: emergency input — get typing back first
Use the mouse to open the On-Screen Keyboard: on the logon screen, the Accessibility icon at bottom right, then On-Screen Keyboard; once on the desktop, Win+Ctrl+O (if the Windows key still responds) or Settings, Accessibility, Keyboard, On-Screen Keyboard. [T23] With no external keyboard, use the On-Screen Keyboard for every step below — do not tell the reader to "press Win+R", because they cannot press it. This step is not a diagnosis; it is what makes every later step possible. Every step below that needs typing can be done with a mouse or the On-Screen Keyboard.
Step 1: external USB keyboard test
- External works, internal does not → the Windows input stack (Win32k, basic HID drivers) can receive input; the fault is narrowed to "the internal keyboard's driver stack / that device".
- External fails too → the fault is in a part of the Windows input layer shared by both keyboards (HID/kbdclass, filter, system files, settings), not specific to the internal keyboard; or the USB port / USB controller has a problem — try another USB port.
- Dell's official guidance lists the external keyboard test as a standard step: if the external keyboard works, the problem is confirmed as limited to the laptop keyboard. [T23]
- Practical note: plug the external keyboard directly into the laptop's own USB port, not through a hub or docking station, so the hub is not another variable; prefer a wired keyboard over a Bluetooth one, because a Bluetooth keyboard adds another stack of its own.
Step 2: BIOS test (confirm the dividing line)
- Dell: restart, press F2 at the Dell logo to enter BIOS Setup, then General, Boot Sequence, Add Boot Option, and type in the text field to test; press Esc to exit without saving. [T23]
- HP: restart, press Esc then F10 to enter BIOS Setup and check Advanced, Built-in Device Options for whether the internal keyboard is enabled; or press Esc then F2 for HP Hardware Diagnostics, Component Tests, Keyboard. [T22]
- Lenovo / ASUS: usually F2 (some Lenovo models need Fn+F2 or the Novo button) to enter BIOS; if the arrow keys and Enter move, the keyboard hardware responds.
- Reading the result: BIOS works → continue with steps 3–14 (Windows layers); BIOS fails → jump to the Section 6 hardware decision (ribbon / keyboard module / board), and stop spending time reinstalling Windows.
- Test more than the arrow keys: if the BIOS screen offers a text field (for example Dell's Add Boot Option), try several letter keys; if only arrows are available, record "only arrows and Enter tested" rather than claiming "the whole keyboard was tested in BIOS".
Step 3: a real Restart, plus a Fast Startup test
First do Start, Power, Restart (not Shut down and power on). If the keyboard works after Restart, Fast Startup stale state is highly suspected (Section 2.6). [T14] If Restart does not help either, try a full shutdown: shutdown /s /t 0, or temporarily turn off Fast Startup (Control Panel, Power Options, Choose what the power buttons do, uncheck "Turn on fast startup"), then shut down and power on to test. Decide afterwards whether to turn Fast Startup back on — Microsoft does not recommend leaving it off permanently. Record the pattern: "works after Restart, dead after Shutdown" is itself diagnostic evidence, and telling a technician that pattern saves a round of questions.
Step 4: accessibility settings and layout
Turn off Filter Keys, Sticky Keys and Toggle Keys, including their keyboard shortcuts (Section 2.9). Check the layout: the taskbar input indicator should be correct (for example "ENG US" / "Chinese (Traditional, Hong Kong)"), and use the On-Screen Keyboard to press Win+Space to switch back to the correct layout (Section 2.8). [T33][T34] If this layer is the cause, it is fixed in minutes at near-zero cost; if not, the settings layer is excluded and the driver layer can be approached with confidence.
Step 5: Safe Mode (see Section 2.11)
Enter Safe Mode via WinRE (press 4 / F4) and test typing in Notepad. [T20] Works → third-party software / filter problem, go to step 7 (clean boot); fails → go to steps 8–10. Before entering Safe Mode, have the account password ready (Safe Mode sign-in usually needs the password, not PIN or fingerprint) and, for BitLocker users, the recovery key. [T20]
Step 6: clean boot (bisect the third-party software)
Microsoft's official clean-boot definition: start Windows with only basic drivers and startup programs, making it easier to identify and resolve background software conflicts. Steps: msconfig, Services, tick "Hide all Microsoft services", Disable all; Task Manager, Startup apps, disable each one; restart and test. [T13]
- Clean boot fixes it → bisect by re-enabling half the services / startup items at a time to find which software eats the keystrokes. Usual suspects: keyboard remapping / macro software, gaming peripheral suites, remote software, OEM hotkey software.
- Clean boot does not fix it → startup software is excluded; the fault is in the driver or system layer, go to step 8.
- Restore afterwards: Microsoft's document includes the "reset the computer to start normally" restore step — include it, and do not leave the machine in clean-boot state. [T13]
Step 7: Device Manager uninstall / reinstall, plus the error code
Device Manager, Keyboards, right-click, Uninstall device, restart; Windows automatically reinstalls the in-box driver. ASUS's official guidance says to remove all devices under the keyboard category before restarting. [T24] Copy down the error code (Code 10 / 19 / 39 / 31 / 52) before uninstalling and handle it per Section 2.4; Code 19 may need the UpperFilters treatment, but only by a technician and only after a registry backup. If "Roll Back Driver" is available and an update is suspected, try the rollback first (Section 2.5). [T12]
What this step proves: fixed after reinstall → driver configuration / registry corruption; still broken → the driver file itself is corrupt (go to step 10) or a deeper problem. Correct order: download the OEM driver package for the exact model (chipset, keyboard/input, hotkey software) from the maker's site before uninstalling, so the reinstall source is ready. Dell, ASUS and HP all direct users to the maker's site or official tool (SupportAssist / MyASUS) for drivers and BIOS. [T7][T23][T24]
Step 8: OEM drivers (exact model only)
From the maker's support site for the exact model/serial: chipset first, then the keyboard/input/hotkey package (ASUS System Control Interface; Lenovo Vantage / support.lenovo.com; Dell SupportAssist; HP Support Assistant). Never a third-party driver site. [T7][T8] Fixes it → wrong, downgraded or generic driver; persists → system files or OS state.
Step 9: SFC / DISM
Microsoft's official order: DISM first, then SFC. DISM provides the files needed to repair corrupt files and should run before SFC. [T15][T16] In an elevated Command Prompt, in order:
DISM.exe /Online /Cleanup-Image /RestoreHealthsfc /scannow(scans all protected system files and replaces corrupt versions with a cached copy; do not close the window before it finishes) [T15]
%WinDir%\Logs\CBS\CBS.log, or run it again in Safe Mode. [T15][T16] What this proves: repaired → corrupt system files; clean or unrepairable → the system-file layer is excluded, go to step 11.
Step 10: new local user profile (see Section 2.10)
New account works → the old account's settings / registry / autostart programs are the fault; new account fails too → system-layer problem. [T32] This step is a diagnosis, not a repair — creating a new account does not solve the problem.
Step 11: System Restore / update uninstall / Reset decision point
- System Restore: the problem started recently and a restore point exists → restore to before the problem started. ASUS's official troubleshooting lists "restore the system from a restore point" as the step after driver reinstallation; HP's guidance says the same. Restore does not touch personal files, but it removes programs and drivers installed after the restore point. [T17][T24][T22]
- Uninstall the latest update: if the timing matches a Windows Update, try this first — it is less destructive than System Restore.
- Reset this PC: if SFC/DISM/Restore all fail, consider it. "Keep my files" versus "Remove everything" — the former still removes apps and settings. Back up first.
- Clean reinstall of Windows: the last resort. Decision point: if Safe Mode, clean boot, driver reinstall, SFC/DISM and System Restore all fail, but the BIOS test passes, a reinstall may fix it (it rebuilds the whole driver stack and registry). But if the problem returns immediately after reinstall (for example because the same OEM hotkey software / filter driver was reinstalled automatically), that proves it was never a Windows problem in itself — go back to the filter driver / firmware / hardware investigation (Section 5).
Procedure flowchart (text version)
```
Keyboard dead in BIOS? → Hardware layer (ribbon / keyboard module / board / EC) → inspection quotation
Keyboard works in BIOS → Windows layer:
Restart fixes it? → Fast Startup stale state
Filter / Sticky Keys? → turn off settings
External keyboard works, internal does not? → internal keyboard driver stack
Safe Mode works? → third-party filter / startup software → clean-boot bisection
Safe Mode fails? → driver reinstall → SFC/DISM → new user test → System Restore → Reset / reinstall
All fail? → back to suspecting intermittent hardware / EC firmware → professional inspection
4. Hong Kong context
4.1 Humidity and ribbon-connector oxidation — handle with precision
Hong Kong's humid, salty-air environment is a genuine accelerant for contact oxidation on exposed connectors, and a laptop carried daily through air-conditioned offices, the MTR, and humid streets sees repeated condensation cycles. But the mechanism matters: oxidation on the keyboard ribbon connector degrades the electrical path before the EC scan, so it fails in BIOS exactly as it fails in Windows. It is therefore the explanation for "fails everywhere / intermittent everywhere", not for "works in BIOS, fails in Windows". Do not present humidity as the cause of a BIOS-working fault; present it as (a) the reason a BIOS-failing keyboard in Hong Kong is worth an internal inspection and clean before a module swap, and (b) the reason an intermittent fault deserves a reseat test.
This distinction is the Hong Kong value-add here: most generic guides list "loose cable" without saying which symptom pattern it matches. No reliable figure exists for Hong Kong humidity's effect on keyboard connectors, so no percentage or timeframe is given here.
Practical advice that needs no disassembly: keep the laptop dry, do not use it immediately after moving between air-conditioned rooms and humid outdoors, and power it off immediately if liquid gets in. These are general care suggestions, not a diagnosis.
4.2 Commuting vibration and mechanical wear
Daily commuting (bag, MTR, ferry, minibus) means repeated shock, vibration and flex. Mechanically this loosens ribbon connectors and fatigues membrane traces — again, a Layer-0 mechanism that shows in BIOS too. Its diagnostic value here is as the intermittence explanation: a keyboard that works in BIOS on a cold desk and fails after a commute, or fails when the chassis flexes, points at the connector even though one BIOS test passed. Advise re-testing in BIOS after the laptop has been carried and used normally, and pressing gently around the keyboard and palmrest while testing (a technician test, not a user repair). No reliable figure exists for vibration-induced keyboard failure rates, so no figure is given here.
4.3 Local parts / aftermarket keyboard module — price reality (strict)
Keyboard replacement from HK$480; all other costs by written quotation after inspection — including the diagnostic fee, any ribbon/cable part, any EC/BIOS work, any board-level work, and any labour.
Keyboard modules are model-specific (different ribbon pitch, backlight, frame, and layout per model and generation); an aftermarket or used module may fit physically but differ in backlight, key feel, or layout; the correct part is identified by the laptop's exact model/serial and the module part number, and compatibility must be confirmed before ordering. Compatibility by "looks the same" is a trap.
Sourcing reality, stated honestly: for current models the OEM part comes through the maker's parts channel; for older models the available part is often aftermarket or pulled stock, and availability and condition must be confirmed per unit. No lead-time promise may be given.
4.4 In-warranty versus out-of-warranty
- In warranty: do not open the chassis, do not reseat the ribbon, do not flash an unofficial BIOS. Use the maker's own diagnostics (HP UEFI diagnostics, Dell ePSA/SupportAssist, Lenovo Vantage diagnostics, MyASUS) and the maker's support channel; a BIOS-working fault is a software/driver case the maker supports remotely, and a hardware case they repair under warranty. Opening the machine can affect warranty coverage. [T9]
- Out of warranty: the decision framework in Section 6 applies. The BIOS test result should be documented (a photo or short video of keys working in BIOS Setup) before handing the machine over — it is the single most useful piece of evidence for the technician, because it immediately rules out a module swap as the first step.
- Data: back up before any Reset/reinstall or any hardware work, and have the BitLocker recovery key available before BIOS changes (Lenovo's own UEFI BIOS documentation warns that firmware changes can trigger a BitLocker recovery prompt). [T25]
5. Common misdiagnoses and traps
5.1 Replacing the whole keyboard module when it is a driver/filter problem
The most expensive version of ignoring the BIOS test. If keys work in BIOS, a new module will show the same failure in Windows, because the module was never the fault. Say this plainly: a module swap is the fix for a BIOS-failing keyboard, not for a BIOS-working one. Correct order: BIOS test, software elimination, and only then replace hardware once it is confirmed. Before replacing, get a written quotation — keyboard from HK$480; everything else by written quotation after inspection. If a shop quotes a keyboard module without testing in BIOS, ask them: "Did you test it in BIOS?"
5.2 Reinstalling Windows without removing the offending filter driver/software
A Reset (Keep my files) removes apps — but if the user then reinstalls the same gaming/hotkey/remap suite from a backup or the maker's app store, the filter returns with it and the keyboard "breaks again after reinstall". The durable fix is: identify the filter-owning software first (clean boot bisection, Section 3 step 7), remove it, then repair Windows. Any guide that jumps to reinstall without this step is prescribing a relapse.
Reinstall outcome table:
| Situation | What happens after reinstall | Correct approach |
|---|---|---|
| Culprit is a third-party filter, and it is not reinstalled | Fixed | But the clean-boot test should have found the culprit first, without reaching a reinstall |
| Culprit is a third-party filter, and the same suite is reinstalled | Breaks again immediately | Find the culprit software first, remove it, then reinstall; reinstall software one at a time, testing after each |
| Culprit is a Windows Update wrong driver | Windows Update may install the same driver again after reinstall | Install the OEM driver from the maker's site first; do not let Windows Update install drivers immediately |
| Culprit is an EC firmware bug | Reinstall changes nothing | OEM BIOS/EC update (exact model only), not a reinstall |
| Culprit is the internal keyboard disabled in BIOS | Reinstall changes nothing | Enter BIOS and re-enable the internal keyboard |
5.3 Third-party "driver updater" tools
Microsoft's route is Windows Update plus the OEM's site for the exact model. [T7][T8] Third-party updaters can install a wrong, older, or mismatched driver, bundle unwanted software, and — worst for this fault — install a new filter driver that becomes the next cause. Warn against them by name-category (not by brand, unless verified) and give the two legitimate sources only. If a third-party tool has already been used, remove every driver it installed and return to the in-box driver, then test again.
5.4 BIOS update risks
A BIOS/EC update is legitimate only when (a) the OEM's release notes for the exact model list a keyboard/EC fix, or (b) every Windows-layer step has been exhausted and the maker supports it. The risks are documented by the makers themselves: Lenovo warns not to interrupt the process — a freeze, crash or power loss during flashing "can corrupt the BIOS" / "can corrupt the firmware" and leave the machine unable to start; updates are model-specific and the wrong package "can make the system unusable". [T25][T26] Lenovo's UEFI documentation adds: during memory retraining the screen may go blank with Esc/F1/F4 LEDs blinking — "Do not press the power button to interrupt the process". [T25]
The rules: exact model only, AC power connected, battery charged, BitLocker key in hand, never interrupt, never flash from a random download site. And: do not update the BIOS as a first step for a BIOS-working keyboard — the BIOS is already demonstrably working. A BIOS update is not a universal remedy and cannot repair a driver-layer problem.
BIOS update checklist:
| Check | Why it matters |
|---|---|
| Model matches exactly | The wrong model's BIOS can leave the machine unable to start |
| Downloaded only from the maker's official site | BIOS files from third-party sources are of unknown origin |
| AC power connected, battery charged | Power loss during flashing can brick a machine |
| Important data backed up first | A failed update may require a repair visit, putting data at risk |
| BitLocker recovery key in hand | Firmware changes can trigger a BitLocker recovery prompt [T25] |
| Check BIOS settings after the update | Hotkey Mode and the internal keyboard switch may have been reset |
| Do not update before the firmware is diagnosed as the cause | The BIOS already works; an update will not fix a driver-layer fault |
5.5 "It works in BIOS, so it must be a virus / must be the motherboard"
Neither follows. Malware that specifically kills keyboard input while leaving BIOS intact is not the demonstrated mechanism; the demonstrated mechanisms are drivers, filters, settings and OS state (Section 2). Motherboard/EC failure is possible but is the last hypothesis after step 14, not the first. Do not let a reader (or a shop) jump to a board replacement on the strength of a BIOS test alone — the BIOS test points away from the board in the first instance, and only the full elimination procedure points back to it.
5.6 Editing the registry (UpperFilters/LowerFilters) from a random forum post
The fix is real for Code 19, but the wrong class GUID deletes another device class's filters. Technician-only, registry backed up first, and use the keyboard class GUID only ({4d36e96b-e325-11ce-bfc1-08002be10318}). [T38] Never present a bare regedit delete as a casual user step.
5.7 Testing only one key in BIOS
Arrow keys working does not prove the whole matrix. Use the OEM full-keyboard diagnostic where available. [T21][T22] A single dead row or column can hide behind a BIOS test that only exercised the arrows and Enter, then show up as "some keys dead in Windows" — which is a different fault from "the whole keyboard is dead in Windows" and needs a different fix.
5.8 Confusing Fast Startup with Fast Boot (Section 2.6)
Disabling the wrong one and concluding "that did not work" wastes a diagnostic round. Fast Startup is a Windows hibernation shortcut; Fast Boot is a firmware setting. They are different layers, different settings screens, and different effects on the keyboard.
5.9 A secondary report: the Intel Integrated Sensor Solution driver
Some repair guides report that disabling the Intel Integrated Sensor Solution driver (Device Manager, System devices) fixes keyboards and mice that work in BIOS but not in Windows, notably on 2-in-1 HP devices. [T35] This is a secondary report only, not a primary mechanism: disable (do not uninstall) the driver, test, and re-enable it if it makes no difference. It is included here so that a reader who finds the suggestion elsewhere can judge it, not as a recommended first step.
Misdiagnosis summary table
| Misdiagnosis | Why it is wrong | Correct approach |
|---|---|---|
| Assume the keyboard hardware is dead and replace the module | BIOS working already proves the matrix and EC are basically sound; the fault is in the driver stack, so a new module fails the same way | BIOS test, then software elimination; replace hardware only once confirmed, with a written quotation |
| Reinstall Windows and the problem is solved | If the culprit is a filter driver, reinstalling the same software brings the filter back and the fault returns immediately | Find the culprit software with Safe Mode / clean boot first; reinstall software one item at a time, testing after each |
| Use a third-party "driver updater" tool | The keyboard driver is in-box Windows; third-party tools can install a wrong or outdated driver, or even a new unsigned filter driver | Use Windows Update / Device Manager automatic reinstall, or the maker's official site for the exact model |
| Update the BIOS before firmware is diagnosed as the cause | The BIOS already demonstrably works, so an update cannot repair a driver-layer fault; power loss during flashing can brick a machine | Update only when firmware is diagnosed and the maker's notes list a relevant fix, and only with the exact model's package |
| Treat "wrong characters" as a broken keyboard | A wrong layout only produces wrong characters; it never makes the whole keyboard produce nothing | Switch back to the correct layout with Win+Space; total silence needs the driver/filter procedure |
| Treat "Shut down and power on" as a Restart | With Fast Startup on, Shutdown writes the bad driver state to hiberfil.sys and restores it at the next boot | Test with Restart, or use shutdown /s /t 0 for a full shutdown |
6. Repair / replace / upgrade decision framework
The decision framework as a tree:
``
Keyboard works in BIOS?
├── NO → Hardware / firmware path
│ ├── Run OEM UEFI diagnostic (HP F2 / Dell F12 / Lenovo Vantage / MyASUS)
│ ├── Fail → inspect: ribbon reseat → keyboard module → EC/board
│ │ (keyboard from HK$480; all else by written quotation after inspection)
│ └── Pass in diagnostic but fail in BIOS Setup → firmware/EC: OEM BIOS/EC update, exact model only
└── YES → Windows / driver path (do NOT order a keyboard module yet)
├── Safe Mode works → third-party filter/service/startup → clean-boot bisect → remove owner software
├── Safe Mode fails → in-box stack: reinstall driver → OEM chipset/keyboard package → SFC/DISM
├── New profile works → profile settings/autostart
├── System Restore / update uninstall → recent change
├── Reset (Keep my files) works → OS state corruption
└── Reset FAILS → hardware/firmware after all (intermittent connector, EC bug)
→ inspect: ribbon reseat → module test → EC/board
(keyboard from HK$480; all else by written quotation after inspection)
Repair (software/driver/filter/settings) when: the BIOS test passes, Safe Mode or clean boot changes the result, a Code 19/39 is present, onset matches an update or a new program, or a new profile works. This is the usual first route for BIOS-working cases, and it costs no parts.
Replace the keyboard module when: the keyboard fails in BIOS and in the OEM diagnostic, a whole row or column is dead in every environment, there is liquid damage, or a reseat does not restore it. Price anchor: keyboard from HK$480; everything else by written quotation after inspection. Confirm the exact module part number for the model first.
Board-level / EC work when: the module and ribbon test good but the keyboard fails everywhere, or companion EC symptoms exist (power/fan/battery oddities), or an OEM EC/BIOS update is documented for the fault. Board-level from HK$880 (the only other confirmed figure relevant here); the specific job is by written quotation after inspection.
Replace / upgrade the laptop when: the machine is out of warranty, the fault is board-level, the model is old enough that the correct module is unavailable or the total quotation approaches the value of the machine, or the user needs a feature the current machine cannot provide. Do not invent a threshold figure — frame it as "compare the written quotation against the machine's current value and remaining useful life", and note that a BIOS-working fault that survives a Reset is the one case where a board-level quotation is genuinely needed before deciding.
Decision table:
| Situation | Recommendation | Reason |
|---|---|---|
| Software layer confirmed (Safe Mode / clean boot found the culprit, Filter Keys, layout, Fast Startup) | Repair it yourself — costs nothing | Remove or disable the culprit software, change the setting, reinstall the driver |
| Driver / system-file damage (Code 19/39, SFC repaired files) | Repair — system repair | Uninstall and reinstall the driver, SFC/DISM, System Restore; no hardware needed |
| System Restore / Reset both fail, but BIOS works | Professional inspection first — do not order parts yet | Could be EC firmware, intermittent hardware, or deep registry damage; get a written quotation first |
| Hardware confirmed (fails in BIOS too, external keyboard works, per-key test shows a dead row/column) and in warranty | Use the warranty | Maker handles it; do not open the machine yourself |
| Hardware confirmed, out of warranty, module price reasonable | Replace the keyboard module | Keyboard from HK$480; everything else by written quotation after inspection; confirm the quotation covers parts, labour and warranty |
| Hardware confirmed, out of warranty, repair cost near replacement cost / machine very old / multiple ageing parts | Consider replacing / upgrading the laptop | Compare repair cost with a new machine's price, data migration cost, and future warranty; do not keep adding repair money for one keyboard |
| Unsure, no time, no external keyboard, no second machine for backup | Back up first, then get a professional inspection | Never do a destructive step without a backup |
1. Free checks first; hardware and money last.
2. Every step needs an exit — "if this fails, the next step is…" — never ask the reader to keep trying without end.
3. Any paid repair needs a written quotation after inspection; do not accept a verbal quotation.
4. Back up data before System Restore / Reset / reinstall.
What to ask a repair shop (give the reader this checklist)
1. "Did you test it in BIOS, and can you show me?" (If they go straight to quoting a module, walk away.)
2. "What Device Manager code, if any, is showing?" (Code 19/39/10 — Section 2.4.)
3. "Which filter drivers are on the keyboard stack, and what software owns them?"
4. "Is the quotation for the exact module part number for my model, and is the price written?"
5. "If a Reset does not fix it, what is the next step and what does it cost?" (The answer should be hardware inspection, not another reinstall.)
When to stop DIY and get a written quotation
- The BIOS test fails — that is already the hardware path; stop reinstalling Windows.
- Reset this PC (Keep my files) fails — a second reinstall will not fix what the first could not.
- Liquid damage, a drop, a burning smell, or a swollen battery — stop, do not power on and test again.
- The machine is in warranty — do not open it or reseat the ribbon yourself; warranty coverage can be affected. [T9]
- Before any Reset or reinstall, back up the data and have the BitLocker recovery key ready. [T20][T25]
7. Evidence record: what to write down before handing the machine over
After running the Section 3 procedure, do not just remember "I tried everything and it did not work". Write each step's result down. A technician can pick up exactly where you stopped instead of repeating the whole procedure.
Symptom-pattern quick table
| Symptom pattern | Most likely layer | Key test |
|---|---|---|
| Works in BIOS, completely dead in Windows | Driver stack / filter / system files | Safe Mode, clean boot, Device Manager code |
| Works in BIOS, intermittent in Windows | Filter deadlock / intermittent ribbon / Fast Startup stale state | Restart test, Safe Mode, per-key test |
| Works in BIOS, but a long press is needed for one character | Filter Keys | Settings, Accessibility, Keyboard |
| Works in BIOS, wrong characters | Layout / input method | Win+Space to switch layout |
| Works in BIOS, Fn combinations dead, normal keys fine | OEM hotkey software / System Control Interface | Reinstall the OEM hotkey driver from the maker's site |
| Works in BIOS, fails after sleep / lid close and reopen | USB selective suspend / power management | Try a different USB port; check power management settings |
| Works in BIOS, breaks immediately after an update | Windows Update wrong driver / registry damage | Roll back driver, uninstall update, Code 19 check |
| Fails in BIOS, whole keyboard dead | Matrix / ribbon / EC / board | OEM UEFI diagnostic, ribbon inspection, keyboard module |
| Fails in BIOS, but some keys work | Matrix row/column break | Per-key test, OEM diagnostic |
| Fails in BIOS, external keyboard works | Internal keyboard hardware layer | Ribbon, keyboard module, EC |
| Works in a new account, fails in the old one | User profile layer | Compare the two accounts' accessibility / layout / startup settings |
| Works in Safe Mode, fails in normal mode | Third-party filter / startup software | Clean-boot bisection |
Layered test record (copy this to take to the shop)
| Test | Result (works / fails) | Notes |
|---|---|---|
| BIOS: arrow keys + Enter | Key used to enter BIOS: F2 / Esc+F10 / Fn+F2 | |
| OEM UEFI keyboard diagnostic (per-key) | HP Esc→F2 / Dell F12 | |
| External USB keyboard (wired, direct to laptop) | Which USB port was tried | |
| After Restart | Works / unchanged | |
| After Shutdown and power-on | Works / unchanged | |
| Filter Keys / Sticky Keys / Toggle Keys | All off — any change? | |
| Layout check (Win+Space) | Current layout: | |
| Safe Mode (press 4 / F4) | Notepad typing result | |
| Clean boot | Culprit software (if found): | |
| Device Manager error code | Code: ___ | |
| Driver reinstall (uninstall → restart) | Was "Delete the driver software" ticked? | |
| DISM + SFC | SFC result: | |
| New user account test | New account works / fails | |
| System Restore / uninstall update | Restore point date: | |
| Fault start date | Latest update / newly installed software: |
Back up before any destructive step
System Restore does not touch personal files, but it removes programs and drivers installed after the restore point; Reset (Keep my files) removes apps and settings; a clean reinstall removes everything. Back up important data before any of the three, and have the BitLocker recovery key ready. [T17][T20] If there is no second machine for backup, use the external keyboard plus the On-Screen Keyboard to copy data to an external drive or the cloud first, then proceed.
8. Worked examples: four machines, four different layers
The procedure in Section 3 is abstract until it is applied. The four walkthroughs below are illustrative composites built only from the mechanisms documented above — they show how the same headline symptom ("works in BIOS, dead in Windows") resolves at four different layers, and why the first test decides the whole route.
Machine A — the filter. A laptop whose keyboard dies in Windows but works in BIOS and in Safe Mode. The clean boot restores it; bisection points at a macro utility installed with a gaming keyboard suite. Removing the suite, then uninstalling the keyboard device with driver-software removal and restarting, restores the built-in keyboard permanently. The lesson: the driver reinstall alone had failed three times, because each reinstall re-enumerated the same filter. The software had to go first. [T13][T20]
Machine B — the stale state. A laptop whose keyboard works after Restart and fails after Shutdown, every time. Fast Startup is on. Turning Fast Startup off and doing a full shutdown restores the keyboard, and the fault does not return. The lesson: the driver was not corrupt and no filter was involved — the bad state was being faithfully restored from hiberfil.sys on every hybrid boot. The Restart-versus-Shutdown test, which costs nothing, was the whole diagnosis. [T14]
Machine C — the update. A laptop whose keyboard dies the morning after a Windows Update, with Device Manager showing Code 19 on the keyboard device. Rolling back the driver is unavailable, so the update is uninstalled and the OEM chipset and keyboard package for the exact model is installed from the maker's site. The keyboard returns. The lesson: the timing was the clue, the Code 19 was the confirmation, and the fix was the OEM package — not a third-party driver tool and not a keyboard module. The KB4074588 precedent shows the same shape of failure at the servicing-stack level: an update removing the active driver without installing its replacement. [T12][T30][T8]
Machine D — the false alarm. A laptop whose owner reports "the keyboard is dead" turns out to type nothing only in one application, and to type the wrong characters everywhere else. The layout has silently switched after an update, and Filter Keys was switched on by an eight-second Right Shift hold during a game. Turning Filter Keys off and switching the layout back with Win+Space restores normal typing in under a minute. The lesson: "wrong characters" and "no characters" are different faults, and the cheapest checks — layout and accessibility settings — belong before any driver work, not after it. [T33][T37]
What the four machines share. In none of them was the keyboard module the fault, in none of them was a second Windows reinstall needed, and in all four the BIOS test was what kept the repair on the software side of the line. The module-swap trap (Section 5.1) would have cost parts and labour on all four and fixed none of them.
Frequently asked questions
Q1: If the keyboard works in BIOS, does that mean the hardware is definitely fine?
A: No — not one hundred percent. Working in BIOS proves the key matrix, the EC scan, and the EC-to-host signal path were live at the moment of the test, so the fault must be in a layer Windows adds after boot. But three caveats apply: a BIOS test usually exercises only a few keys, so a dead row or column can hide; a ribbon connector can make intermittent contact; and an EC firmware bug can in theory appear only in ACPI mode under Windows. The correct statement is "check the Windows layers first; do not replace the keyboard module first" — not "the hardware is definitely fine". [T9][T21][T3]
Q2: Why does an external USB keyboard work while the built-in keyboard does not?
A: Because they use different driver stacks. The external USB keyboard runs hidusb, hidclass, kbdhid, kbdclass; a PS/2-style built-in keyboard runs i8042prt, kbdclass. The external keyboard working proves the Windows input stack (Win32k, basic HID drivers) can receive input, so the fault is narrowed to the internal keyboard's own stack — i8042prt, kbdclass, or a filter driver attached to the internal keyboard. [T1][T2][T23]
Q3: The keyboard works after Restart but fails again after Shutdown. What causes that?
A: Very likely Fast Startup preserving bad driver state. With Fast Startup on, "Shutdown" writes the kernel session and loaded drivers to hiberfil.sys and restores them at the next power-on, so a wedged driver state follows every boot. "Restart" always does a full cold boot and reloads drivers fresh, clearing the bad state. Test with Restart, not Shutdown. [T14]
Q4: The keyboard works in Safe Mode. What does that mean?
A: It means a third-party driver, filter driver, service, or startup program is the culprit, because Safe Mode loads only basic drivers and no third-party filters. The next step is a clean boot, re-enabling services and startup items in halves to bisect and find which software eats the keystrokes. [T20][T13]
Q5: The keyboard fails in Safe Mode too. Does that mean the hardware is broken?
A: No. Failing in Safe Mode points at the in-box Windows driver stack itself (kbdclass / kbdhid / i8042prt), corrupt system files, registry damage, or an intermittent hardware fault. The next steps are a Device Manager driver reinstall, SFC/DISM, and System Restore — do not jump to replacing hardware. [T20][T15]
Q6: Device Manager shows Code 19. What does it mean, and how is it fixed?
A: Code 19 (CM_PROB_REGISTRY) means the registry configuration for the device is incomplete or damaged. For keyboards, a common cause is a leftover UpperFilters entry — software was uninstalled but left a filter name pointing at a deleted .sys file, so the whole driver stack fails to load. The standard fix is to uninstall the device and let Windows reinstall the driver; the advanced fix recorded in Microsoft Q&A is to remove the UpperFilters entry, uninstall the device, and reinstall, writing UpperFilters back to kbdclass afterwards — with a registry backup first, and only by a technician. [T10][T12]
Q7: The keyboard stopped working right after a Windows Update. What should I do?
A: First confirm the timing — did the fault start at the same time as the update? Then try three things in order: Device Manager, Roll Back Driver (if available); Settings, Windows Update, Update history, Uninstall updates to remove the latest update; and install the latest driver for the exact model from the maker's official site. Uninstalling an update temporarily removes that update's security fixes, so it is not a long-term solution — the durable fix is the OEM driver package or a corrected update from Microsoft. [T12][T8] Microsoft's own history includes KB4074588, where a servicing-stack bug removed the active keyboard driver mid-update. [T30]
Q8: Pressing " types @ and Z types Y`. Is the keyboard broken?
A: No — that is a wrong keyboard layout. The layout decides which character each key produces; use Win+Space to switch back to the correct layout, or check Settings, Time & language, Language & region. A wrong layout only produces wrong characters; it never makes the whole keyboard produce nothing. If nothing is produced at all, do not spend time on the layout — run the driver/filter/settings procedure. [T33][T34]
Q9: What does Filter Keys do to a keyboard?
A: Filter Keys ignores brief or repeated keystrokes, so normal typing looks like "quick presses do nothing, a long press produces one character" — easily mistaken for a dead keyboard. It can be switched on accidentally by holding Right Shift for 8 seconds. Check Settings, Accessibility, Keyboard, turn it off, and turn off its keyboard shortcut too, or the next accidental hold will switch it on again. [T37]
Q10: Reinstalling Windows fixed it, but the fault came back after I reinstalled my software. Why?
A: Because the culprit is a filter driver, and reinstalling the same OEM hotkey software, gaming peripheral suite, or keyboard remapping tool reinstalls the filter with it. Before reinstalling Windows, run the Safe Mode and clean-boot tests to identify the culprit software; after reinstalling, add software back one item at a time, testing the keyboard after each one. [T13][T20]
Q11: A new user account types fine, but the old account does not. What does that mean?
A: It means the fault is in the old account's settings, registry, or autostart programs — not in the system-wide driver stack and not in the hardware. Keyboard-related settings (accessibility settings, input method and layout preferences, per-user startup programs) are stored per user. The repair direction is to compare the two accounts' settings item by item, or move the data to the new account. Note: the new-profile test is a diagnosis, not a repair; and failing in the new profile too does not prove hardware — it only proves the fault is not profile-local. [T32]
Q12: How much does a keyboard module replacement cost, and when should I replace one?
A: Keyboard replacement from HK$480; the actual price depends on the model (backlight, keycap language, full assembly with C-cover versus keyboard only), OEM versus aftermarket, and warranty terms; all other costs are by written quotation after inspection. Replace the module when hardware is confirmed — it fails in BIOS too, fails in the OEM diagnostic, a per-key test shows a dead row or column, or there is liquid damage. When the keyboard works in BIOS but not in Windows, a module swap will very likely change nothing, because the fault is in the driver stack, not in the keyboard itself.
Sources
- [T1] Microsoft Learn — "Developing Keyboard and Mouse HID Client Drivers" (KBDHID.sys / KBDCLASS.sys / HIDCLASS.sys architecture; vendor filter-driver guidance; Kbfiltr sample; keyboard layout definition). https://learn.microsoft.com/en-us/windows-hardware/drivers/hid/keyboard-and-mouse-hid-client-drivers
- [T2] Microsoft Learn — "Configuration of Keyboard and Mouse Class Drivers" (PS/2 stack: Kbdclass → optional upper filters → I8042prt; class-driver features). https://learn.microsoft.com/en-us/previous-versions/windows/hardware/hid/keyboard-and-mouse-class-drivers
- [T3] UEFI Forum — ACPI Specification 6.4 Errata A, §12 "ACPI Embedded Controller Interface Specification" (EC interface separate from the keyboard controller; ports 0x60/0x64; five EC commands). https://uefi.org/specs/ACPI/6.4_A/12_Embedded_Controller_Interface_Specification.html
- [T4] UEFI Forum — ACPI Specification 6.5, §2 "Definition of Terms" (Embedded Controller definition; standard OS↔EC interface). https://uefi.org/specs/ACPI/6.5/02_Definition_of_Terms.html
- [T5] USB Implementers Forum — "Device Class Definition for Human Interface Devices (HID) v1.11" (HID1_11.pdf; boot protocol defined so "the system can take the 8-byte packets and decode them directly"). http://www.usb.org/developers/hidpage/HID1_11.pdf
- [T6] Wikipedia — "USB human interface device class" (HID 1.11 as primary document; Boot Keyboard profile, 6KRO, BIOS handling without a USB-aware OS). https://en.wikipedia.org/wiki/USB_human_interface_device_class
- [T7] Microsoft Support — "Mouse and keyboard problems in Windows" (hardware checks; update driver via Windows Update; download/install a driver yourself via Device Manager). https://support.microsoft.com/en-us/windows/hardware/input-devices/mouse-and-keyboard-problems-in-windows
- [T8] Microsoft Support — "Automatically get recommended and updated hardware drivers" (Windows Update as the driver channel; optional driver updates are not installed automatically; check the hardware manufacturer's website if Windows Update finds nothing). https://support.microsoft.com/en-au/windows/hardware/drivers/automatically-get-recommended-and-updated-hardware-drivers
- [T9] Microsoft Learn (Q&A) — "laptop keyboard" (test in BIOS/UEFI first: "Keyboard works in BIOS/UEFI: The hardware can respond"; driver reinstall; Filter/Sticky Keys; Fast Startup). https://learn.microsoft.com/en-us/answers/questions/6054904/laptop-keyboard
- [T10] Microsoft Learn — "Device Manager Error Messages" (error-code table; Code 10 CM_PROB_FAILED_START; Code 19 CM_PROB_REGISTRY; Code 39 CM_PROB_DRIVER_FAILED_LOAD; Code 52 CM_PROB_UNSIGNED_DRIVER). https://learn.microsoft.com/en-us/windows-hardware/drivers/install/device-manager-error-messages
- [T11] Microsoft Learn — "CM_PROB_DRIVER_FAILED_LOAD" (Code 39: "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing."; recommended resolution: reinstall or obtain a new driver). https://learn.microsoft.com/en-us/windows-hardware/drivers/install/cm-prob-driver-failed-load
- [T12] HP Support Community — "Laptop keyboard error code 19" (Code 19 after update KB5074109; uninstall/reinstall driver, troubleshooter, roll back the update, System Restore, BIOS update). https://h30434.www3.hp.com/t5/Notebook-Hardware-and-Upgrade-Questions/Laptop-keyboard-error-code-19/td-p/9585822
- [T13] Microsoft Support — "How to perform a clean boot in Windows" ("A clean boot starts Windows with only essential drivers and startup programs"; msconfig procedure; return to normal startup afterwards). https://support.microsoft.com/en-us/windows/experience/startup-boot/how-to-perform-a-clean-boot-in-windows
- [T14] Microsoft Learn — "Distinguishing Fast Startup from Wake-from-Hibernation" ("a fast startup simply loads the hibernation file (Hiberfil.sys) into memory"; cold startup loads and initialises every driver from scratch; full shutdown sequence saved to the hibernation file). https://learn.microsoft.com/nl-nl/windows-hardware/drivers/kernel/distinguishing-fast-startup-from-wake-from-hibernation
- [T15] Microsoft Learn (Q&A) — "[Article] SFC scannow" (sfc /scannow "scans the integrity of all protected operating system files and replaces incorrect, corrupted, changed, or damaged versions"; DISM when SFC cannot repair). https://learn.microsoft.com/en-us/answers/questions/4377105/article-sfc-scannow
- [T16] Microsoft Learn (Q&A) — "How to repair your system files using DISM and SFC" (DISM /Online /Cleanup-Image /RestoreHealth first, then sfc /scannow). https://learn.microsoft.com/en-us/answers/questions/5543937/how-to-repair-your-system-files-using-dism-and-sfc
- [T17] Microsoft Support — "Recovery options in Windows" (troubleshooter → reinstall → uninstall update → point-in-time restore → Reset this PC; "Reset this PC… reinstalls Windows from scratch. You can choose to keep your personal files or remove everything"; System Restore rolls back system files and settings but not personal files). https://support.microsoft.com/en-gb/windows/experience/backup-recovery/recovery-options-in-windows
- [T18] Microsoft Learn — "Secure boot feature signing requirements for kernel-mode drivers" ("Kernel-mode drivers will not run if they are not properly signed by a trusted certification authority (CA)"; test-signing and kernel debugging disabled when Secure Boot is on). https://learn.microsoft.com/en-us/windows/win32/w8cookbook/secured-boot-signing-requirements-for-kernel-mode-drivers
- [T19] Microsoft Learn — "Driver Signing Policy" (Windows 10 1607+ requires Hardware Developer Center signing; cross-signed driver exceptions incl. Secure Boot off). https://learn.microsoft.com/he-il/windows-hardware/drivers/install/kernel-mode-code-signing-policy--windows-vista-and-later-
- [T20] Microsoft Learn (Q&A) — "Windows 11: how to restart in safe mode?" (Settings → System → Recovery → Advanced startup; Troubleshoot → Advanced options → Startup Settings; 4/F4 Safe Mode, 5/F5 with Networking; Safe Mode sign-in needs the password, not PIN/biometrics). https://learn.microsoft.com/en-us/answers/questions/3898355/windows-11-how-to-restart-in-safe-mode
- [T21] HP Support Community — "Solved: notebook keyboard stopped working" (Esc → startup menu → arrow keys: "If these keys are working in the startup menu, but then fail when Windows loads, the problems are probably occurring in Windows"; uninstall/reinstall in Device Manager; HP PC Hardware Diagnostics UEFI). https://h30434.www3.hp.com/t5/Notebook-Hardware-and-Upgrade-Questions/notebook-keyboard-stopped-working/td-p/6753604
- [T22] HP Support Community — "keyboard not working after update" (HP Spectre x360: external keyboard, Device Manager reinstall, HP site chipset/BIOS drivers, update rollback, System Restore, BIOS Advanced → Built-in Device Options → Internal Keyboard Enabled, HP UEFI Hardware Diagnostics Esc → F2 → Component Tests → Keyboard Test, Safe Mode). https://h30434.www3.hp.com/t5/Notebook-Hardware-and-Upgrade-Questions/keyboard-not-working-after-update/td-p/9390963
- [T23] The Droid Guy — "How To Fix A Dell Laptop Keyboard Not Working (2026)" [secondary] (Dell order of fixes; SupportAssist; F2 BIOS; F12 ePSA diagnostics; "if the keyboard is detected below Windows, the cause is likely the operating system or software"; macro/gaming/KVM software conflicts; Win+Ctrl+O On-Screen Keyboard). https://thedroidguy.com/dell-laptop-keyboard-not-working-1291504
- [T24] The Droid Guy — "How To Fix An ASUS Laptop Keyboard Not Working (2026)" [secondary] (ASUS four symptom cases; BIOS/Windows/driver update order; ASUS System Control Interface driver for hotkeys; MyASUS System Update; BIOS-update safety: exact model, AC power). https://thedroidguy.com/asus-laptop-keyboard-not-working-1291881
- [T25] Lenovo Support — "UEFI BIOS" documentation FS10154 (update only via the exact model's package; memory retraining blank screen with Esc/F1/F4 LEDs — "Do not press the power button to interrupt the process"; UEFI BIOS auto-recovery; BitLocker recovery prompt risk). https://support.lenovo.com/be/en/documentation/FS10154
- [T26] Lenovo Docs — "Updating the BIOS" (update only if the newer BIOS specifically solves a problem; power interruption during POST/BIOS update may leave the server unable to restart; downgrading not recommended). https://pubs.lenovo.com/uefi_amd_1p_1st_2nd_3rd/updating_the_BIOS
- [T27] Microchip — MEC1310 Product Brief / datasheet (notebook keyboard + EC; "High-Performance Embedded 8051 Keyboard and System Controller"; "Up to 18x8 Keyboard Scan Matrix"; 8042-style host interface). https://www.mouser.dk/datasheet/2/268/00001768A-3443454.pdf
- [T28] Microchip — MEC172x datasheet (ARM Cortex-M4F EC; "8042 Emulated Keyboard Controller"; "18 x 8 Interrupt Capable Multiplexed Keyboard Scan Matrix"; eSPI/LPC host interface). https://gr.mouser.com/datasheet/3/282/1/MEC172x-Data-Sheet-DS00003583.pdf
- [T29] Safeguard — "Embedded Controller Firmware Explained: What the EC Does in a Laptop" [secondary, technical explainer] (EC owns the keyboard matrix, battery, fans, lid, power sequencing; EC scans the matrix and emulates the legacy 8042; OS talks to it via the ACPI EC interface). https://safeguard.sh/resources/blog/embedded-controller-firmware-explained-what-the-ec-does-in-a-laptop-and-how-it-is-updated
- [T30] Microsoft Support — KB4074588 (Feb 13, 2018) known issue ("After installing this update, some USB devices and onboard devices, such as a built-in laptop camera, keyboard or mouse, may stop working… when the windows update servicing stack incorrectly skips installing the newer version of some critical drivers… and uninstalls the currently active drivers"). https://support.microsoft.com/en-gb/help/4074588/windows-10-update-kb4074588
- [T31] Microsoft Support — KB5066835 (Oct 14, 2025) known issue ("After installing October 2025 security update (KB5066835), USB devices, such as keyboards and mice, do not function in the Windows Recovery Environment… the USB keyboard and mouse continue to work normally within the Windows operating system"; addressed in KB5070773). https://support.microsoft.com/en-US/servicing/os/windows-11/2025/10/october-14-2025-kb5066835-os-builds-26200-6899-and-26100-6899
- [T32] Microsoft Learn (Q&A) — "How to create a new profile when unable to get into computer" / "Fix 'the user profile service failed the sign in'" (Microsoft's supported fix for a corrupted profile is a new user account + file migration; Settings → Accounts → Other users → Add account). https://learn.microsoft.com/en-us/answers/questions/3977377/how-to-create-a-new-profile-when-unable-to-get-int
- [T33] How-To Geek — "Keyboard Typing Wrong Characters on Windows 11? Try These Tips to Fix It" [secondary] (layout vs display language; Win+Space switching; Advanced keyboard settings override). https://www.howtogeek.com/keyboard-typing-wrong-characters-on-windows/
- [T34] Laptop Judge — "Add Keyboard Language In Windows 11 (layout Fix)" [secondary] (language vs layout as separate settings; Get-WinUserLanguageList / Get-WinKeyboardLayout checks; Win+Space). https://laptopjudge.com/add-keyboard-language-in-windows-11/
- [T35] The Windows Club — "Keyboard or Mouse works in BIOS but not in Windows" [secondary] (drain residual charge; Startup Repair; uninstall Windows Update; chkdsk; roll back/reinstall driver; disable Intel Integrated Sensor Solution driver; HP PC Hardware Diagnostics in BIOS; System Restore). https://www.thewindowsclub.com/keyboard-or-mouse-works-in-bios-but-not-in-windows
- [T36] Microsoft Learn (Q&A) — "laptop keyboard not working" (Keyboard troubleshooter; Fn keyboard-lock combination; On-Screen Keyboard test; language/input settings; driver reinstall; Surface UEFI test: "If the keyboard works in UEFI but not in Windows, the issue is likely software"). https://learn.microsoft.com/en-us/answers/questions/6032937/laptop-keyboard-not-working
- [T37] ITPro / iTechGuides — Windows keyboard accessibility features [secondary] (Sticky Keys: Shift ×5; Filter Keys: hold Right Shift 8 seconds, ignores brief/repeated keystrokes; Toggle Keys: hold Num Lock 5 seconds; Settings → Accessibility → Keyboard, Win 11 / Ease of Access → Keyboard, Win 10). https://www.itechguides.com/windows-keyboard-accessibility-features-sticky-keys-filter-keys-mouse-keys-and-more/
- [T38] Microsoft Learn — "System-Defined Device Setup Classes Available to Vendors" (Keyboard class GUID 4d36e96b-e325-11ce-bfc1-08002be10318; "Includes all keyboards"). https://learn.microsoft.com/en-us/windows-hardware/drivers/install/system-defined-device-setup-classes-available-to-vendors?redirectedfrom=MSDN
Laptop King, Room 1209, Talent Plaza, Shek Mun, Shatin, Hong Kong. Phone +852 2186 8010, WhatsApp +852 6558 6806, opening hours 12:00–19:00. Prices: https://www.laptops-king.com/pricing ; diagnostics booking: https://www.laptops-king.com/diagnostic . Keyboard replacement from HK$480; board-level repair from HK$880; all other costs by written quotation after inspection.
Need Professional Laptop Repair?
Laptop King has 15+ years of repair experience in Shek Mun, Sha Tin. Free diagnosis, transparent pricing, no fix no fee. 180-day warranty for your peace of mind.
