Constant | Description |
---|---|
REG_BINARY | Binary data. Stored as binary and displayed in RegEdit in hexadecimal format. Pass a hex value to REG /ADD |
REG_DWORD | 32-bit number. Pass a decimal number to REG /ADD |
REG_QWORD | 64-bit number. Pass a decimal number to REG /ADD |
REG_DWORD_LITTLE_ENDIAN | 32-bit number in little-endian format. This is equivalent to REG_DWORD. In little-endian format, a multibyte value is stored in memory from the lowest byte (the "little end") to the highest byte. For example, the value 0x12345678 is stored as (0x78 0x56 0x34 0x12) in little-endian format. |
REG_QWORD_LITTLE_ENDIAN | A 64-bit number in little-endian format. This is equivalent to REG_QWORD. |
REG_DWORD_BIG_ENDIAN | 32-bit number in big-endian format. In big-endian format, a multibyte value is stored in memory from the highest byte (the "big end") to the lowest byte. For example, the value 0x12345678 is stored as (0x12 0x34 0x56 0x78) in big-endian format. |
REG_EXPAND_SZ | Null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions. |
REG_LINK | Unicode symbolic link. |
REG_MULTI_SZ | Array of null-terminated strings that are terminated by two null characters. |
REG_NONE | No defined value type. Will be displayed in RegEdit as a Binary value in Hex format. |
REG_FULL_RESOURCE_DESCRIPTOR | A series of nested arrays that is designed to store a resource list that is used by a physical hardware device. This data is detected and written in the \HardwareDescription tree by the system and is displayed in Registry Editor in hexadecimal format as a Binary Value. |
REG_RESOURCE_LIST | Device-driver resource list. |
REG_RESOURCE_REQUIREMENTS | Binary data. Stored as binary and displayed in RegEdit in hexadecimal format. Pass a hex value to REG /ADD |
REG_RESOURCE_REQUIREMENTS_LIST | Binary data. Stored as binary and displayed in RegEdit in hexadecimal format. Pass a hex value to REG /ADD |
REG_SZ | Null-terminated string. The default Data Type. This will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions. |
“Have a place for everything and keep the thing somewhere else; this is not advice, it is merely custom” ~ Mark Twain
SETX - Set environment variables permanently, can also read a registry key and write the value to a text file.
REG - Read, Set, Export & Delete registry keys and values.
REGEDIT - Load Registry settings from a .REG file.
PowerShell: Set-ItemProperty