Windows Registry

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(You can put both extensions in one infobox; it works better that way.)
(Added Kaitai Struct link)
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
 
|formattype=electronic
 
|formattype=electronic
|subcat=System files
+
|subcat=Configuration files
 +
|subcat2=Windows configuration files
 
|extensions={{ext|dat}}, {{ext|reg}}
 
|extensions={{ext|dat}}, {{ext|reg}}
 +
|kaitai struct=regf
 
}}
 
}}
The [[Windows Registry]] is used in various versions of Microsoft Windows to hold a number of configuration settings that affect how Windows and programs running under Windows run. Registry contents are stored in several separate files called hives, whose location and format differ by version of Windows.
+
The [[Windows Registry]] is used in various versions of Microsoft [[Windows]] to hold a number of configuration settings that affect how Windows and programs running under Windows run. Registry contents are stored in several separate files called hives, whose location and format differ by version of Windows.
  
 
== Windows 3.11 ==
 
== Windows 3.11 ==
Line 24: Line 26:
 
== .REG files ==
 
== .REG files ==
  
Registry entries can be exported in a text-based format as .REG files. In Windows 2000 and later, the file begins with "Windows Registry Editor Version 5.00", while earlier versions began with "REGEDIT4".
+
Registry entries can be exported in a text-based, [[INI]]-like format as .REG files. In Windows 2000 and later, the file begins with "Windows Registry Editor Version 5.00", while earlier versions began with "REGEDIT4".
  
 
== Links ==
 
== Links ==
Line 32: Line 34:
 
* [http://msdn.microsoft.com/en-us/library/ms724871.aspx MSDN registry reference]
 
* [http://msdn.microsoft.com/en-us/library/ms724871.aspx MSDN registry reference]
 
* [https://tzworks.net/prototype_page.php?proto_id=3 Yet Another Registry Utility (yaru)]
 
* [https://tzworks.net/prototype_page.php?proto_id=3 Yet Another Registry Utility (yaru)]
 +
* [https://github.com/msuhanov/regf/blob/master/Windows%20registry%20file%20format%20specification.md regf/Windows registry file format specification.md]
 +
  
 
[[Category:Microsoft]]
 
[[Category:Microsoft]]
 +
[[Category:Windows]]
 +
[[Category:System files]]
 +
[[Category:File formats with a distinctive filename]]

Revision as of 14:00, 25 August 2017

File Format
Name Windows Registry
Ontology
Extension(s) .dat, .reg
Kaitai Struct Spec regf.ksy

The Windows Registry is used in various versions of Microsoft Windows to hold a number of configuration settings that affect how Windows and programs running under Windows run. Registry contents are stored in several separate files called hives, whose location and format differ by version of Windows.

Contents

Windows 3.11

The registry file is called REG.DAT and is in the %WINDIR% directory (the directory configured as the one holding system files).

Windows 9x, ME

The registry is stored as USER.DAT and SYSTEM.DAT in the %WINDIR% directory, and also CLASSES.DAT in Windows ME. There may also be separate USER.DAT files in user profile directories.

Windows NT and up

The registry is stored in binary files in %SystemRoot%\System32\Config\.

.REG files

Registry entries can be exported in a text-based, INI-like format as .REG files. In Windows 2000 and later, the file begins with "Windows Registry Editor Version 5.00", while earlier versions began with "REGEDIT4".

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox