O'Reilly logo

Managing The Windows 2000 Registry by Paul Robichaux

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HKLM\SYSTEM

HKLM\SYSTEM is where Windows 2000 and NT keeps their crown jewels: the configuration settings that boot the current incarnation of the machine, as well as a number of ancillary settings that govern pretty much everything the OS and kernel services do.

There are four subkeys of interest directly beneath HKLM\SYSTEM:

HKLM\SYSTEM Disk

This subkey stores information about the physical and logical disk volumes on your machine. When you run the Disk Administrator utility for the first time, this key is created; subsequent runs of Disk Administrator update the key’s data, which is then keeps track of how your disks are configured.

MountedDevices

This Windows 2000 subkey replaces the Disk subkey used in NT 4.0. It’s used by the NTFS filesystem to link volume names with the internal identifiers of the volumes, which are usually comprised of a volume’s disk signature.

Select

Ever wonder how a Windows 2000/NT system keeps track of which control set is the “last known good” set? Here’s the answer! Each of the four values is a REG_DWORD that contains the ordinal index of a ControlSetXXX entry under HKLM\SYSTEM:

Current

Contains the ID of the control set currently in use; this set is the one linked to HKLM\SYSTEM\CurrentControlSet.

Default

Contains the ID of the control set that boots the machine next time, unless you manually intervene during the boot process.

LastKnownGood

Contains the ID of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required