Windows 10 Anniversary Update includes a Storage Diagnostic tool (stordiag.exe) that collects storage and file system diagnostic logs and outputs them to a folder. The application runs several tools in the background for that, including CheckDisk, fsutil and fltmc.
The tool can be helpful to use to analyze and identify storage related issues. It can be used to check the consistency of the NTFS file system and run a 30 second long Event Tracing for Windows (ETW) trace.
This tutorial will show you how to use the Storage Diagnostic tool (stordiag.exe) to collect storage and file system diagnostic logs in Windows 10.