dfdts.dll Error in Windows 10 and 11: Windows disk failure diagnostics

Windows records a disk diagnostic warning that names this DLL or the hardware repeatedly disappears during normal use. If the message or log names dfdts.dll, capture the full path, Windows build and time of the failure.
Microsoft binary metadata identifies this file as Windows Disk Failure Diagnostic Module. Use the filename as a diagnostic clue and check the action that failed before repairing Windows.
Isolate the failure
Back up readable important files first. Use Windows disk settings and the manufacturer’s read-only health diagnostics to check the exact disk identified by model and serial.
Repair the affected component
If the health tool reports a hardware fault, stop unnecessary writes and follow the vendor’s replacement path. If the hardware passes and other Windows features show file corruption, use Microsoft’s system file repair rather than replacing a DLL.
For a protected Windows file, use Microsoft’s System File Checker instructions when there is evidence of Windows component damage. Keep DLLs supplied by Windows or the full vendor package.
Verify the repair
The vendor diagnostic passes or the defective drive is replaced. Confirm Windows identifies the intended disk and check that the warning does not recur.
See Microsoft’s guidance for this feature, the exact Windows file record, and the related PC Repair Atlas guide.