1.4 Registry ZenEven if you're accustomed to using Windows, the Registry may sometimes seem like a New Orleans graveyard at midnight, full of strange shadows, half-glimpsed terrors, and legendary tales of misfortune. In this vein, I want to digress a little to talk about the philosophy behind the Registry, as well as the Zen of editing and using it. First of all comes the obligatory scare tactic. Microsoft's documentation contains many warnings about the dire consequences that can result from editing the Registry if you aren't careful and knowledgeable. Instead of repeating these warnings, I'll offer one of my own, but just once, so you won't have to keep seeing it over and over.
You can think of the Registry like one of those self-service storage warehouses that have popped up across North America like sheet-metal mushrooms. If you've never seen one, let me briefly digress: these warehouses, which usually have catchy names such as "Public Storage" or "U-Store-It," are fenced compounds filled with long, low metal buildings. These buildings are segmented into individual garages. When you rent a space, you get the magic code that opens the outer gate, and you use your own lock to secure the unit you've rented. Once you've rented it, the space is yours to use as you wish (though you're not supposed to live in them or keep anything illegal or dangerous there). Just like the local U-Store-It, every tenant of the Registry has its own individual space, where it can store anything under the sun. Access to that space is controlled both by the operating system and the tenant who created the keys. Also like the real-world equivalent, the landlord takes no responsibility for protecting what's in individual spaces; that's up to the renter (or application). That's where the analogy stops, though. In Windows 2000, Registry keys fall into three groups:
|