22 March 2008

The Registry: Backups, Repairs, and Protection

Starter Registry Hacks

Now go to the 'advanced' tab and scroll down until you find the 'enable install on demand (other)' entry. Uncheck this. Disable remote registry access. This will prevent malicious users who have gained access to a valid administrator account from changing the registry remotely.

Right click on 'my computer' and select 'manage.' Expand 'services and applications' and highlight 'services.' In the right hand pane, locate the 'remote registry' service. Right click it and select properties. Shut down and disable the service. Remove the .reg file association

By default, .reg files containing registry information are automatically opened and added to the registry (after a prompt) when you open them. This means that malicious .reg files on websites or in email attachments have a potentially direct path to your registry if you make the mistake of allowing them.

To avoid this troubling possibility, you can remove the direct association between the .reg file type and the registry, so that the only way to use .reg files is with REGEDIT.

To do this: Go to 'start\control panel\appearances and themes\folder options.' Click the 'file types' tab. Scroll down until you find the REG entry. Highlight it and click 'change.' Hit the 'I will select the program from a list' option if necessary and locate 'notepad' in the list that follows. Hit 'ok.' All .reg files will now open harmlessly in notepad by default.

Please note that while the above methods will help safeguard your registry, and thus your system from malicious attacks, they do not protect you from other possible vectors. See our '10 steps to a secure PC' article for a solid grounding in PC security.

Registry editing for fun and profit

We've gone through what the registry is and does, and how to protect and restore it, so let's get to the fun stuff. Included below are a few simple and desirable registry tweaks to get you started on editing. Once you've got through these, see PCstats 101 Tips and 99 Performance Tweaks guides for a whole lot more. You can also try finding your own, provided you back up regularly.

Speeding up the Start Menu

The Windows XP start menu has a built in delay time between your pointer landing on a menu and that menu being displayed. Using the registry, you can reduce the time it takes the start menu to unfold its menus:

Open REGEDIT and Navigate to HKEY_CURRENT_USER\Control Panel\Desktop\
Edit the MenuShowDelay value. The default is 400; lower values will speed up the start menu.

I would not recommend using 0, but experiment to find your favourite setting.

Opening a Command Prompt to a Particular Directory from Explorer

One thing that we've become used to with all Windows operating systems is that sometimes there are things that are only possible with the command prompt. However, any time you drop to the command prompt, you will have to navigate to the directory you need manually, instead of being able to drop into any folder you want from the desktop interface. Change that with this registry edit.

Start REGEDIT. Navigate to 'HKEY_CLASSES_ROOT \ Directory \ shell'. Create a new key called 'Command.'

Edit the default REG_SZ value for this new key with the text you wish to see when you right click a folder to open the command prompt window. Assign it a name that's appropriate, for example: 'open command prompt in this folder' or something similar. Under the new 'command' key, create another key called 'command.'

Give the default value in this key the value of 'cmd.exe /k "cd %L"'

After you restart your computer, you will be able to right click on any folder and select your new command to instantly open a command prompt window to that specific folder.

1 comment:

Anonymous said...

whether you call
kshitiz
or
kshitij
or
shitij

its on
http://www.kshitizchandra.com

Google

See other Related Posts below