Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to be able to temporary disable Ctrl / Alt / F1-F12 keys on Windows 7 computer.

So that only letters and numbers keys could be pressed.

Is there a tool that allows to do that quickly and then easily revert it back?

share|improve this question
1  
You could map those keys to a program that does nothing, like wscript //b. Might affect focus / active window though... –  ixe013 Jan 31 '13 at 20:26
    
Install a new keyboard driver and use its configuration parameters. –  mdpc Feb 1 '13 at 3:29
add comment

3 Answers 3

up vote 1 down vote accepted

First I thought this question is a simple software recommendation question. How wrong I was.

Google only knows KidKeyLock which blocks some keys.

enter image description here

There seems to be a lack of tools to block custom keyboard keys and key combinations.
Even Alternativeto.net doesn't know any similar software

share|improve this answer
    
While KidKeyLock is trying to install bunch of adware with it (and does not block custom keyboard keys), it does the "minimum required" job for me. Thank you! –  Yuri Salimovskiy Feb 1 '13 at 9:01
add comment

You could use an AutoHotKey script to setup something like this:

RCtrl::return    ; disables Right Contrl key
LCtrl::return
RShift::return
LShift::return
RAlt::return
LAlt::return
F1::return
F2::return
...

Once running you can click the icon in the system tray and click 'Suspend Hotkeys' to turn it off.

PS: editing the script to test it was quite difficult once I turned off the shift and control keys... :)

share|improve this answer
    
Yes, checked AutoHotKey website - but I'd rather prefer something pre-configured, sort of single-click utility –  Yuri Salimovskiy Feb 1 '13 at 8:57
    
1) Install AHK. 2) Save the text above as DisableKeys.ahk 3) double click it 4) ??? 5) Profit! –  Edward Feb 1 '13 at 16:19
add comment

Windows has a built-in scancode mapper facility if you do not want to use 3rd-party tools.

Run the following command as Administrator then reboot the PC to disable F1-F12 keys:

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /t "REG_BINARY" /d "00000000000000000D00000000003B0000003C0000003D0000003E0000003F000000400000004100000042000000430000004400000057000000580000000000" /f

To restore the default mapping (also run as Administrator then reboot):

REG DELETE "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /f
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.