Disable some extra keys on keyboard in windows

2

I have a keyboard with some types of extra keys, such as multimedia (play, pause, stop ,..), turn off, and etc. some times it's annoying with a "exit button" just right beside arrows that accidentally presses, and programs gonna close, and some other similar problems.

I'm wondering is there any solution to disable, or change the functionality of these types of keyboard keys in Windows (win7)?

Cheers

2i3r

Posted 2012-09-05T12:45:17.177

Reputation: 41

Answers

2

I personally use AutoHotKey for that, but maybe it's an overkill in this situation. Anyway with lines like yourkey::return, you can easily "disable" them.

To see which key to add in your script, you can open ahk (right-click > open in the tray), then go into View > Key history and script info. You'll have the history of the last 40 keys you used, and you can refresh it with F5. To see which key you want to block, just press it, then press F5 in the AHK window.

Otherwise, you can use KeyTweak, which actually changes directly your registry. I never tried it though, but the manual looks promising.

m4573r

Posted 2012-09-05T12:45:17.177

Reputation: 5 051

Well don't hesitate to validate the answer if it was useful ;) – m4573r – 2012-09-05T14:29:05.147

I've founded that there are two types of these extra keys on my keyboard, first group is that they bounded with explorer to run application, and those can get disabled through registry. The second type is the keys that i have most problem with them, that it seems they run specific combinations of keys to do a windows shortcuts.(e.g. Alt+F4 for close button). (So what for Sleep or shutdown key??!) It's like that AutoHotKey can eliminate Alt+F4 globally, but not for this specific key that annoying me, as there is no difference, between these two for windows. – None – 2012-09-05T14:36:34.463

Because it may be there any solution for it, i prefer to not close this question, however i want to thank you again, for your fast reply. I'm thinking to going to lock this key with some glues. :/ – None – 2012-09-05T14:43:07.730

I don't understand your previous comment. I'll edit my answer to provide more help. – m4573r – 2012-09-05T14:49:26.503

1Ok, sorry, I am going to explain it with more detail. The key that i want to block, is sending this: "Alt (Down) -> F4 (Down) -> F4 (Up) -> Alt (Up)" i just want to disable the "Exit button" on my keyboard, not the combination of Alt+F4. If i disable this procedure, then i would not able to close anything using Alt+F4 combination anymore. At last i have just opened the keyboard and covered the circuit connection below the key, the solution worked!! and the key is not working now. :) – None – 2012-09-09T07:47:01.137

Haha, well done ;) – m4573r – 2012-09-09T09:12:21.360

Yes KeyTweak is a good solution if the keyboard layout modification must be permanent. There's also Microsoft Keyboard Layout Creator as an alternative to Key Tweak. – climenole – 2012-10-01T02:47:46.663