Have you ever wanted to disable certain keys on your keyboard but have no idea how? After hours of searching, I managed to find a simple way to do such a task, and it works like a charm.
Now like most programmers, I figured “Hey I can probably just stop the keys from occurring in Visual Basic by hijacking the keyboard and only passing on the keys I wanted.” Well this did not work as well as I hoped, so I decided I would ask my ultimate source for knowledge, good old Google. After a few hours of searching different senerios, I finally came across just want I wanted! The Windows Server 2003 Resource Kit Tools.
Now the Windows Server 2003 Resource Kit Tools is a extremely large package packed with many different useful tools, but the tool that will come in handy today is called a crafty little application called “Remap” created by Microsoft.
By using remap, you have full access to “Remap” each and every keyboard key to a different key. Now why is this useful? Well it allows us to change the keys users could use to close our application and replace them with “SHIFT”. We went one step futhor and disabled almost any key combination that could be used to do anything we did not want such as ALT+TAB (switch window), CTRL+F2 (close window), ESCAPE (closes flash presentation), and Windows keys. To make it easy, we simply replaced each and every key we did not want with the Shift key, since the Shift key posed us no harm.

Disabling / switching keys on your keyboard
To use remap your keyboard, follow these simple steps: (how-to video at bottom)
- Download the Windows Server 2003 Resource Kit Tools from Microsofts website by clicking here.
- Once your download is complete, run “rktools.exe” which will install a whole bunch of tools for you to explore.
- Goto Start -> Run -> and type “remapkey.exe” inside the open text box. Then press OK
- At this point, Remapkey will open up, displaying the window to the left. The top “Base keyboard” is how your keyboard would be by default. The “Remapped keyboard” is how it will be after. Simply drag and drop the keys from your “Base Keyboard” into the possition you want on your Remapped Keyboard. In our example, we dragged “Shift” from the top to the “Esc” key on the bottom.
- When you have your keys exactly as you want them, simple click on the first icon below file
to save your changes. It will ask you to confirm your changes and a reboot will be required. - Once you have rebooted, your computer will now work as if your keyboard was setup just as you choose. You can go back to this program at any time to change your keyboard back.
Hope this helps some of you out so you don’t have to spend as much time as I did researching how to stop keystrokes from happening =]

















