|
|
The Windows Registry |
|
|
Contents:
This is an advanced topic, therefore at the very beginning, a word of caution from all of us at WellOiledPC: Editing the Windows Registry is something that even seasoned professionals shudder contemplating. NEVER attempt to edit your Windows Registry manually. We are DEAD SERIOUS – editing the Registry manually is a lot like performing an appendicitis operation on yourself, when you are, say, an English Professor by profession!
We have written this article for those few of our members who have been asking us for a low-down on the Windows Registry. If you are not into tinkering with the innards of your Operating System (and even if you are, but do not have the time to read the full article), you are most welcome to go to the end of this article, where we have the results of a shoot-out of 10 popular Registry Optimizers and links to each of them. Many of these Registry Optimizers scan your Registry and show you the errors for free as well. Do not be surprised if the first scan turns up hundreds (no jokes, we DID mean HUNDREDS!) of errors! To fix the errors, you will naturally need to purchase the best Registry Optimizer...
Our advise for members who have expressed the desire to know more about the Windows Registry is the same too – Do read the entire article, but DO NOT TOUCH your Windows Registry! The article has been written keeping you in mind and we have given a lot of details too – but let your favorite Registry Optimizer automatically correct your Windows Registry errors for you!
|
|
|
All versions of the Windows Operating System contain what is called the Windows Registry. The Registry is actually a database, which Windows uses to store its own settings and your personal options. The settings and options it stores is comprehensive and includes;
Any change made by any user to his/ her Control Panel settings, File Associations or System Policies (even the Desktop Wallpaper!) are immediately updated in the Windows Registry. Any time you add a new piece of hardware (say a new Multi-function Device that replaced your earlier Laser Printer), the configuration is saved in the Windows Registry. Similarly, every time a new software is installed (or a software uninstalled), the changes are updated in the Windows Registry. Why does Windows go to such lengths as to store each and every hardware/ software configuration change? Well, the answer is, it does this so that Windows does not need to do it every time it boots up/ runs the program! That would take a lot of time – instead, if it is stored in the Registry, Windows simply picks the required information from the Registry at a fraction of the time required to read it from scratch! To sum up, the Windows Registry stores information about hardware and software configuration, so that Windows functions in the most efficient manner. It also stores user preferences, so that a user does not have to re-do his/ her preferences each time the machine is restarted. You can now see for yourself, just how important the Windows Registry is! It is so important that without it, Windows (and therefore, your Computer – Desktop or Notebook) would not even start up! What is the Structure of the Windows Registry?
The Windows Registry is organized exactly as your Hard Disk – in hierarchical
folders, each containing zero, one, or more files. However, you do not call them
folders or files, instead, you call them Keys, Subkeys and Values. Keys - Keys are the organizational units in the Registry. They are containers for either values or further subkeys. Subkeys may contain further subkeys. Thus, Keys contain subkeys or values, just like folders contain files. Values - Values contain the actual data stored in a Key or Subkey. There are quite a few different types of values that can be stored in the Registry, with the most common ones being binary, strings, and DWORD values. There are six main branches to the Windows Registry, with each containing a specific portion of the information stored in the Registry. These are as follows:
A Registry Value is stored as one of the following five main data types:
For example, here is the Registry key that controls what your Internet Explorer’s initial start page will be, HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\\Start Page Looking at this Key’s components show the following:
HKEY_CURRENT_USER is the Hive that this key is associated with. Microsoft - This is a Subkey Internet Explorer - This is a Subkey Main - This is a Subkey Start Page - This is the Value that the actual data is stored in. For this particular Value, the data will be the start page that you want Internet Explorer to use. To navigate your Hard Disk, you have Windows Explorer. Similarly, to navigate the Windows Registry, you have the program called Regedit.Exe. However, Regedit does not show the following kinds of Registry data types:
For Windows NT 4.0, Windows 2000, Windows XP, and Windows Server 2003, the
Registry files are stored in the following directories:
Systemroot\System32\Config The names of the registry files are shown in the Table below:
What are the symptoms of a corrupted/ non-optimal Windows Registry? The symptoms of a corrupted or non-optimal Windows Registry are very similar to that of virus or spyware attacks. If your Computer faces one or more of the following problems, it is advisable to check out for Viruses, Spyware as well as a corrupted Windows Registry:
Therefore, if your Computer comes out clean after checking for viruses and spyware, it is most probably your Windows Registry that needs cleaning up! Can I view my Windows Registry?As briefly mentioned before, the program Regedit.Exe included with Windows enables you to view, search and edit the data within the Registry. The simplest way to start Regedit.Exe – you will not find it in the Start/ All Programs Menu – is, to click on the Start button, select Run, and in the Open box, type “regedit”. You will see the following screen, with your Windows Registry open to view.
Again, like Windows explorer, click on the plus sign [+] to the left of any folder or simply double-click on the folder, to expand it. To display the contents of a Registry Key, you only need to click the desired key, with its Values promptly showing up on the right pane. You may add a new Registry Key or Value by selecting New from the Edit menu or by right-clicking your mouse while it is placed on the Registry Key. You may rename any value and almost any key with the same method used to rename files: right-click on an object and click rename, or click on it twice (slowly), or even press F2 on the keyboard while the Key/ Value is highlighted. Lastly, you can delete a key or value by clicking on it, and pressing Delete on the keyboard, or by right-clicking on it, and choosing Delete. It is also possible to delete Registry Keys and Values using the .REG files. To do so, start by using the same format as the original .REG file and place a "-" symbol in front of the Registry Key marked for deletion. For example, to delete the [HKEY_LOCAL_MACHINE\SYSTEM\Setup] key, the .REG entry would be: REGEDIT [-HKEY_LOCAL_MACHINE\SYSTEM\Setup] The format used to delete individual values is similar. However, instead of a minus sign in front of the Key, the minus has to be placed after the equal sign of the Value. For example, to delete the value "SetupType" the entry would be; REGEDIT [HKEY_LOCAL_MACHINE\SYSTEM\Setup] "SetupType"=- A very useful feature of the Registry Editor is it's ability to import and export registry settings to a text file. This text file is saved as a .REG extension file. System Administrators use it when they want to set up a number of Computers in an office, all with the same Registry Settings Caution: We are merely describing the possibilities with RegEdit.Exe. We are NOT suggesting that you modify your Windows Registry on your own. Please do not make ANY changes to your Windows Registry: if you do, you are CERTAIN to be left with a Computer that will not boot up again! You may of course backup your registry and try out all these changes to the backup copy, if you are confident about creating a backup and working ON THE BACKUP COPY. Better to be safe than sorry! Can I create a Backup of my important Windows XP files? Can I Restore from it, if my Registry gets corrupted for some reason?Yes, this is quite possible and recommended as well. Microsoft Windows XP, Vista as well as the latest version, Windows 7 - currently under Beta - include a feature known as System Restore. This feature enables a user to backup and restore their important system files (including the Registry files) from an earlier day and time. The usual times that a System Backup operation is triggered off are when you install a new piece of hardware or software, or when you patch your Windows. Apart from getting triggered off automatically, you may also create a System
Restore point anytime you want to, using System Backup. We recommend you do this
once-in-a-while!
To do a manual System Backup, follow the steps below:
To restore your Computer to an earlier point, follow the steps below:
Note that both System Backup and System Restore are fairly long-winded operations. We suggest you get yourself your favorite drink, while your Computer Backs up/ Restores its vital files! Only, sit at some distance from your Computer – we do not want you to accidentally spill your drink on your Computer! All good Registry Repair programs will also take a backup of your Registry, before making any changes to your Window's Registry! DC Software have a free product called Registry Editor Extensions (RegEditX), which is freely downloadable from http://www.regeditx.com. Currently, it is in Beta Version 2.
Do I really need to purchase a Registry Optimizer?A Registry Optimizer slution is indeed a good investment. This is because;
There are literally hundreds of Registry Optimizers - most of them shareware that costs under US$ 30, some of them even cheaper. We at WellOiledPC have tinkered around with so many of them that we have lost count... Some of them did correct Registry errors without giving us any noticeable improvement in Computer speed - which is okay, while a few of them resulted in missing applications and other problems, on rebooting - which is definitely not okay! We list below in alphabetical order, the 10 that we believe are the best in the business.
We are dealing with extremely important information crucial for the functioning of your Computer, when we talk about your Registry. Therefore, we urge you to carefully go through the comparison chart! Comparison of Registry Optimizers
Legend: 1 Startup Manager - Refers to whether the software includes features for letting you check (and disable) Windows Startup files 2 Uninstall Option - Refers to whether the software has an easy option to uninstall itself, if you do not want to continue using it @ Premium Booster - Option to backup not just the Registry, but also the Windows System files % Norton SystemWorks is a comprehensive Computer Maintenance Utility that comes in 3 editions. It's Registry Cleaner is but one of the many functions in it * Registry Toolkit - No way to delete empty Registry Keys or defragment the Registry # XP Repair Pro - Startup Manager is a separate, free download Which Registry Optimizer do I purchase? That is a large number to review, of software performing the same basic operation! But then, we are talking about your Windows Registry - and if you are careless, it could mean a complete re-install of Windows and all your application programs - a week's work, before your Computer limps back to normalcy! So what is the WellOiledPC recommendation? Well, while there are a few solutions that are bunched together at the top, the rest are significantly below the leaders. Here are the purchase links to our top choices!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
