HP Keyboard Typing Wrong Characters: How to Fix Region Layout and Fn Lock Fast
Launch Companion Diagnostic Tool
Test your hardware right now in your browser with zero install:
Open Keyboard TesterYour HP keyboard is typing wrong characters because Windows is set to a different regional layout than the physical keycaps on your keyboard, or because Fn Lock is intercepting keystrokes before they reach the OS. These are two completely separate failure modes that look identical on the surface. The layout mismatch happens at the HID driver layer: Windows translates scan codes using the active keyboard layout table, so pressing the key labeled @ sends scan code 0x03, but if the layout is set to UK English instead of US English, that same scan code resolves to ". Fn Lock is a firmware-level latch stored in the HP Embedded Controller; it remaps the top function row and sometimes bleeds into adjacent key clusters depending on the EC firmware version.
Confirm the Exact Failure Mode First
Before touching any settings, map what is actually broken. Open the Keyboard Test tool in your browser, then type every key that produces a wrong character. The tool shows the raw key name the OS is reporting, which tells you immediately whether the problem is layout-level or something lower. If the tool reports the correct physical key name but the wrong character appears in Notepad, you have a pure layout mismatch. If the tool reports a completely different key name than the one you pressed, Fn Lock or a hardware remap is the culprit.
Also check the system tray language indicator in the bottom-right corner of the taskbar. If it shows ENG UK, FRA, DEU, or any language other than your expected one, a layout switch is confirmed before you even open a settings menu.
Fix the Windows Regional Keyboard Layout
This is the most common cause of an hp keyboard typing wrong characters on both desktop and laptop units. HP preloads region-specific images, and if a recovery or Windows update pulled a different language pack, the layout can silently switch.
- Press Windows + I to open Settings.
- Go to Time & Language > Language & Region.
- Under Preferred languages, click your primary language (e.g., English United States) and select Options.
- Under Keyboards, check which layouts are listed. Remove any layout that does not match your physical keycaps. A US keyboard should show only US QWERTY. A UK keyboard should show only United Kingdom.
- Click Add a keyboard if the correct layout is missing, then remove the incorrect one.
- Log out and back in. Do not just close Settings; the active layout session variable needs to reset.
If you have multiple layouts installed, Windows assigns the hotkey Left Alt + Shift to cycle between them. Users accidentally trigger this constantly, especially during gaming or fast typing. You can disable the hotkey at Settings > Time & Language > Language & Region > Keyboard shortcut for input languages > set to Not assigned.
On Windows 10, the path is Control Panel > Clock and Region > Region > Administrative tab > Change system locale if the Settings app changes do not persist after reboot.
Disable or Reset Fn Lock on HP Keyboards
HP laptops from the EliteBook 800 series, ProBook 400 series, and Pavilion 15 line all implement Fn Lock through the Embedded Controller, not through Windows. The key combination to toggle it is Fn + Esc on most HP consumer laptops. On EliteBook models, it is Fn + Shift. When Fn Lock is active, a small LED indicator illuminates on the Esc key or the Fn key itself depending on the chassis generation.
If toggling Fn + Esc does not change behavior, enter the BIOS to check the EC-level setting:
- Restart and press F10 immediately at the HP logo to enter BIOS Setup.
- Navigate to Advanced > Device Configurations.
- Find the option labeled Action Keys Mode. Set it to Disabled if you want F1-F12 to send standard function key scan codes by default, or Enabled if you want the media/brightness actions as default.
- Press F10 to save and exit.
Getting this setting wrong is what causes hp laptop keyboard typing wrong characters on the function row specifically: F1 sends a mute signal instead of scan code 0x3B, which applications interpret as nothing or as a media command.
Layout Mismatch Quick-Reference Table
| Physical Key | US English Output | UK English Output | French AZERTY Output |
|---|---|---|---|
| Shift + 2 | @ | " | é |
| Shift + 3 | # | £ | " |
| Key left of Z | ` (backtick) | ` (backtick) | w |
| Key right of L | ; (semicolon) | ; (semicolon) | m |
| Backslash key | \ (backslash) | # (hash) | * (asterisk) |
Use this table to cross-reference what you are seeing. If pressing Shift + 2 gives you a pound sign £, your layout is set to UK English regardless of what the keycaps say. That is the fastest single-key diagnostic available without any tools.
Check for Sticky Keys and Filter Keys Interference
Windows Accessibility features can produce output that looks like a layout problem but is not. Sticky Keys latches modifier states, so if Shift is stuck on, every letter capitalizes and every number outputs a symbol. Filter Keys delays or suppresses repeated keystrokes in a way that looks like dropped or wrong characters under fast typing.
Disable both at Settings > Accessibility > Keyboard. Toggle Sticky Keys and Filter Keys to Off. Also set Repeat delay under Advanced keyboard settings to Short and repeat rate to Fast if characters are appearing late or duplicating.
After any of these changes, retest every affected key using the Keyboard Test tool to confirm the scan codes resolve correctly before closing out the session.
Frequently Asked Questions
Why does my HP keyboard type @ instead of " or vice versa?
Your Windows keyboard layout is set to UK English while your physical keyboard is US English, or the reverse. In UK layout, Shift + 2 produces " and Shift + ' produces @. Go to Settings > Time & Language > Language & Region and remove the incorrect layout.
Why did the layout suddenly change without me doing anything?
Windows Update sometimes installs additional language packs and sets a new default, particularly after feature updates like 22H2 or 23H2. A second common cause is accidentally pressing Left Alt + Shift, which cycles the active layout in under a second.
My HP laptop keyboard types numbers instead of letters on the right side. What is wrong?
NumLock is active. HP 15-inch and 17-inch laptops embed a numpad overlay in the J, K, L, U, I, O, 7, 8, 9 key cluster. Press Fn + NumLock (or just NumLock if your keyboard has a dedicated key) to disengage it. This is distinct from an hp keyboard keys typing wrong characters issue caused by layout or Fn Lock.
Can a firmware update fix wrong character output?
Yes, if the root cause is an Embedded Controller bug. Download HP Support Assistant from hp.com/support, run a full system scan, and install any BIOS or EC firmware updates listed. EC firmware versions below F.30 on several ProBook 450 G8 units had a documented Fn Lock persistence bug that a firmware update resolved.
How do I test whether the problem is hardware or software?
Boot a live Linux USB (Ubuntu 22.04 works). If the keyboard types correctly under Linux with the same physical layout selected, the problem is entirely within Windows. If wrong characters appear in Linux too, the keyboard controller on the motherboard or the ribbon cable connection at the ZIF socket under the palmrest is suspect.
Does this affect external USB keyboards plugged into an HP laptop?
Layout mismatch affects any keyboard because the layout setting is OS-wide, not device-specific. Fn Lock does not affect external keyboards because it is enforced by the laptop EC, which only intercepts the internal keyboard matrix. Use the Keyboard Test to verify external keyboard output independently.
Launch Companion Diagnostic Tool
Test your hardware right now in your browser with zero install:
Open Keyboard Tester