Some keyboard keys have been turned off!


  1. Posts : 4
    Windows 10
       #1

    Some keyboard keys have been turned off!


    Hi guys,
    I've been struggling for weeks with this problem: CTRL, SHIFT, ALT, FN, and WINDOWS keys are not working! It's not a hardware problem as I plugged an external keyboard into my laptop and those keys are not working either. I tried uninstalling the keyboard driver with no result. When running Sharpkeys, a software that allows remapping Windows keys through the registry, I found out that those keys were in fact turned off. So I deleted the file HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout\Scancode Map register file but was able to only activate the WINDOWS key. Any advice on how to solve this issue?
      My Computer


  2. Posts : 1,728
    Windows 10 Pro x64 22H2
       #2

    The registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
    contains keyboard layouts that are available to all users, there is no "Scancode" folder,

    the actual layout that your account will use is located in:
    HKEY_CURRENT_USER\Keyboard Layout\Preload

    The values in this registry key must be ordered starting from value name 1
    which indicated the keyboard layout that your account uses by default.

    Value data indicates the actual keyboard layout your account uses by default, you need to make sure that this layout corresponds to the layout you whish to use.

    If this layout data is unexpected then it makes sense that some keys won't work as expected.

    Please refer to the list below to identify your desired keyboard layout:
    https://learn.microsoft.com/en-us/wi...iew=windows-10

    Once you identify keyboard layout you want to use, next step is to make sure that the numerical value suffix under "Primary input profile (language and keyboard pair)" column corresponds to the value data in the registry under a key named "1"
    in the registry key for your account (*not* in the LOCAL MACHINE key you mentioned)
      My Computer


  3. Posts : 4
    Windows 10
    Thread Starter
       #3

    Thank you Zebal for your answer.
    There is indeed no "Scancode" folder but there is a "Scancode Map" binary entry (see attached screenshot).
    Under HKEY_CURRENT_USER\Keyboard Layout\Preload there is actually a key named "1" with the value 0000040c which is correct as I have a french keyboard (see attached screenshot).
    Any clues?
    Some keyboard keys have been turned off!-local_machine.pngSome keyboard keys have been turned off!-current_user.png
      My Computer


  4. Posts : 1,728
    Windows 10 Pro x64 22H2
       #4

    This registry value was set likely by the program that you mentioned which modifies scan codes.
    These scan codes are translated to virtual keys so modifying them is helpful to modify what each key does, that is, to which virtual key it get's translated.

    To remove these mappings, remove the Scancode Map registry value and reboot.
    https://learn.microsoft.com/en-us/wi...-class-drivers

    Note that you only need to delete the value "Scancode Map", not the key itself.

    If the value reappears, uninstall software that installs it.
      My Computer


  5. Posts : 9,792
    Mac OS Catalina
       #5

    Then follow the info in the link posted to use dism to fix.
      My Computer


  6. Posts : 4
    Windows 10
    Thread Starter
       #6

    I deleted indeed the value "Scancode Map", not the key itself, and rebooted. This fixed the problem only for the WINDOWS key, the other keys (CTRL, SHIFT, ...) remained not working. The value didn't reappear.
      My Computer


  7. Posts : 1,728
    Windows 10 Pro x64 22H2
       #7

    Strange indeed, and if you install keyboard driver again, does that change anything?

    Other things you can try is this, go to:
    Start -> Settings -> Time & Language -> Language

    Here at the bottom under "preferred languages" add English
    then remove current French language, (you need to set English as primary first)
    then add French keyboard back again
    finally remove English keyboard

    Log out and log in again.
    Does that work?
      My Computer


  8. Posts : 4
    Windows 10
    Thread Starter
       #8

    I deleted the keyboard driver and installed it with no result.
    I also deleted the current French language, set English as default, and rebooted as kindly suggested by zebal. A part from the keyboard being qwerty instead of azerty nothing changed.
    I'm starting to think that formatting my laptop is the only solution to this. As I would prefer not to, I'm willing to try any suggestion from you guys. Any help is more than welcome!
      My Computer


  9. Posts : 9,792
    Mac OS Catalina
       #9

    youssefsem said:
    I deleted the keyboard driver and installed it with no result.
    I also deleted the current French language, set English as default, and rebooted as kindly suggested by zebal. A part from the keyboard being qwerty instead of azerty nothing changed.
    I'm starting to think that formatting my laptop is the only solution to this. As I would prefer not to, I'm willing to try any suggestion from you guys. Any help is more than welcome!
    Again, follow the link posted regarding using DISM to fix the problem.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:56.
Find Us




Windows 10 Forums