text stringlengths 0 4.23k |
|---|
Quick Scan phase |
Performs a Quick Scan of the <source volume> for any recoverable files. This mode runs quicker as it assumes some critical structures of the volume aren't corrupted and so there's no need to scan the entire volume to locate them. This also reduces the recovery of stale files/directories/volumes. Discovered files are logged to the foundfiles.<volume signature>.txt file, located in your <working directory>. If the Scan Phase was previously stopped, running with the -QS flag again resumes the scan from where it left off. |
<source volume> |
foundfiles.<volume signature>.txt |
<working directory> |
refsutil salvage -QS <source volume> <working directory> <options> |
Full Scan phase |
Scans the entire <source volume> for any recoverable files. This mode may take a long time as it will scan the entire volume for any recoverable files. Discovered files will be logged to the foundfiles.<volume signature>.txt file, located in your <working directory>. If the Scan Phase was previously stopped, running with the -FS flag again resumes the scan from where it left off. |
<source volume> |
foundfiles.<volume signature>.txt |
<working directory> |
refsutil salvage -FS <source volume> <working directory> <options> |
Copy phase |
Copies all files described in the foundfiles.<volume signature>.txt file to your <target directory>. If you stop the Scan Phase too early, it's possible that the foundfiles.<volume signature>.txt file might not yet exist, so no file is copied to the <target directory>. |
foundfiles.<volume signature>.txt |
<target directory> |
foundfiles.<volume signature>.txt |
<target directory> |
refsutil salvage -C <source volume> <working directory> <target directory> <options> |
Copy phase with list |
Copies all the files in the <file list> from the <source volume> to your <target directory>. The files in the <file list> must have first been identified by the Scan Phase, though the scan need not have been run to completion. The <file list> can be generated by copying foundfiles.<volume signature>.txt to a new file, removing lines referencing files that shouldn't be restored, and preserving files that should be restored. The PowerShell cmdlet Select-String may be helpful in filtering foundfiles.<volume signature>.txt to only include desired paths, extensions, or file names. |
<file list> |
<source volume> |
<target directory> |
<file list> |
<file list> |
foundfiles.<volume signature>.txt |
foundfiles.<volume signature>.txt |
refsutil salvage -SL <source volume> <working directory> <target directory> <file list> <options> |
Copy phase with interactive console |
Advanced users can salvage files using an interactive console. This mode also requires files generated from either of the Scan Phases. |
refsutil salvage -IC <source volume> <working directory> <options> |
reg add |
Adds a new subkey or entry to the registry. |
Syntax |
reg add <keyname> [{/v valuename | /ve}] [/t datatype] [/s separator] [/d data] [/f] |
Parameters |
Parameter |
Description |
<keyname> |
Specifies the full path of the subkey or entry to be added. To specify a remote computer, include the computer name (in the format \\<computername>\) as part of the keyname. Omitting \\<computername>\ causes the operation to default to the local computer. The keyname must include a valid root key. Valid root keys for the local computer are: HKLM, HKCU, HKCR, HKU, and HKCC. If a remote computer is specified, valid root keys are: HKLM and HKU. If the registry key name contains a space, enclose the key name in quotes. |
/v <Valuename> |
Specifies the name of the add registry entry. |
/ve |
Specifies that the added registry entry has a null value. |
/t <Type> |
Specifies the type for the registry entry. Type must be one of the following:REG_SZREG_MULTI_SZREG_DWORD_BIG_ENDIANREG_DWORDREG_BINARYREG_DWORD_LITTLE_ENDIANREG_LINKREG_FULL_RESOURCE_DESCRIPTORREG_EXPAND_SZ |
/s <Separator> |
Specifies the character to be used to separate multiple instances of data when the REG_MULTI_SZ data type is specified and more than one entry is listed. If not specified, the default separator is \0. |
/d <Data> |
Specifies the data for the new registry entry. |
/f |
Adds the registry entry without prompting for confirmation. |
/? |
Displays help at the command prompt. |
<keyname> |
\\<computername>\ |
\\<computername>\ |
<Valuename> |
<Type> |
<Separator> |
<Data> |
Remarks |
Subtrees can't be added with this operation. This version of reg doesn't ask for confirmation when adding a subkey. |
The return values for the reg add operation are: |
Value |
Description |
0 |
Success |
1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.