My Laptop Keyboard Typed the Wrong Characters on Windows 10: Layout, Num Lock and Fn Lock

2026-12-02来源 dev.toEnglish

A friend messaged me in a mild panic last month. Her Windows 10 laptop keyboard "had gone crazy." Pressing Shift and 2 gave her a quotation mark instead of the @ sign, so she could not type her email address. A few minutes later it got worse: half the letters on the right side of the keyboard started typing numbers. She typed "hello" and got "h3ll6."

The keyboard was not broken, and it was not a driver problem. It was two separate settings that had both been switched without her noticing. Neither shows up as an error, which is why this kind of problem feels so strange. Here is how I sorted it out, and how to tell this situation apart from a keyboard that has genuinely stopped working.

First, check whether keys are wrong or dead

This is the question that decides everything. Open Notepad and type every key, including the symbols on the number row.

  • Keys produce the wrong character (symbols swapped, letters turning into numbers, accented letters appearing). This is almost always a layout, Num Lock or Fn Lock setting. Keep reading.
  • Keys produce nothing at all, or the whole keyboard is unresponsive. That is a different problem, with causes like Filter Keys, a driver or the hardware itself. Skip to the last section.

If you cannot type at all, open the On-Screen Keyboard from the Start menu (search for "osk") so you can still sign in and search. Microsoft has a short page on using the On-Screen Keyboard if you have not used it before.

Problem 1: The layout switched to a different language

The @ and quotation mark swap is the classic sign of a US keyboard being read as a UK layout, or the other way round. Other giveaways are the # key typing a pound sign, or Y and Z trading places if a German layout sneaks in.

Look at the right end of the taskbar, near the clock. If you see a three-letter code like ENG, ENG UK, or DEU, Windows has more than one keyboard layout installed, and it is switching between them.

The shortcut that does this is the culprit nine times out of ten. Left Alt + Shift, and Windows key + Space, both cycle through installed layouts. They are very easy to press by accident, especially when you are reaching for Shift with your little finger while holding Alt for something else.

To fix it:

  1. Click the language code in the taskbar and pick the layout that matches your physical keyboard.
  2. Open Settings > Time & Language > Language.
  3. Under your preferred language, click it, choose Options, and remove any keyboard layout you do not use.
  4. If a second language is listed that you never added on purpose, remove it entirely.

With only one layout installed, the accidental shortcut has nothing to switch to. Microsoft's guide to managing keyboard and input layout settings shows the same screens if your Settings app looks slightly different.

On my friend's laptop, a second English (United Kingdom) layout had appeared after a feature update. Removing it fixed the symbols straight away.

Problem 2: Letters typing numbers

This one confuses people because it only happens on compact laptops. Smaller keyboards without a separate number pad often hide one inside the letter keys. Look closely and you may see small numbers printed on U, I, O, J, K, L and M.

When Num Lock is on, those keys type 4, 5, 6, 1, 2, 3 and 0 instead of letters. That is exactly how "hello" turns into "h3ll6."

The fix is to turn Num Lock off. On most laptops it is Fn + Num Lk, Fn + F11, or Fn + Insert, depending on the manufacturer. If there is a little light on the keyboard labelled with a padlock and a number, watch it go out.

If Num Lock keeps coming back on every time you restart, check the laptop's BIOS or UEFI settings for an option such as "Num Lock state at boot" and set it to off.

Problem 3: The top row does the wrong thing

A related surprise is the top row. You press F5 to refresh a page and the screen brightness changes instead, or F2 to rename a file and the volume drops. That is Fn Lock, which swaps the function keys and the media keys.

Most laptops toggle it with Fn + Esc (often marked with a small padlock) and some use a setting in the manufacturer's utility or in the BIOS. It is worth knowing which mode you prefer and setting it once, so it stops catching you out.

A quick test that confirms the cause

After each change, go back to Notepad and type the same line: your email address, a few numbers on the top row, and the word "hello." If everything comes out correctly, you are done. If the symbols are still wrong, check the taskbar language code again, because another layout may still be installed under a different language.

When the keys really have stopped working

If your test showed keys doing nothing rather than doing the wrong thing, the fixes are different. Common causes include Filter Keys ignoring short presses, a keyboard driver that failed to load after an update, leftover software from an old keyboard or macro tool, and occasionally a loose ribbon cable or liquid damage on a laptop.

I would not guess at those one by one. This walkthrough for a laptop keyboard not working on Windows 10 goes through the checks in a logical order, from Filter Keys and the troubleshooter through drivers and Safe Mode.

The short version

When a keyboard on Windows 10 types the wrong characters instead of nothing at all, it is very rarely hardware. Check the layout code next to the clock and remove layouts you do not use, turn off Num Lock if letters are turning into numbers, and learn your laptop's Fn Lock shortcut. My friend was about to buy an external keyboard. She ended up deleting one language entry and pressing Fn + Num Lk, and her laptop has typed normally ever since.

原文:https://www.a8q9.cn/en/article/my-laptop-keyboard-typed-the-wrong-characters-on-windows-10-layout-num-lock-and--1dde9e.html

相关文章