This usually happens when the keyboard layout was switched or an accessibility keyboard setting changed.
Try these steps in order:
- Switch keyboard layout:
- Press
Alt + ShiftorWindows + Spacebar. - Test the underscore and question mark keys again.
- Press
- Check the active keyboard layout:
- Go to Settings > Time & Language > Language & Region.
- Open the language in use and check the keyboard layout.
- Make sure the expected layout is selected.
- If there are extra keyboard layouts that are not needed, remove them.
- Check advanced keyboard settings:
- Go to Settings > Time & Language > Typing > Advanced keyboard settings.
- Review whether layout-switching shortcuts are causing accidental changes.
- Turn off accessibility keyboard features:
- Go to Settings > Accessibility > Keyboard.
- Make sure Sticky Keys and Filter Keys are turned Off.
- If the problem affects many keys and shortcuts behave strangely:
- Press and release both
Ctrlkeys, bothShiftkeys, bothAltkeys, and theWindowskey once. - This can clear a stuck modifier key state.
- Press and release both
If the issue started after a key combination and many keys now type the wrong characters, the keyboard may have switched to a different preset or layout. Re-adding the correct keyboard layout can fix it.
References:
- get question mark and keyboard to work - Microsoft Q&A I can-t get apostrophe or question mark on my keyboard. I am English, but sometimes use the Portuguese accent marks
- i cant use certain keyboard for typing, but instead i can only do command such as alt+tab - Microsoft Q&A
- How to reset my keyboard? Combination of "Alt + L " gives weird characters and message is sent automatically. - Microsoft Q&A