REG FLAGS KeyName [QUERY |
SET [DONT_VIRTUALIZE] [DONT_SILENT_FAIL] [RECURSE_FLAG]]
[/reg:32 | /reg:64]
Keyname "HKLM\Software"[\SubKey] (Restricted to these keys on
local machine only).
SubKey The full name of a registry key under HKLM\Software.
DONT_VIRTUALIZE DONT_SILENT_FAIL RECURSE_FLAG
Used with SET; flags specified on the command line will be set,
while those not specified will be cleared.
/reg:32 Specifies the key should be accessed using the 32-bit registry view.
/reg:64 Specifies the key should be accessed using the 64-bit registry view.
Examples:
REG FLAGS HKLM\Software\MyCo\MyApp QUERY
Displays the current flags of the key MyApp.
REG FLAGS HKLM\Software\MyCo\MyApp SET DONT_VIRTUALIZE /s
Sets the DONT_VIRTUALIZE flag (and clears DONT_SILENT_FAIL and
RECURSE_FLAG) on MyApp and all its subkeys
REG COMPARE KeyName1 KeyName2 /v ValueName | /ve Output /s /reg:32 | /reg:64 KeyName \Machine\]FullKey Machine Name of remote ...
REG COPY KeyName1 KeyName2 /s /f /reg:32 | /reg:64 KeyName \Machine\]FullKey Machine Name of remote machine - omitting defaults ...
REG DELETE KeyName /v ValueName | /ve | /va /f /reg:32 | /reg:64 KeyName \Machine\]FullKey Machine Name of remote machine ...
REG EXPORT KeyName FileName /y /reg:32 | /reg:64 Keyname ROOTKEY[\SubKey (local machine only). ROOTKEY HKLM | HKCU | HKCR ...
REG FLAGS KeyName QUERY | SET DONT_VIRTUALIZE DONT_SILENT_FAIL RECURSE_FLAG /reg:32 | /reg:64 Keyname "HKLM\Software"[\SubKey ...
REG IMPORT FileName /reg:32 | /reg:64 FileName The name of the disk file to import (local machine only). /reg:32 Specifies ...
REG LOAD KeyName FileName /reg:32 | /reg:64 KeyName ROOTKEY\SubKey (local machine only) ROOTKEY HKLM | HKU SubKey The key ...
REG Operation Parameter List Operation QUERY | ADD | DELETE | COPY | SAVE | LOAD | UNLOAD | RESTORE | COMPARE | EXPORT | ...
REG QUERY KeyName /v ValueName | /ve /s /f Data /k /d /c /e /t Type /z /se Separator /reg:32 | /reg:64 KeyName \Machine\]FullKey ...