6 SubKeys of the six Hkey Handles
Hkey_Local_Machine may
contain the following Subkeys
SubKey Description
------ --------------------------------------------------
Config A collection of configurations for the local computer
Enum Info. on the system's installed hardware devices
Hardware Info. on the ports and modems used with HyperTerminal
Network Info. Created when a user logs on to a networked PC
Security Info. on network security and remote administration
Software Info. about software and it's configuration on system
System The database that controls system start-up, device
driver loading, Windows 95 services, and OS behavior
------- ----------------------------------------------------
Hkey_Local_Machine\Config
The Hkey_Local_Machine\Config subtree contains information
about alternate hardware configurations for the computer. For example,
it can contain information about multiple configurations to be used when
the computer is connected to a network, when it is undocked from a docking
station, and so on. Each alternate configuration is assigned a unique identifier,
and this configuration ID has a subkey under the Config key. Each configuration
appears in the list of hardware profiles in the System option in Control
Panel.
When Windows 95 checks the hardware configuration
at system startup, one of three things occurs:
- In most situations, the configuration ID is mapped
to a unique configuration and Windows 95 selects the appropriate one automatically,
and the settings for the related Config subkey are used for system configuration.
- If the user is starting the computer for the first
time with new hardware components, Windows 95 creates a new configuration
for the new configuration ID, and a new Config subkey is added to the Registry.
- If the configuration ID is mapped to more than one
configuration (for example, because Windows 95 cannot distinguish between
two configurations), the user is prompted to choose which configuration
to use.
Hkey_Local_Machine\Enum
Windows 95 bus enumerators are responsible for building
the hardware tree. This includes assigning an identification code to each
device on its bus and retrieving the device's configuration information,
either directly from the device or from the Registry. For more information
about the hardware tree and bus enumerators, see Introduction to System
Configuration, and Windows 95 Architecture.
Bus enumeration information is stored in the Hkey_Local_Machine\Enum
subtree. For all types of devices, subkeys contain information such as
device type, assigned drive letter, hardware ID, and device manufacturer,
plus driver-related information for network components.
The following table shows which devices are enumerated
in typical subkeys.
------ --------------------------------------
Subkey Device enumeration
------ ---------------------------------------
ESDI Fixed disk devices
FLOP Floppy disk devices
ISAPNP Plug and Play devices on an ISA bus
Monitor Monitor devices
Network Network protocol, server, and bindings
Root Legacy devices
------- ---------------------------------------
Hkey_Local_Machine\Hardware
Information about serial ports and modems used with
the HyperTerminal program.
Hkey_Local_Machine\Network
Network information created when a user logs on to
a networked computer, including the user name, primary network provider,
whether the logon was validated by a server, and information about the
system policies processor.
Hkey_Local_Machine\Security
Information about the network security provider and
remote administration capabilities.
Hkey_Local_Machine\Software
The Hkey_Local_Machine\Software subtree contains
configuration information about all installed software that can write information
in the Registry. The entries in this key apply for anyone using this particular
computer, and include definitions for file associations and OLE information.
The software subkey contains, for example, the information you add when
registering an application to use a specific filename extension and information
added during installation of Windows-based applications.
The Hkey_Local_Machine\Software subtree contains
several subkeys, including the Classes subkey, plus description subkeys
for all installed software that can write to the Registry, as described
in the following sections.
Specific Key Information:- (1)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Contains a list of all programmes currently installed
on you machine and can be used to remove unmovable entries from the uninstall
section of the Add/Remove Control Panel. Please note that is is safer to
use Tweakui to achive this same end. (Markd@)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
These are the programs that have been set up to run
whenever the computer reboots. Same as the start menu but they start booting
first but may finish after if they take a long time to open.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
These programs run only on the first boot of the
day such as doing a virus scan.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce
Do the same thing but only special set up programs
etc. For example if you install the MS service pack for win95 you need
to replace many of the basic windows files. Since these files are in use
you cannot just copy and replace. The installation routine copies the files
to a temp directory, adds runservices keys to the registry, tells you to
reboot, and on the reboot copies the files from the temporary directory
to the windows directory at the very start of the boot process and finally
erases the runservices entries.
This is why you should always reboot after each installation.
What a second install or you might do is erase the temp files or the runservices
entries which results in a failure of the installation.
Hkey_Local_Machine\System
The data in Hkey_Local_Machine\System is organized
into control sets that contain a complete set of parameters for device
drivers and services that can be loaded with Windows 95. All data that
controls startup is described in the CurrentControlSet subtree under Hkey_Local_Machine\System.
This control set has two parts:
The Control key contains information used to control
system startup, including the computer's network name and the subsystems
to start.
The Services key contains information to control
the loading and configuration of drivers, file systems, and so on. The
data in the Services key also controls how these services call each other.
[3-6-2] Hkey_Current_Config may contain the following
Subkeys
To be included in a future version of the FAQ.
[3-6-3] Hkey_Dyn_Data may contain the following
Subkeys
To be included in a future version of the FAQ.
[3-6-4] Hkey_Classes_Root may contain the following
Subkeys
To be included in a future version of the FAQ.
[3-6-5] Hkey_Users may contain the following Subkeys
To be included in a future version of the FAQ.
[3-6-6] Hkey_Current_User may contain the following
Subkeys
To be included in a future version of the FAQ.
Sources, References and people.
Date: Sun, 15 Dec 1996 12:01:35 -0500 (1)
From: "Joseph C. Kennedy" <71431.3451@COMPUSERVE.COM>
Subject: Windows Registry
Disclaimer
This article and web site listing
is provided without any express or implied warranties. While every effort
has been taken to ensure the accuracy of the information contained in this
article, the author, faq maintainers and contributors assume no responsibility
for errors or ommissions, or for damages resulting from the use of the
information herin. This document respects all owners of their repected
trademarks and or copyrights, Microsoft Windows 95 and Windows NT are the
sole copyright of Microsoft Corporation and thus belongs to Bill.
Copyright Notice ©
Windows95 (Win95-L) FAQ
COPYRIGHT © 1996 by Hans Klarenbeek
All Rights Reserved by the
author, Hans Klarenbeek
Windows95 (Win95-L)
FAQ © 1996 PERMISSION:
Permission is granted freely to distribute
this article in electronic form as long as it is posted in its entirety
including this copyright statement. This article may not be distributed
for financial gain. This article may not be included in any commerical
collections or compilations without the express permision of the author,
Hans Klarenbeek(hansie@wantree.com.au)