Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Windows system registry is a database containing the settings of the operating system (hardware, software, users). When system parameters of the operating system are changed, the system registry is updated.

The registry can be edited by You can edit the registry using the regedit.exe program utility included in the standard set of service programs in Windows. The information about the OS settings is stored in two hidden files in a the Windows folderdirectory: system.dat and user.dat. The registry is a hierarchical tree structure, the branches of which constitute the keys that contain values or parameters and subkeys. The registry has six main branches described in the table.

Branch name

Description

HKEY_CLASSES_ROOT

Contains the information

of

about the software configuration, including the ties of the

links from

file

extensions

types to

programs

certain applications, drag-and-drop parameters, printer

settings

parameters and COM

port settings.

HKEY_CURRENT_USER

Contains user system configuration settings

of the system

. This section is created and populated with information from the HKEY_USERS section upon user

logon.

login

HKEY_LOCAL_MACHINE

Contains the parameters of the computer,

its

drivers and other hardware. The

data

information in this section is

shared by

common to all users of the computer

.

HKEY_USERS

Contains the information about all users

registered

who have accounts on

the

this computer.

There are

Contains two types of parameters

– shared by

: common to all users

,

and specific to each user

.

HKEY_CURRENT_CONFIG

Contains the information about the current hardware configuration

.

HKEY_DYN_DATA

Points to a subsection in the HKEY

Indicates the part of the HKEY_LOCAL_MACHINE section

related to Plug and

that is needed for Plug & Play devices. This section changes

upon adding or removing devices to or from the computer.

when you add or remove devices from the system

The branches, keys and subkeys are  The branch structure is visually similar to the structure of the user folders, allowing nested branches. Figure The figure shows the main elements of the registry.

 

  1. Branches;
  2. Keys;
  3. Subkeys;
  4. Parameters;
  1. Branch.
  2. Key.
  3. Subkey.
  4. Parameter.

A Each parameter has three componentscharacteristics: name, data type and value. A key can have only one parameter with no name, which serves as a default value of for the key. It is recommended to assign meaningful names to parametersgive the parameter of the registry key a meaningful name, indicating its purpose.

The values in the registry can be of particular Windows has a set of registry data types. The most commonly used types are described in the table.

Data type

Description

Purpose

REG_DWORD

A parameter of this type takes 4 bytes and is displayed in hexadecimal

or

and decimal format

.

Many service or driver parameters are of this type. Example: 0x00000240(576) — decimal value of the parameter is given in parenthesis

.

REG_BINARY

Binary data

of

in an arbitrary form. Maximum length

of the parameter of this type is 16 bytes

.

Most

data

information on hardware components is stored as binary

. In the regedit.exe window it is displayed in

data and displayed in the registry editor in the hexadecimal format, for example "01 00 00 00

.

"

REG_SZ

A string ending with a null

symbol.

character

Example: "C:\Windows"

REG_MULTI_SZ

Multi-line

Multiline text. An array of strings ending with a null

each

. An array

itself

ends with two

nulls.Lists

null characters

This type usually has lists and other records in

readable format are of this type

an easy-to-read format. The records are separated by spaces, commas

and other symbols in the editor.

, or other characters

REG_EXPAND_SZ

Data string of variable length ending with a null

.Undisclosed

character

This type contains undisclosed links to environment variables

are of this type.

REG_FULL_RESOURCE
_DESCRIPTOR 

A sequence of nested arrays

.

This type is

designed

used for storing the list of device resources

and drivers.

or drivers


Info
titleNote

The settings in the Tweaki utility affect the values of the registry keys — see Tweaki.exe utility for advanced setup of the Axxon PSIM software system.


Tip

Registry keys reference guide