RegRest Topics | Previous | Next
Manually Restoring a Hive
regrest newFilename saveFilename hivetype hivename
Where:
- newFilename
- Specifies the backup source file name. RegRest will rename this file and use it to replace the old hivename file.
- saveFilename
- Specifies the file name for saving the old hivename that is being replaced. The old hive file will be renamed and moved to this location.
- hivetype
- Either machine or users. Will fail if the hivetype isn't machine or users.
- hivename
- The name of an immediate subtree of HKEY_LOCAL_MACHINE or HKEY_LOCAL_USERS. Will fail if hivename isn't a hive root.
For example:
regrest c:\special.sav\system c:\oldsys.sav machine system