refsutil.exe

  • File Path: C:\Windows\system32\refsutil.exe
  • Description: refsutil.exe

Hashes

Type Hash
MD5 16618CD3AE14EE8715E4C9CAFEE5E711
SHA1 3C8AFBE88E40BEE226F81462B02B87150255BA4D
SHA256 DD917BF2A33B6B68C49F3FA8EBD18FA3EC90320633C87988C97C468C57F5E793
SHA384 EB7ABDB8F16C596DB3EE276D5E9F226726CBFA281B1DE90B343BB6013B8F4118EFCE40D911FB17794B620FB8184C5B9B
SHA512 7F5A0FF3B85EBC361EDC5C38C5A7B06BCE64E3F39F70A1C457D9DF5881F496F58A196E5CFD38663F7EB50FB142F8DB0AAB9DCF389B6E95BA2D3F74BE93E838B1
SSDEEP 24576:Cg4UOcxn8jYUOwuDfHT1joSsiN8nqdvcp0BYbbnEGKx:RPOYn8jYUOHjHJcSsixpG0ibbEGKx
IMP 741B8A56CE763DB1E1006B767138126E
PESHA1 C830F7EF8ED683E13C3C4B90260335328EB80BCF
PE256 48D452CE65DD8199E66B3AD1E36B423D974E9DFF023DB1DC1BADD65286EEA69E

Runtime Data

Usage (stdout):

---- Commands Supported ----
fixboot   Repair boot sectors
leak      Leak Detection and Fixing
salvage   Salvage operations for corrupt volume
triage    Handle corruptions

Loaded Modules:

Path
C:\Windows\System32\KERNEL32.DLL
C:\Windows\System32\KERNELBASE.dll
C:\Windows\SYSTEM32\ntdll.dll
C:\Windows\system32\refsutil.exe

Signature

  • Status: Signature verified.
  • Serial: 3300000266BD1580EFA75CD6D3000000000266
  • Thumbprint: A4341B9FD50FB9964283220A36A1EF6F6FAA7840
  • Issuer: CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  • Subject: CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

File Metadata

  • Original Filename: refsutil.exe.mui
  • Product Name: Microsoft Windows Operating System
  • Company Name: Microsoft Corporation
  • File Version: 10.0.17763.1 (WinBuild.160101.0800)
  • Product Version: 10.0.17763.1
  • Language: English (United States)
  • Legal Copyright: Microsoft Corporation. All rights reserved.
  • Machine Type: 64-bit

File Scan

  • VirusTotal Detections: 0/68
  • VirusTotal Link: https://www.virustotal.com/gui/file/dd917bf2a33b6b68c49f3fa8ebd18fa3ec90320633c87988c97c468c57f5e793/detection/

Additional Info*

*The information below is copied from MicrosoftDocs, which is maintained by Microsoft. Available under CC BY 4.0 license.


ReFSUtil

Applies to: Windows Server 2022, Windows Server 2019, Windows 10

ReFSUtil is a tool included in Windows and Windows Server that attempts to diagnose heavily damaged ReFS volumes, identify remaining files, and copy those files to another volume. This comes in Windows 10 in the %SystemRoot%\Windows\System32 folder or in Windows Server in the %SystemRoot%\System32 folder.

ReFS salvage is the primary function of ReFSUtil, and is useful for recovering data from volumes that show as RAW in Disk Management. ReFS Salvage has two phases: Scan Phase and a Copy Phase. In automatic mode, the Scan Phase and Copy Phase will run sequentially. In manual mode, each phase can be run separately. Progress and logs are saved in a working directory to allow phases to be run separately as well as Scan Phase to be paused and resumed. You shouldn’t need to use the ReFSutil tool unless the volume is RAW. If read-only, then data is still accessible.

Parameters

Parameter Description
<source volume> Specifies the ReFS volume to process. The drive letter must be formatted as “L:”, or you must provide a path to the volume mount point.
<working directory> Specifies the location to store temporary information and logs. It must not be located on the <source volume>.
<target directory> Specifies the location where identified files are copied to. It must not be located on the <source volume>.
-m Recovers all possible files including deleted ones.<p>WARNING: Not only does this parameter cause the process to take longer to run, but it can also lead to unexpected results.
-v Specifies to use verbose mode.
-x Forces the volume to dismount first, if necessary. All opened handles to the volume are then invalid. For example, refsutil salvage -QA R: N:\WORKING N:\DATA -x.

Usage and available options

Quick automatic mode command line usage

Performs a Quick Scan Phase followed by a Copy Phase. 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.

refsutil salvage -QA <source volume> <working directory> <target directory> <options>

Full automatic mode command line usage

Performs a Full Scan Phase followed by a Copy Phase. This mode may take a long time as it will scan the entire volume for any recoverable files/directories/volumes.

refsutil salvage -FA <source volume> <working directory> <target directory> <options>

Diagnose phase command line usage (manual mode)

First, try to determine if the <source volume> is an ReFS volume and determine if the volume is mountable. If a volume isn’t mountable, the reason(s) will be provided. This is a standalone phase.

refsutil salvage -D <source volume> <working directory> <options>

Quick Scan phase command line usage

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 are not 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.

refsutil salvage -QS <source volume> <working directory> <options>

Full Scan phase command line usage

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.

refsutil salvage -FS <source volume> <working directory> <options>

Copy phase command line usage

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 the foundfiles.<volume signature>.txt file might not yet exist, so no file is copied to the <target directory>.

refsutil salvage -C <source volume> <working directory> <target directory> <options>

Copy phase with list command line usage

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.

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>

Additional References


MIT License. Copyright (c) 2020-2021 Strontic.