cancel
Showing results for 
Search instead for 
Did you mean: 
Retired Moderator
Views: 7,159

Question

I've been trying to find a way to customize the Fn key mapping under windows 7 .  Can anyone tell me if it's possible - and how?

 

Answer

You can manually change the registry keys to remap the keys 

 

Run regedit and go to:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\Class\01]

 

 

under there you should find a key which correspond to each of the Fn-xx keys. For example:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\Class\01\05] = Fn-F5
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\Class\01\07] = Fn-F7

 

 

Then under each of them you add two string values (REG_SZ) where one should be named "File" and the other "Parameters". "File" should point to the programfile you want to run and "Parameters" if the programfile should start with some parameters. If you don't want/need any parameters you still have to create the string value Parameters, but just leave it empty. Below is en example to make Fn-F9 start notepad without any parameters:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\Class\01\09]
"File"="c:\\windows\\notepad.exe"
"Parameters"=""

 

If you have some spaces in the path to the programfile you might have to add " in front and at the end when you add a value to the string value "File. On my computer i only managed to get this working for Fn-F2 - F9 and F12. I did not manage to get Fn-F1, F10 and F11 to do anything. I didn't try very hard so maybe there are some kind of trick to get those working as well.

 

To customize the blue Thinkpad button you have to create a string value named "File" and do the same thing under here:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\8001]

 

For this one it seems like the Parameters string value isn't needed.

 

Since you need some of the Lenovo software to make these keys work in the first place (like hotkey and comm utilities) i gues these utilities have to be installed for the Fn-xx keys to do anything even if you decide to customize each one of them.

 

 

Warning : Make sure to make a backup of the registry if you are to make changes/edits to the settings.... 

Was this information helpful?

Comments
ddong
Thanks for this, only missing one thing : What are the 0A, 0B.. 1A, 1B.. Which keys are linked these "names"..? I do not dare to blindly try..!
heilong

0A, 0B, 0C are hexadecimal 10, 11, 12 - meaning F10, F11, F12. (F12 might not be customizable, not sure).

I don't know if the rest of the numbers have any meaning.

 

Contributors