How To Disable The Caps Lock Key On Windows 7 and Windows Vista

Disable The Caps Lock KeyIf you ask me, one of the most useless keys on a keyboard is the Caps Lock key. In my opinion, The Caps lock no longer has any roll to play on your key board. Instead, I’m sure it’s just irritating when you accidentally hit it unintentionally. In my opinion, It is best to just disable the key, an option that ideally should have been built into the operating system.

But, since it isn’t built-in, Here are two ways to disable the caps lock key on your key board.

1. Adding a registry entry to disable the caps lock key or map it to another key.

2. A simple utility that helps you to disable any key or map any key to any other key on your keyboard.

Adding Registry Entry

Windows does not have such a default setting by which you can disable/enable any key. But editing the registry you can achieve the same result. For that you would have to launch the registry editor by typing “regedit” (without the quotes) at the Run (Win +R) box and hitting enter.

At the registry editor navigate to the following path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

Now take note of the Scancode Map entry. The different parts of the binary code  are responsible for the mapping of the keyboard layout. You can set the keys on your own by editing that data. But this is a complicated trick and would require you to know a lot about the inner workings of the operating system and keyboards.

Since, we only want to disable the caps lock key for now, I have already made a registry key file for you, that’ll set the Scancode Map entry to the correct value. Just download the following zipped file and extract it to get the registry key file. Once you have that registry file, just double click on that and click on Yes. You are done! Restart your computer and see the result – Your caps lock key has been disabled !

Download DisableCapsLock.

Using The Utility SharpKeys

SharpKeys is a simple application that supports both windows 7 and vista that lets you disable any key or map keys on your keyboard.

Download the application SharpKeys and run it (no installation is required).

Once you run the application, you can add any key from the list and choose to disable that key or map that key to another.

In the SharpKeys interface, click on the Add button to select the key from the list and select what do you want to do from the right side. After selecting the key and the target task, click on the OK button.

After that, you will be returned to the SharpKeys initial interface. Now, click on the Write to registry button. You would get a massage saying that the key mapping has been successfully stored to the registry. Click on OK.

You are done!

To revert to your initial settings, delete the corresponding entry from the list. As simple as that !

So, do you also think the caps lock key is as useless as it seems  ? Do you like to keep the caps lock key disabled ? Share your opinion with us in the comment section.

Image Courtesy: http://www.flickr.com/photos/dip/278670457/

Open Any File Using Notepad From The Windows Context Menu

Add Right-click Option to Open With NotepadOur mission here at Geeky Ninja is to make things easy and simple. One of the complex job is opening any file with Notepad. You can open text files with .txt extension in notepad usually by double clicking on the file. If the file is an HTML or VBS etc  then you can open those file from the Open with > Notepad using the right-click context menu. But that doesn’t work for all files. So, for some files, you have to select notepad as the opening application from the option “Choose program”.

But all the complexity can be avoided by adding the Open with notepad option at right-click context menu for all types of file. There is a simple registry hack to do that.

Registry Hack To Add The “Open with Notepad” Option To The Right-Click Context Menu

Press Win + R and type “regedit” without the quotes and hit enter to open the registry editor.

Note: You are about to edit the registry, so it is always recommended that you should keep a backup of your registry to be in safe side before making any change. Learn how to backup registry.

Now navigate to the following path from the left pane of the registry editor:

HKEY_CLASSES_ROOT\*\shell

If the entry “shell” is not available there, create it by right clicking on “ * ” and then by choosing New > Key. Give the name of that key as shell.

Add Right-click Option to Open With Notepad

Similarly, create another key Open with notepad under shell and command under the recently created key (Open with notepad).

Select the command key and right-click on Default at the right pane and select Modify.

Add Right-click Option to Open With Notepad

Under the Value data field put the following command:

notepad.exe %1

Add Right-click Option to Open With Notepad

and click on OK.

You should see the changes immediately.

Add Right-click Option to Open With Notepad

If you are not computer savvy and are afraid of editing the registry yourself then you can download the following registry file which will automatically do the job for you.

Download OpenWithNotepad registry entry.

The above link will download a zip file containing the registry hack to add the Open with Notepad option in the context menu along with the un-installation script.

Just extract the zipped file and double click on the OpenWithNotepad.reg file. If you want to remove the entry from the context menu, just double click on the RemoveOpenWithNotepad.reg file.

This trick also works on Windows 7 and Windows Vista.

Cleanup and Optimize Windows with CCleaner

CCleanerThe Windows registry is a mess !

There … I said it.

And the more I use Windows, the more I’m reminded that if there is anything close to a cardinal truth, it is the fact that a windows computer will become slower and slower and crash more often as it grows old.

Of course, ‘Old’ is a subjective term here and depends on how much you use your computer and how many software you install and uninstall everyday.

Also, if you use the computer primarily to surf the Internet, all that muck that you acquire from the different sites that you visit, is only going to add more weight to your operating system slowing it down even further.

Yes, there are ways to get rid of all that but unless you are a computer guru (and most of us aren’t), you most probably will have no idea where to look to find these files and remove them.

Continue reading “Cleanup and Optimize Windows with CCleaner”