Registry files related content

The role of the registry 

  • Windows registry is known as the core operating system, it works essentially a huge database to store configuration information about your computer hardware initialization information systems and application software, application software and documentation association files, hardware devices instructions and a variety of status information and data, including information constantly referenced during Windows operation. For example: hardware resources in the system, hardware information, port allocation is being used, each user's profile, installed on the computer applications and file types that can be created for each application.
    Main functions: 
    1, recording installation information 
    2, set the hardware 
    3, set the software 
    4, custom Windows 
    5, system security management 
    6, auto-run program 
    7, Network Settings

Registry structure

 

 

Registry is organized with the file directory is quite similar, divided into root key, sub-key and key items of three parts, corresponding with the file directory, then that is the root directory, subdirectory and file. Tell us about these three parts are:

(1) the root key. Divided into five, namely HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS and HKEY_CURRENT_CONFIG, they understood as the disk partitions it five.

 

 


(2) sub-key. Can have multiple sub-keys and key items, like a directory can have multiple subdirectories and files as multiple. 

(3) key items. It can be understood as a file, which consists of three parts, namely: name, type, data.

  

 

注册表通过键和子键来管理各种信息。
  但是注册表中的所有信息都是以各种形式的键值项数据保存的。在注册表编辑器右窗格中显示的都是键值项数据。这些键值项数据可以分为三种类型:   1。字符串值   在注册表中,字符串值一般用来表示文件的描述和硬件的标识。通常由字母和数字组成,也可以是汉字,最大长度不能超过255个字符。
  在本站中以"a"="***"表示。   2。二进制值   在注册表中二进制值是没有长度限制的,可以是任意字节长。在注册表编辑器中,二进制以十六进制的方式表示。在本站中以"a"=hex:01,00,00,00方式表示。   3。DWORD值   DWORD值是一个32位(4个字节)的数值。
  在注册表编辑器中也是以十六进制的方式表示。在本站中以"a"=dword:00000001表示。

 

注释:

注册表中键相当于文件系统中目录这个概念。根键,对应即根目录。根键,主键(父键),子键,本质都是键。

主键(父键)和子键是一个相对的概念,不是绝对概念,即键A在某一情况时称为子键,另一情况时称为主键,而不是固定什么情况都是称为子键或是父键。例如,键C下一级里有键B,键B下一级里有键A,则键B对键C来说是键C的子键,而键B对键A来说是键A的主键。

 

Guess you like

Origin www.cnblogs.com/lonelyshy/p/12368606.html