Gizmo's Freeware is Recruiting
We are currently looking for people with skills and/or interest in the following areas:
- Anonymous Surfing Service
- Mobile Apps contributors
- Mac Section contributors
If this sounds like you then click here for more details
What Everybody Should Know About the Windows Registry
I suspect that most PC users probably consider the subject of the Windows Registry to be something to avoid. Over the years a mystique has grown up around the Registry, making it sometimes sound like a set of cabalistic rites known only to the high priests of Microsoft. This article will try to shed a little light on the Registry and outline some basic facts that I believe all PC users will find worthwhile knowing. A second article on the Registry editor is for more advanced users who may wish to do some of the many useful Registry tweaks .
Why should the average PC user know anything about the Registry?
The Registry is so essential to the functioning of a Windows PC that anyone who uses a PC regularly should at least have a general idea of what the Registry does. Just a little knowledge will remove some of the fear and loathing from the subject. Everyone should also know how to back it up and restore it. A little learning here can save big headaches with computer problems. The backup and restore process is neither difficult nor lengthy and is easily mastered by the greenest of computer newcomers.
What is the Registry?
The Windows Registry is a central database containing all the varied assortment of information needed for the computer to run both the hardware and the software. The Registry is in constant use and almost anything that you do on a Windows PC will access the Registry for information. The information is divided among a number of hidden system binary files. Only highly expert professionals will ever need to access these files directly. If desired, viewing the contents of some parts of the Registry is done with the Registry Editor accessory (Regedit), which combines certain components and displays them in a readable unified text form.
Isn't it dangerous to do anything with the Registry?
Because it is involved in everything, damage to the Registry can stop a PC from functioning. For that reason Microsoft has gone out of its way to make the Registry mysterious and fearsome sounding. It is reasonable that Microsoft does not want to have to deal with service calls from ignorant people who have tried to edit the Registry but I think the constant warnings about the Registry that you see everywhere on the Internet are overdone. They are a form of CYA arising in part from our overly litigious society. Yes, you can create a lot of problems if you mess up the Registry but you can also cause problems if you go around deleting things from the Windows or Program folders. You can do stupid things with almost anything. And yes, mistakes do occur. I once misplaced a comma while editing a Windows 95 Registry and found that my computer wouldn't boot. But I had a backup and it took only a minute or two to fix the problem. Actually, the Registry has become increasingly robust with each version of Windows. It is very much harder to make the system unbootable than in the days of Windows 95.
Why does Windows need a Registry? Other operating systems don't have one
All operating systems need a way to store information about the system. There is more than one way to do this and Apple and Linux use a different method. Originally, Windows kept information in a large number of separate INI files scattered throughout the system. Then, beginning with Windows 95, Microsoft decided to centralize the information. It is true that there are a number of computer scientists who think the Registry is not the optimal way to store system information but the Registry method also has its proponents.
How to back up and restore the Registry
If there is one thing about the Registry that everyone should know, it is how to back it up, Every time you make system change- installing software, attaching new hardware or whatever- a backup should be made of the Registry. Fortunately, this is not difficult.
Backing up is often already done for you by System Restore. Depending on how often you turn your computer off, the default setting is for System Restore to back up certain system components, including the Registry, approximately every 24 hours. However, you can also manually create a restore point whenever you wish and it's a good idea to do so whenever you make a system change. Some quick ways to make System Restore points are at this link. Those who make frequent changes to their system may wish to create a shortcut to System Restore or download one of the little scripts mentioned in the preceding reference. Put the script file on the desktop and making a restore point is just a double-click away.
One drawback to System Restore is that it doesn't provide a convenient way to back up just the Registry or parts of the Registry. Another is that the restore points cannot be placed on an external drive. A possible solution is the free program Erunt, which is included in the Best Free Security Software list. Another method is to use the export function of Regedit, which I discuss in another article.
Cleaning the Registry
There are many programs that claim to do wonderful things by "cleaning" the Registry. That is, they prune out dead or corrupted entries. Some are better than others. However, some are actually dangerous and none that I have seen actually has any statistical evidence to back its claims. Registry cleaning can be dangerous without taking proper care. Many average PC users do not have the background knowledge to use a Registry cleaner safely. It is very easy to "clean" some Registry entry that should not be removed. I see too many posts on the Internet about Registry cleaning gone awry. Even highly rated programs that I have tried have offered to clean something that I knew should not be touched.
Back in the days of Windows 95, I was an advocate of regular housekeeping for the Registry. My own experience and anecdotal evidence indicated better performance when the Registry was occasionally cleaned. However, the Registry in Windows XP and later is far more robust and much less prone to corruption. Those who install and uninstall a lot of software and/or those who tweak the Registry a lot may find it worthwhile to do regular Registry maintenance. For ordinary PC users, I feel that the Registry needs this type of maintenance very rarely. Windows Vista and Windows 7 Registries are even less susceptible to corruption than XP with added protective measures such as Registry virtualization. I almost never use Registry cleaners and then only on heavily used old XP systems with problems. For more about Registry cleaners see this reference.
Personally, I believe that a good uninstaller program is a better way to keep the Registry clean. The major source of unnecessary Registry entries is poorly uninstalled programs. Many programs leave behind a great deal of junk in the Registry when uninstalled. See the list of free uninstaller programs and use one of them.
Conclusion
In summary, the Registry is just a database, albeit an unusual and very important database. It’s no more mysterious than much else in Windows (and less than some things). Always back it up before any system changes and you will be prepared if it stops doing its job.
- Article type:


Comments
It makes no sense to rail against registry cleaners in this article and then to award Ccleaner 'Best Free File Cleaner' which of course also cleans the registry. Either Ccleaner is a great program or the first paragraph of 'cleaning the registry' needs a rethink. Having two different attitudes on a site to something this important is not a good idea - you could panic someone who previously thought they were doing the right thing using Ccleaner!
I think that you're being too hard on this site and the editors of the articles you mention. Having re-read this article, I say, "Well done, v.laurie."
The author doesn't "rail against registry cleaners". This article is reasoned in content and reasonable in tone. It should not "panic" anyone.
As to CCleaner's registry cleaning, it is very limited as it only looks at commonly left-over install/uninstall features. If you compare it with 'deep' registry cleaners you will see how few categories of registry issues it detects.
If you have used Ccleaner, you know that it does much more than clean the Registry. It can be configured in a host of ways and can be used for doing many things without ever touching the Registry.
Thank you for the very useful and informative articles :)
It's nice to know that they are helpful. Thanks for commenting.
What everyone should know about the Windows registry is that its the #1 reason Windows is not robust at all. The registry needs to go away. This is one of MANY things *nix does better than Windows: Keeping configuration in a central directory on the hard disk in plaintext files that one can edit from a rescue disc should ANYTHING go wrong with configuration. This is something you just plain can't do with the Windows registry, so in the likely event it eats itself to the point you can't run Windows anymore, you're SOL (Even with a registry backup. How do you expect to APPLY said backup if you can't even get at the system that can actually write to the registry, hmm?).
Whereas in the UNLIKELY event /etc eats itself in *nix you can still just grab a boot disk and change the files as needed. Windows instead will pretty much force you to reinstall because its stored everything in a binary database only its local install can change.
It is harder than it used to be to hose Windows to the point where it won't boot. But, in the event that Windows won't boot, there are a number of different rescue methods available. Amusingly, some of them use a Linux rescue disk.
I grant you that *nix systems are more stable. But the reality is that most PCs use Windows so it is Windows that I write about. I assume you don't suggest that all those people that use Windows should never have any information about how to use their systems. You may consider them benighted but there are hundreds of millions of them and this site tries to provide a service for them.
I would hope that commenters would concern themselves with the accuracy and usefulness of articles and not wander off into the religious wars about the best operating system.
I 'mess' with the Registery a lot more than I probably should. But, so far, I haven't had a major problem.
I find stuff that I want completely removed from my system. I run Revo Uninstaller, then delete said items from the Registery and reboot.
And I use EDRNT for backup rather than System Restore. System Restore, to me, is one of Microsoftheads brain-poots.
Thanks for the highly informative article; keep them coming. Cheers!
I've done a lot of registry editing in my time and have several years experience in the PC field. Just wanted to throw my support behind this article.
There are many different opinions about the registry, but this article agrees with my own experience.
I am a bit new to computers, so this information will help me in learning more of computers
Oops, I guess I can't delete this comment. I moved it under Kristopher's statement since it was supposed to be a reply, but this text field wants a comment.
So, thanks again, v.laurie!
Great article.Very reassuring to us non-tech's. Please keep up the good work. Bill
Nice article. Good information that I didn't know about the sturdiness of the newer registries.
I second that. Thanks!
Post new comment