Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How do you reprogram function keys in the Windows regestry?

My HP DM4 Laptop has several useless function keys, such as F1 opens the useless HP help assistant.

I do not wan't to disable the feature, I just want to re-program the F1 key to launch a batch file I wrote instead.

I know this is possible by registry changing, but where is the key I must change?

(Quick, best answer goes to the first one to tell me which reg. key I need to change :)

3 Answers

Relevance
  • Anonymous
    8 years ago
    Favorite Answer

    ...or try this:

    MapKeyboard

    enables you to remap your keyboard and alter any key to function as a different one or optionally disable it as well. The program can be quite useful for laptop users and people with keyboards that differ from the standard 101 keyboard layout. Once you have saved changes, the modified keys are clearly marked and the changes are applied after reboot. You can also reset all your key mappings to the default layout. Standalone, no install needed.

    Freeware.

    http://www.snapfiles.com/Freeware/system/fwsystwea...

  • Anonymous
    8 years ago

    The caps lock key is one of those remnants of another age of computers, back when people used to shout at each other more often. Unless you’re in the accounting department, it’s probably not very useful, so today we’ll learn how to disable it.

    If you’re using Mac OS X instead, you can follow our guide on how to disable Caps Lock in OS X using a registry hack, or you can map any key to any key if you really want to.

    Note: This article was originally published years ago, but we’ve updated it and are republishing for everybody that might not have seen it. Image by Laurence Vagner

    Understanding How Windows Key Re-Mapping Works

    Windows doesn’t have a default setting to allow for disabling the key, so what we have to do is re-map the key to something non-existent so as to completely disable it. To do this manually, you’d open up regedit.exe and browse down to the following key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

    Here’s the format of the binary data in the Scancode Map key, with the important parts in bold and various colors:

    00000000 00000000 02000000 00003A00 00000000

    Here’s how it works:

    The first 16 zeros are just there to waste space.

    The “02″ in bold represents how many keys you are going to re-map plus 1. (It really represents the length of the data, but whatever)

    The orange bolded “0000″ is the key we actually want Windows to map TO, which in this case is nothing, or 0.

    The blue bolded “3A00″ is the key we are mapping from, in this case the caps lock key.

    The next 8 zeros are there to waste space as the null terminator.

    You can map between multiple keys by incrementing the “02″ and then adding another of the colorful bold blocks in the middle. The 3A00 in the mix is the scan code. For example, if you wanted to disable the caps lock key and then change scroll lock into a caps lock key:

    00000000 00000000 03000000 00003A00 3A004600 00000000

    It might seem complicated, but it’s really fairly simple once you start working with it.

    Downloadable Registry Hack to Disable or Remap the Caps Lock Key

    Now that you’ve learned how these things work internally, you can download and extract the zipfile which contains the following files:

    ChangeCapsToControl.reg Changes Caps Lock to be a Control key

    ChangeCapsToShift.reg Changes Caps Lock to be a Shift key

    SwitchCapsToScrollLock.reg Disables Caps Lock and swaps Scroll lock to be Caps Lock

    KillCapsLock.reg Disables Caps Lock

    DisableKeyboardRemap Uninstalls the preference by deleting the key

    Once you’ve applied one of these registry files, you’ll have to reboot your computer for it to work. To uninstall, you can use the uninstall registry tweak, or you can simply delete the Scancode Map key entirely.

  • ?
    Lv 4
    4 years ago

    In Vista press the residing house windows variety and the letter R mutually. Now in the Run container variety in regedit and press ok. you may no longer, make any variations in the Registry except, you recognize what you're doing

Still have questions? Get your answers by asking now.