THE HKEY is Microsofts language for a program handle to a key that contains configuration information. A key looks identical to a folder or subdirectory, except that the name applies to levels and sublevels within the Registry. Looking at the various HKeys in REGEDIT is the same as looking at a drive in Windows Explorer. Each key is represented by a folder icon that can be expanded or collapsed just like folders and subfolders. The Windows 95/98 Registry contains six primary HKeys. Each HKey is like a primary folder located in the root directory of a drive and has many levels of subkeys that descend like a directory tree. The root directory is called HKEY_CLASSES_ROOT. The six primary HKeys are:
Remember. The Windows 95 Registry is a set of two files. SYSTEM.DAT is the main file and can become very large. USER.DAT is the second file, containing mostly configuration inforation. The Windows 95 Registry is built around six master sections (Hives) called HKey_[SectionName] where [SectionName] is the name of each specific section. At the top of the Registry tree is HKey_Classes_Root. The section used for hardware is
HKey_Local_Machine. When Windows 95/98 is set up for the first time, a SYSTEM.NEW file is created as the first Registry. This file contains the hardware and software configuration information made during the detection phase of Setup. If everything works well and Windows 95/98 starts successfully without crashing, SYSTEM.NEW is renamed SYSTEM.DAT. Once Windows 95/98 is installed
and working, the first successful SYSTEM.1ST includes everything up to the first reboot of the system. If you replace SYSTEM.DAT with SYSTEM.1ST at any time and reboot the computer, youll get the Starting Windows 95/98 For The First Time screen and Windows 95/98 will go through the configuring hardware process, initializing the Control Panel, Start Menu, and all the other aspects of a first-time start. Windows 95/98 will then reboot and start up normally. Every time Windows 95/98 starts successfully, it backs up STYSTEM.DAT to SYSTEM.DAØ and USER.DAT to USER.DAØ (overwriting any existing DAØ files). If something goes wrong, the DAØ files are used automatically on restart to return the computer to the successful previous startup. Here is a summary table showing the names of the Windows 95/98 or Windows 3.x Registry files, where they are stored, what the backup files are called, and how they are edited. |
April Miller Cripliver is a network and training consultant in northwest Indiana. She has earned her MCSE, MCT, and several CompTIA certifications, and runs her own W2K domain at www.cripliver.com. |