Published by


Brink's Avatar
Administrator

Posts: 24,235

Show Printable Version 


How to Use Storage Diagnostic Tool in Windows 10

information   Information
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.
Click image for larger version. 

Name:	stordiag_command.png 
Views:	90 
Size:	27.8 KB 
ID:	96316

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.


EXAMPLE: Output from Storage Diagnostic tool (stordiag.exe)
Click image for larger version. 

Name:	stordiag_output.png 
Views:	95 
Size:	111.4 KB 
ID:	96315


Here's How:

1. Open an elevated command prompt.

2. Copy and paste the command below that you would like to use into the command prompt, and press Enter. (see screenshots below)
Note   Note
This will output the results into a StorDiag folder on your desktop.



(StorDiag)
stordiag -out %UserProfile%\Desktop


(StorDiag + ETW trace)
stordiag -collectEtw -out %UserProfile%\Desktop


(StorDiag + check of NTFS file system)
stordiag -checkFSConsistency -out %UserProfile%\Desktop


FULL - (StorDiag + ETW trace + check of NTFS file system)
stordiag -collectEtw -checkFSConsistency -out %UserProfile%\Desktop

Name:  stordiag-1.png
Views: 489
Size:  14.3 KB
Click image for larger version. 

Name:	stordiag-2.png 
Views:	80 
Size:	28.6 KB 
ID:	96318



That's it,
Shawn