Reviewed . Windows file-pair guide.
1. Confirm the pair and record the difference
- Check the full source and backup paths, relative folder, filename and extension. Confirm they are the intended two files, rather than two views of the same file. A matching filename or byte count alone is insufficient.
- Compare Date modified in both views. A generic Date column, photo capture date, Date created and Date accessed can refer to other things. Use a view that shows seconds when the difference is unclear.
- Record Windows version, comparison application/version, each drive's filesystem (drive Properties in Explorer), current time zone and whether daylight saving applies. For a network share, record the server/NAS and its filesystem as unknown if unavailable.
- Define the signed difference as backup displayed Modified minus source displayed Modified, including the date and time basis. On the same date and display basis, source 10:00:00 and backup 11:00:00 means +3,600 seconds; backup 09:00:00 means −3,600 seconds. Do not subtract unaligned time zones.
A +3,598 or +3,602 second observation is not an exact hour. Record the residual seconds and the field/application used; do not round them away to make a DST explanation fit.
2. Compare one stable local pair
Close editors and stop writers to these files first. Use ordinary files already fully available locally. Cloud-only placeholders, live databases, files still being downloaded, unreadable paths and files that keep changing remain unresolved. Reading a cloud file can trigger a download; do not use this example to test placeholders.
In PowerShell, Get-FileHash -LiteralPath reads the named file's content; -Algorithm SHA256 makes the algorithm explicit. Quotes preserve spaces; LiteralPath keeps brackets such as [final] literal rather than a wildcard pattern. Inside a single-quoted PowerShell path, double an apostrophe, for example 'C:\My files\Sam''s report.txt'. See Microsoft's Get-FileHash reference.
Read-only PowerShell example for one pair
Read the code, replace the two example paths in the last line, then paste the whole block into PowerShell. It requests no copying, deletion or timestamp repair. Reading may still update access metadata. It rejects directories, offline files and reparse points (including many placeholders and links).
function Compare-BackupFilePair {
param([string]$SourceFile, [string]$BackupFile)
try {
$paths = @($SourceFile, $BackupFile)
$before = @(foreach ($path in $paths) {
$file = Get-Item -LiteralPath $path -Force -ErrorAction Stop
if ($file.PSIsContainer -or
($file.Attributes -band [IO.FileAttributes]::Offline) -or
($file.Attributes -band [IO.FileAttributes]::ReparsePoint)) {
throw 'Use ordinary, fully local files only.'
}
[pscustomobject]@{
Path = $file.FullName
Length = $file.Length
Modified = $file.LastWriteTimeUtc
}
})
if ($before[0].Path -eq $before[1].Path) {
throw 'Choose two distinct files.'
}
$hashes = @(foreach ($path in $paths) {
Get-FileHash -LiteralPath $path -Algorithm SHA256 -ErrorAction Stop
})
for ($i = 0; $i -lt 2; $i++) {
$after = Get-Item -LiteralPath $paths[$i] -Force -ErrorAction Stop
if ($after.Length -ne $before[$i].Length -or
$after.LastWriteTimeUtc -ne $before[$i].Modified) {
throw 'File changed during the check.'
}
}
if ($hashes.Count -ne 2 -or !$hashes[0].Hash -or !$hashes[1].Hash) {
throw 'Two successful hashes are required.'
}
if ($hashes[0].Hash -eq $hashes[1].Hash) {
'Hashes match for checked pair'
} else { 'Content differs' }
} catch { 'Unresolved: ' + $_.Exception.Message }
}
Compare-BackupFilePair -SourceFile 'C:\My files\report [final].txt' -BackupFile 'E:\Backup files\report [final].txt'The before/after byte counts and modification times catch some changes during the check. They do not lock files or create a snapshot: a writer can evade these checks, including by restoring metadata. If stability is uncertain, discard the result and use a quiescent copy or a supported snapshot workflow.
- Hashes match for checked pair
- Matching SHA-256 hashes provide strong evidence that the bytes read from those two main file streams match. Record the pair and check time. The timestamp discrepancy remains a separate observation; this does not establish its cause.
- Content differs
- For stable files, different hashes mean the read contents differ, even with equal sizes. Preserve both copies and investigate the intended version before syncing. A newer displayed time does not settle that choice.
- Unresolved, error or possible changes during reading
- No equality conclusion. Verify the path and local availability, close writers, and retry only when stable. If errors continue, keep the pair unresolved and seek support with the recorded environment; do not hide the difference with a time setting.
A sample does not certify a whole backup. This check does not compare alternate data streams, permissions, ownership or other metadata. It does not test restoring files, application consistency, future readability or recoverability. Even a complete content comparison needs a separate restore test for a backup plan.
Two original examples: size and time are different questions
These are synthetic four-byte ASCII files, with no newline. The displayed times are illustrative, on the same date and display basis.
| Pair | Source / backup bytes | Modified times | Result |
|---|---|---|---|
| A | ABCD / ABCD4 bytes each | 10:00:00 / 11:00:00 +3,600 seconds | SHA-256 matches. Content checked; time cause unresolved. |
| B | ABCD / ABCE4 bytes each | 10:00:00 / 11:00:00 +3,600 seconds | SHA-256 differs. Ignoring the hour would not resolve changed content. |
3. Investigate time interpretation without assuming a cause
Microsoft documents NTFS time storage in UTC and FAT time storage in local time. Its File Times guidance also describes DST/API conversion differences and FAT last-write resolution of two seconds. These mechanisms can help explain an hour plus a small seconds discrepancy, but do not diagnose your pair. Microsoft: File Times.
exFAT is a separate branch
The exFAT specification includes per-timestamp UTC-offset fields, measured in 15-minute intervals, and an OffsetValid flag. An invalid offset uses the current local offset when interpreted under the specification. Do not assume every exFAT implementation behaves exactly like FAT32. Record the operating systems and tools that wrote and read the file; leave unexplained behavior unresolved. Microsoft exFAT specification, section 7.4.10.
For NAS/server files, mixed operating systems, or applications showing inconsistent times, retain the exact observations and ask the relevant vendor how its version interprets the timestamp. A local file hash does not diagnose the server, historical time zone or original timestamp. No physical filesystem or sync-application reproduction is claimed here.
4. Understand comparison settings before applying them
Ignoring an exact hour and accepting any difference within an hour are different rules. A broad tolerance can conceal genuine recent edits. Neither rule checks content by itself. Investigate inconsistent offsets and changed-content pairs before considering time-based exceptions.
| Option | Documented role | Limit |
|---|---|---|
/dst | Compensates for one-hour DST time differences. | Does not prove that DST caused the offset or that content matches. |
/fft | Assumes FAT file times with two-second precision. | A precision assumption, not an hour correction or content comparison. |
/l | Lists files without copying, deleting or timestamping them. | A preview of decisions under the chosen options, not a hash verification. |
Check the full Microsoft Robocopy documentation and your existing job's direction and options. This guide supplies no mirror or repair command.
Vendor guidance checked 28 October 2026: FreeFileSync documents ignoring configured hour shifts. Beyond Compare's comparison settings distinguish quick timestamp tests from content comparison and provide time-zone handling. Use the manual for your installed version, and inspect comparison results before any synchronization. These are established features, not a guarantee for a particular drive.
Optional: printable blank file-pair record
File-pair comparison record
Open this record and inspect print preview before printing. You can also copy these headings to paper. Keep paths and hashes locally; do not include private filenames in public support posts.
- Check date/time and time zone; Windows version
- ________________________________________________________________
- Comparison application/version and Modified field used
- ________________________________________________________________
- Source device/filesystem; backup device/filesystem (unknown allowed)
- ________________________________________________________________
- Source full path; backup full path; intended distinct pair confirmed
- ________________________________________________________________
- Source Modified; backup Modified; display basis; signed difference
- ________________________________________________________________
- Local availability and writers closed; stability concerns
- ________________________________________________________________
- SHA-256 results; before/after size and Modified checks
- ________________________________________________________________
- Outcome: hashes match / content differs / unresolved / unchecked
- ________________________________________________________________
- Next step; settings considered; remaining unchecked files
- ________________________________________________________________
- Separate restore test: not performed / details and date
- ________________________________________________________________
This record covers only the named pair. Matching hashes do not certify a backup or determine which version to keep.
Scope: sourced explanation and limited comparison workflow. Examples were checked by automated AI-run tests on disposable local fixtures, not by a hardware compatibility trial or human usability study.