Advertisements
Advertisements

As of the Windows Anniversary update, there is now a new tool available from the command line: the storage diagnostic tool. It collects storage and system diagnostic logs and sends them to a folder for your viewing.

The idea behind the storage diagnostic tool is to help you identify and solve problems relating to your computer’s storage. This will most often be used to solve corruption of the NTFS file system.

The storage diagnostic tool can also run an ETW trace and check the registry files.

The following tutorial demonstrates how to run the storage diagnostic tool and collect the storage and file system data for your viewing when you’re using a version of the Windows 10 operating system starting from the Anniversary update.

How to Use Storage Diagnostic Tool in Windows 10

1. Open the elevated Command Prompt window.

2. Type one of the following commands into the command line, depending on what it is you want to do, and then press the Enter key on your keyboard to execute it:

StorDiag:

stordiag -out %UserProfile%\Desktop

StorDiag + ETW trace:

stordiag -collectEtw -out %UserProfile%\Desktop

StorDiag + check of NTFS file system:

stordiag -checkFSConsistency -out %UserProfile%\Desktop

StorDiag + ETW trace + check of NTFS file system:

stordiag -collectEtw -checkFSConsistency -out %UserProfile%\Desktop

You can now close the Command Prompt window and continue using your computer if you like.

You will find the output from the storage diagnostic tool available on your desktop. Open the folder to see all the different results inside.

An example of within the storage diagnostic tool output:

That’s all.

Advertisements
Advertisements