Jul 28

To go along with my “Disabling / switching keys on your keyboard” post, I also was asked how to disable the windows task manager so that potential users could not turn off the computer or close down any running applications. This was a bit tricky, but after some googling, I was able to come across a built in setting for windows that does just this.

By default Windows doesn’t have access to this setting just sitting around for you to turn on and off, but with a little registry modifications, it can easily be done. The key you are looking to modify is inside [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] and is called [DisableTaskMgr]. If you want your task manager off you simply set the dword Hexadecimal value to to “1″, and to re-enable it, simply clange it back to 0. Note that the first time you do this, you will more than likely have to create both the “System” folder and “DisableTaskMgr” key.

Don’t know how to work with the registry? Don’t worry, no research needed! Below is a zip file containing two different registry (.reg) files that you can download to automatically handle this! All you do is simply run the file and after you confirm you want to execute the file, your task manager will be set to the settings of your choice.

Enable / Disable Windows Task Manager (Alt+Ctrl+Del)

It’s that simple! Again, I hope I was able to save some of you guys the time I spent researching this.

Jul 28

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
Disabling / switching keys on your keyboard

To use remap your keyboard, follow these simple steps: (how-to video at bottom)

  1. Download the Windows Server 2003 Resource Kit Tools from Microsofts website by clicking here.
  2. Once your download is complete, run “rktools.exe” which will install a whole bunch of tools for you to explore.
  3. Goto Start -> Run -> and type “remapkey.exe” inside the open text box. Then press OK
  4. 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.
  5. When you have your keys exactly as you want them, simple click on the first icon below file remapkey_save to save your changes. It will ask you to confirm your changes and a reboot will be required.
  6. 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 =]

preload preload preload