Saturday, August 29, 2009

Fine Tune your System Settings with Registry Editor

Most of the system settings can be tuned up easily within Windows by using the system tools that come along with Windows XP. However, for some complex settings and to get an enhanced / desired performance you need to dive into the registry. To make any changes into the system registry we use the Registry Editor tool that is a part of Windows. To open the Registry Editor in Windows do the following:
Click Start, and then click Run. Type regedit.exe in the Open box, and then click OK.




Backup the Windows Registry

Before making any changes to the Registry it is highly advisable to take a system backup, create a restore point, or backup the registry. We have already discussed “how to take a system backup” and “how to create a restore point” in the previous post. Here we will discuss how to manually backup the registry in Windows XP.
  1. Open the registry editor. Click Start, and then click Run. Type regedit in the Open box and click OK.
  2. When the Registry Editor opens up, then click File option on the Menu bar.
  3. In the File drop down, click on Export and chose a location where you want to save the backup file. Save the registry backup at the desired location.
Now suppose, after performing the registry tweak, if something goes wrong; or for any other reason, you want to revert back to the old registry, then navigate back to the registry backup file, Double click on the file and click on OK.


Corruption and increase in windows registry size are the common causes of window crashes; start up problems, System Freezing. Due to unwanted, and invalid entries in the windows registry, the performance of the whole system degrades. To enhance the system performance, registry optimization is a must.


Here I am going to discuss some of the registry tweaks to fine tune your system performance. I have not invented any of these tweaks by any chance. I found them strewed over the web. The ones I found useful, I have included them in my collection of registry tweaks. I hope you will find my collection useful. I will keep on adding the new ones in my following posts.



How to make Windows XP turn off faster:

Windows XP normally takes time to stop all the process before shutting down the computer. Normal Shut down from the start menu is always a long process. To make your Computer turn off faster The first thing we need to do is access the Registry by going to Start \ Run and type in regedit then click OK.
1       Now with the Registry Editor open navigate to the following key:  HKEY_CURRENT_USER \ Control Panel \ Desktop
1.1         Now  on the right hand side of the screen, scroll down to HungAppTimeout and change the default 5000 to 1000 then click OK.
1.2         Then scroll down to WaitToKillAppTimeout and change the default value from 20000 to 1000 then click OK.
1.3         Scroll down to AutoEndTasks and change the default value from 0 to 1 and click OK.

2        Next we are going to the following key location: HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control  and double click on WaitToKillServiceTimeout to 1000 then click OK.

3        Finally, we need to navigate to the following registry key:  HKEY_USERS \ DEFAULT \ Control Panel \ Desktop  
3.1         Now  on the right hand side of the screen, scroll down to HungAppTimeout and change the default 5000 to 1000 then click OK.
3.2         Scroll down to WaitToKillAppTimeout to 1000 and click OK.
3.3         Change the default value of AutoEndTasks from 0 to 1.



Speed up the Menu Display
When using the start menu the you will notice that there is a delay between different tiers of the menu hierarchy. Due to this delay some functions like the Start menu won't display as fast as it normally should.  Here I will discuss two tweaks which will speed up the menu display in Windows XP. 
1.           With the Registry Editor open, navigate to the following registry key : HKEY_CURRENT_USER \ Control Panel \ Desktop
1.1        Now on the right hand side of the screen, scroll down to MenuShowDelay, and change the default value of 400 to 0.   
1.2        Restart your computer.

2.           To speed up the menu display, follow the given steps:
2.1        Right click on My Computer and then click on Properties. This will bring up the System Properties window.
2.2         Click the Advanced tab. In the Performance area, click Settings.
2.3         On the Visual Effects tab in the Performance Options dialog box, clear the Fade or slide menus into view check box.
2.4         Click OK.
2.5         In the System Properties dialog box, click OK.

Sunday, August 23, 2009

Basic Troubleshooting for Windows XP

Computers running on Windows platform have a tendency of getting slower over a period of time. There could be a number of possible reasons for the slowness : Slow startup, or too many programs automatically running at the startup, Disorganized file arrangement, Resource consumption by unnecessary softwares, Unused network drives, a virus / spyware attack, Unused registries, Possibility of a hardware failure.

Fortunately, Windows XP includes tools to clean your computer and restore its performance. I will discuss most of these powerful and handy tools that come with windows XP. These tools allow us to control and modify the system safely and easily. In this post I will discuss the basic tools that come with Windows XP. I will include the Registry Tweaks in the next post.

Before you start troubleshooting or fine tuning the system performance, make sure that you perform a full backup of the files on your computer to an external location such as external hard drive, DVD, CD, Pen Drive etc. I strongly recommend to back up the files and folders so that if something goes wrong, you are always on the safer side with a backup of your original data. You can always use the “System Restore Utilty” and the “Backup and Restore Wizard” to take a backup of your System settings, and the Important data respectively.


Backup and Restore Wizard

  1. To open the Backup and Restore Wizard Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup. OR

Click Start, and then click Run. Type ntbackup.exe in the Open box, and then click OK.

  1. Follow the On screen Wizard to Back up all your files.

To get more information on how to use the “System Restore Utility” and to know its advanced features please visit the following link:http://support.microsoft.com/kb/308422


System Restore Utility

System Restore utility is a built in tool in Windows XP to bring your system back to the state it was in at some prior point in time. System Restore takes "snapshots" of critical system files and some program files and registry settings and stores this information as restore points. If your computer is not functioning correctly, you can use these restore points to return Windows XP to a previous state when your computer was functioning correctly.

To restore Windows XP to a previous state, follow the given steps:

  1. Log on to Windows as Administrator.
  2. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click System Restore.
  3. On the Welcome to System Restore page, click Restore my computer to an earlier time, and then click Next.
  4. On the Select a Restore Point page, click the most recent system restore point in the On this list, click a restore point list, and then click Next.
  5. On the Confirm Restore Point Selection page, click Next. System Restore restores the previous Windows XP configuration, and then restarts the computer.
  6. Log on to the computer as Administrator. The System Restore Restoration Complete page is displayed.
  7. Click OK.

To get more information on how to use the “System Restore Utility” and to know its advanced features please visit the following link: http://support.microsoft.com/kb/306084


Remove Unnecessary Programs

The first step in fine tuning your system performance is to remove any unwanted programs that consume your system resources and slows down the computer speed. You can uninstall the unwanted programs by following the given steps.

  1. Click Start, and then click Control Panel. Click Add or Remove Programs.
  2. Scroll through the list of installed programs. Click the program which you no longer need, and then click the Change/Remove button and follow the onscreen instructions to uninstall the program.

You might have to restart your computer (if you are prompted to do so) after an uninstall.


Disk Cleanup Tool

Disk Cleanup tool as the same suggests is another utility included in Windows XP to free up the system resources. While using the disk cleanup utility, we can free up the system resources by:

  • Deleting Temporary Internet Files.
  • Deleting Downloaded Program Files like “ActiveX Controls” and “Java applets” that are downloaded from the internet.
  • Empty the Recycle Bin.
  • Remove Windows Temporary Files.
  • Remove Optional Windows Components that we are not using.
  • Remove the installed programs that we no longer use.
  • Remove the Setup Log Files and Offline Files.

To remove files stored on your hard disk that you no longer use, follow these steps:

  1. To launch the Disk Cleanup utility click Start, point to All Programs, point to Accessories, point to System Tools, and then click Disk Cleanup. OR

Click Start, and then click Run. In the Open box, type cleanmgr,and then click OK.

  1. Select the drive on which you want to Clean up using this utility. Disk Cleanup will spend a few minutes examining your disk.
  2. Follow the On screen Wizard to free up your disk space. Select the desired check boxes in the Files to Delete list, and then click OK. Disk Cleanup will spend several minutes clearing space.

To get more information on how to use the “Disk Cleanup Utility” and to know its advanced features please visit the following link: http://support.microsoft.com/kb/310312


Defragment the Hard Drive

Everything that is stored on your computer is stored as a file. This includes everything from software programs, music files, photographs etc. When the computer adds files to the hard drive, it puts it anywhere on the hard drive. So it is not necessary that all the similar files or the files that appear to come in order are placed at the same place on the hard drive. The data is scattered all over the hard drive in fragments. Over time, more and more files become fragmented. When a file is fragmented, it takes longer for the computer to read it because it has to skip to different sections of the hard disk to access the file fragments. Defragmentation is a process that reduces the amount of fragmentation in file system. It does this by physically organizing the contents of the disk to store the pieces of each file close together.

To defragment a Hard drive, follow these steps:

  1. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Disk Defragmenter. OR

Click Start, and then click Run. In the Open box, type dfrg.msc, and then click OK.

  1. Click the volume that you want to defragment.
  2. Click Defragment to begin the operation.
  3. Review the progress of the operation in the Defragmentation Display window. Fragmented files on the disk appear in red, contiguous files are blue, and system files are green. The goal is to eliminate most of the red in the window.

To get more information on how to use the “Disk Defragmenter” and to know its advanced features please visit the following link: http://support.microsoft.com/kb/305781


Optimize your Windows Startup

Often, programs configure themselves to run in the background so that they appear to start quickly when needed. Every time you boot your computer a lot of hidden programs load in the background. These programs are loaded in the computer memory at the time of Windows Startup. These autostart programs steal away some amount of memory and processing time as your computer runs. These programs will increase the start up time and slow down the computer. Some of these hidden programs are essential, but most aren't. Turning off some of these hidden programs can significantly increase your computer's performance and reliability.

MSConfig, or Microsoft System Configuration Utility is a utility to troubleshoot the Windows Startup process. MSConfig modifies which programs run at startup, edits certain configuration files, and simplifies controls over Windows Services. To launch System Configuration Utility, follow the given steps:

  1. Click Start, and then click Run. In the Open box, type msconfig and then click OK.
  2. This launches Microsoft's System Configuration Utility. Click on the Startup tab (the tab at the far right). This takes you to a page with a list of "startup items." Startup items are programs that are automatically loaded every time you turn on your computer. Some startup programs are necessary, others are simply a waste of RAM.
  3. Uncheck all programs which you don’t want to load at the startup. Click on Apply and then OK. Restart the computer when it prompts you to do so.