C:\WINDOWS>REG UNLOAD /?
Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved
REG UNLOAD KeyName
KeyName ROOTKEY\SubKey (local machine only)
ROOTKEY
[ HKLM | HKU
] SubKey The key name of the hive to unload
Examples:
REG UNLOAD HKLM\TempHive
Unloads the hive TempHive in HKLM
C:\WINDOWS>REG RESTORE /?
Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved
REG RESTORE KeyName FileName
KeyName ROOTKEY\SubKey (local machine only)
ROOTKEY
[ HKLM | HKCU | HKCR | HKU | HKCC
] SubKey The full name of a registry key to restore the hive file into.
Overwriting the existing key's values and subkeys
FileName The name of the hive file to restore
You must use REG SAVE to create this file
Examples:
REG RESTORE HKLM\Software\Microsoft\ResKit NTRKBkUp.hiv
Restores the file NTRKBkUp.hiv overwriting the key ResKit
C:\WINDOWS>REG COMPARE /?
Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved
REG COMPARE KeyName1 KeyName2
[/v ValueName | /ve
] [Output
] [/s
] KeyName
[\\Machine\
]FullKey
Machine Name of remote machine - omitting defaults to the current machine
Only HKLM and HKU are available on remote machines
FullKey ROOTKEY\SubKey
If FullKey2 is not specified, FullKey2 is the same as FullKey1
ROOTKEY
[ HKLM | HKCU | HKCR | HKU | HKCC
] SubKey The full name of a registry key under the selected ROOTKEY
ValueName The value name, under the selected Key, to compare
When omitted, all values under the Key are compared
/ve compare the value of empty value name <no name>
/s Compare all subkeys and values
Output
[/oa | /od | /os | /on
] When omitted, output only differences
/oa Output all of differences and matches
/od Output only differences
/os Output only matches
/on No output
Return Code:
0 - Succussful, the result compared is identical
1 - Failed
2 - Successful, the result compared is different
Examples:
REG COMPARE HKLM\Software\MyCo\MyApp HKLM\Software\MyCo\SaveMyApp
Compares all values under the key MyApp with SaveMyApp
REG COMPARE HKLM\Software\MyCo HKLM\Software\MyCo1 /v Version
Compares the value Version under the key MyCo and MyCo1
REG COMPARE \\ZODIAC\HKLM\Software\MyCo \\. /s
Compares all subkeys and values under HKLM\Software\MyCo on ZODIAC
with the same key on the current machine