GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Windows Registry

The Windows Registry is a hierarchical database that stores low-level settings for the Microsoft Windows operating system and for applications that opt to use the registry. The kernel, device drivers, services, Security Accounts Manager, and user interfaces can all use the registry. The registry also allows access to counters for profiling system performance. In other words, the registry or Windows Registry contains information, settings, options, and other values for programs and hardware installed on all versions of Microsoft Windows operating systems. For example, when a program is installed, a new subkey containing settings such as a program's location, its version, and how to start the... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

The Windows Registry is a hierarchical database that stores low-level settings for the Microsoft Windows operating system and for applications that opt to use the registry. The kernel, device drivers, services, Security Accounts Manager, and user interfaces can all use the registry. The registry also allows access to counters for profiling system performance. In other words, the registry or Windows Registry contains information, settings, options, and other values for programs and hardware installed on all versions of Microsoft Windows operating systems. For example, when a program is installed, a new subkey containing settings such as a program's location, its version, and how to start the program, are all added to the Windows Registry. When introduced with Windows 3.1, the Windows Registry primarily stored configuration information for COM-based components. Windows 95 and Windows NT extended its use to rationalize and centralize the information in the profusion of INI files, which held the configurations for individual programs, and were stored at various locations. It is not a requirement for Windows applications to use the Windows Registry. For example, .NET Framework applications use XML files for configuration, while portable applications usually keep their configuration files with their executables. == Structure== [ \ \ ] "Value name"= : The Default Value of a key can be edited by using instead of "Value Name": [ \ \ ] @= : String values do not require a > (see example), but backslashes ( ) need to be written as a double-backslash ( ), and quotes ( ) as backslash-quote ( ). (The requirement for escaping is not totally consistent: files containing strings with unescaped leading backslash do exist and are accepted by the system for importing.) For example, to add the values "Value A", "Value B", etc. to the key: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Foobar] "Value A"=" " "Value B"=hex: "Value C"=dword: "Value D"=hex(0): "Value E"=hex(1): "Value F"=hex(2): "Value G"=hex(3): ; equal to "Value B" "Value H"=hex(4): "Value I"=hex(5): "Value J"=hex(7): "Value K"=hex(8): "Value L"=hex(a): "Value M"=hex(b): Data from files can be added/merged with the registry by double-clicking these files or using the /s switch in the command line. files can also be used to remove registry data. To remove a key (and all subkeys, values and data), the key name must be preceded by a minus sign ( ). For example, to remove the key (and all subkeys, values and data), [-HKEY_LOCAL_MACHINE\SOFTWARE\Foobar] To remove a value (and its data), the values to be removed must have a minus sign ( ) after the equal sign ( ). For example, to remove only the "Value A" and "Value B" values (and their data) from the key: [HKEY_LOCAL_MACHINE\SOFTWARE\Foobar] "Value A"=- "Value B"=- To remove only the Default value of the key (and its data): [HKEY_LOCAL_MACHINE\SOFTWARE\Foobar] @=- Lines beginning with a semicolon are considered comments: This is a comment. This can be placed in any part of a .reg file [HKEY_LOCAL_MACHINE\SOFTWARE\Foobar] "Value"="Example string" Reg.exe QUERY HKLM\Software\Microsoft\ResKit /v Version Other command line options include a VBScript or JScript together with CScript, WMI or and Windows PowerShell. Registry permissions can be manipulated through the command line using and the tool. For example, the permissions on the key can be displayed using: SubInACL.exe /keyreg HKEY_LOCAL_MACHINE\SOFTWARE /display

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Windows Registry". 1789236869. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1374561130

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·