{"id":3794,"date":"2016-08-12T15:08:08","date_gmt":"2016-08-12T09:38:08","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=3794"},"modified":"2019-05-21T01:49:04","modified_gmt":"2019-05-21T01:49:04","slug":"stordiag-file-system-diagnostic-windows-10","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/stordiag-file-system-diagnostic-windows-10\/","title":{"rendered":"File System and Storage Diagnostic Tool StorDiag.exe in Windows 10"},"content":{"rendered":"<p>The Windows 10 Redstone 1 update silently adds a new console tool (StorDiag.exe) which can be used to collect storage and file system diagnostic logs. This is a useful tool for identifying problems with your hard drive or the file system, and the collected data can be helpful for troubleshooting purposes.<!--more--><\/p>\n<h2>Running StorDiag.exe<\/h2>\n<p>Open <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">Command Prompt (Admin)<\/a> and type:<\/p>\n<pre>StorDiag.exe \/?<\/pre>\n<p>This shows the following information:<\/p>\n<div class=\"qt\">\n<p>Collects storage and filesystem diagnostic logs and outputs them to a folder.<\/p>\n<pre>StorDiag [-collectEtw] [-out &lt;PATH&gt;]<\/pre>\n<table>\n<tbody>\n<tr>\n<td><b>Argument<\/b><\/td>\n<td><b>Description<\/b><\/td>\n<\/tr>\n<tr>\n<td>-collectEtw<\/td>\n<td>Collect a 30-second long ETW trace if run from an elevated session<\/td>\n<\/tr>\n<tr>\n<td>-checkFSConsistency<\/td>\n<td>Checks for the consistency of the NTFS file system<\/td>\n<\/tr>\n<tr>\n<td>-collectPerf<\/td>\n<td>Collect disk performance counters<\/td>\n<\/tr>\n<tr>\n<td>-diagnostic<\/td>\n<td>outputs a storage diagnostic report<\/td>\n<\/tr>\n<tr>\n<td>-bootdiag<\/td>\n<td>output boot sectors of the disk<\/td>\n<\/tr>\n<tr>\n<td>-driverdiag<\/td>\n<td>output available storport and storahci logs<\/td>\n<\/tr>\n<tr>\n<td>-out &lt;PATH&gt;<\/td>\n<td>Specify the output path. If not specified, logs are saved to %TEMP%\\StorDiag<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>To check for file system consistency, run the following command:<\/p>\n<pre>stordiag.exe -checkFSConsistency -out %userprofile%\\desktop<\/pre>\n<p>This tool gets the list of volumes and runs Chkdsk on each of the volumes (without repairing), exports the registry keys for each storage device as well as file system related settings, exports several event logs (relating to disk drives and file system) to separate .evtx files. It also gets storage reliability counters for each volume and stores the output to a text file named PSLogs.txt. Here is the list of log files this tool generates:<\/p>\n<pre><code>ChkDsk C.txt\r\nChkDsk D.txt\r\nPSLogs.txt\r\nVolume C Corruption.txt\r\nVolume D Corruption.txt\r\nCDROM.reg\r\nDiskDrive.reg\r\nFileSystem.reg\r\nHDC.reg\r\nSCSIAdapter.reg\r\nVolMgr.reg\r\nVolSnap.reg\r\nVolume.reg\r\nMicrosoft-Windows-DataIntegrityScan-Admin.evtx\r\nMicrosoft-Windows-DataIntegrityScan-CrashRecovery.evtx\r\nMicrosoft-Windows-DiskDiagnostic.evtx\r\nMicrosoft-Windows-Ntfs.evtx\r\nMicrosoft-Windows-Partition.evtx\r\nMicrosoft-Windows-Storage-ATAPort.evtx\r\nMicrosoft-Windows-Storage-ClassPnp.evtx\r\nMicrosoft-Windows-StorageManagement-Operational.evtx\r\nMicrosoft-Windows-StorageSpaces-Driver-Diagnostic.evtx\r\nMicrosoft-Windows-StorageSpaces-Driver-Operational.evtx\r\nMicrosoft-Windows-StorageSpaces-SpaceManager-Operational.evtx\r\nMicrosoft-Windows-Storage-Storport.evtx\r\nMicrosoft-Windows-Volume.evtx\r\nMicrosoft-Windows-VolumeSnapshot-Driver.evtx\r\nSystem.evtx\r\n<\/code><\/pre>\n<p>As said earlier this is only a data collection tool which launches other console tools like chkdsk, fsutil, etc., in the background, and doesn&#8217;t fix anything. It&#8217;s a nice addition to Windows 10 anyway.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Windows 10 Redstone 1 update silently adds a new console tool (StorDiag.exe) which can be used to collect storage and file system diagnostic logs. This is a useful tool for identifying problems with your hard drive or the file system, and the collected data can be helpful for troubleshooting purposes.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[8],"tags":[],"class_list":["post-3794","post","type-post","status-publish","format-standard","hentry","category-windows-10"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":31098,"url":"https:\/\/www.winhelponline.com\/blog\/collect-diagnostic-logs-windows\/","url_meta":{"origin":3794,"position":0},"title":"How to Collect Diagnostic Logs in Windows","author":"Ramesh","date":"December 21, 2022","format":false,"excerpt":"There are many different types of diagnostic logs in Windows. Each log is to diagnose a specific component. The Windows Update client creates the Windows Update ETL or Windows Update log files, the Component-Based Servicing uses \"cbs.log\", and the DISM tool writes to \"dism.log\", etc. Besides the native logs, you\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"Farbar Recovery Scan Tool - FRST - FRST64.exe","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/12\/farbar.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/12\/farbar.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/12\/farbar.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":50678,"url":"https:\/\/www.winhelponline.com\/blog\/export-event-logs-event-viewer\/","url_meta":{"origin":3794,"position":1},"title":"How to Export Windows Event Logs from Event Viewer","author":"Ramesh","date":"June 1, 2023","format":false,"excerpt":"The Windows Event logs provide very valuable information for diagnosing problems on the computer. Event logs store records of significant events on behalf of the system and applications running on the system. This article tells you how to export the event logs to a file using the Event Viewer or\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"export event logs evtx - locale metadata","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/export-event-log-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/export-event-log-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/export-event-log-3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/export-event-log-3.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":80484,"url":"https:\/\/www.winhelponline.com\/blog\/why-msdt-exe-ask-for-passkey\/","url_meta":{"origin":3794,"position":2},"title":"Microsoft Support Diagnostic Tool (msdt.exe) asks for a Passkey","author":"Ramesh","date":"March 15, 2026","format":false,"excerpt":"MSDT stands for Microsoft Support Diagnostic Tool. This tool was previously used by Microsoft technical support to analyze diagnostic data for troubleshooting remotely. MSDT.exe can also run built-in troubleshooters, such as the Audio troubleshooter and the Windows Update troubleshooter. Why does msdt.exe ask for a Passkey? When you run msdt.exe\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"msdt.exe asks for passkey","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/msdt-passkey.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/msdt-passkey.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/msdt-passkey.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":76091,"url":"https:\/\/www.winhelponline.com\/blog\/boot-trace-process-monitor\/","url_meta":{"origin":3794,"position":3},"title":"How to Run a Boot Trace Using Process Monitor","author":"Ramesh","date":"July 25, 2024","format":false,"excerpt":"Process Monitor is an excellent diagnostic tool from Microsoft Sysinternals. It can run a trace during the current Windows session or trace the boot process. Let's see how to enable boot tracing using Process Monitor. Enable Boot Logging using Process Monitor Download Process Monitor and run it. Read and accept\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"Process monitor boot logging","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/procmon-boot-log-9.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/procmon-boot-log-9.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/procmon-boot-log-9.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/procmon-boot-log-9.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1479,"url":"https:\/\/www.winhelponline.com\/blog\/storage-app-find-files-taking-disk-space-w10\/","url_meta":{"origin":3794,"position":4},"title":"Using Storage Settings to Find Files Consuming More Disk Space in Windows 10","author":"Ramesh","date":"January 23, 2016","format":false,"excerpt":"Is your hard drive showing up full, and wondering how to find the biggest consumers of disk space? It\u2019s probably the Disk Cleanup tool that comes to mind at this situation. While Disk Cleanup is an excellent utility, it lists items only from fixed locations, although fully serving the purpose\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-storage-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-storage-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-storage-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":10740,"url":"https:\/\/www.winhelponline.com\/blog\/free-up-hard-disk-space-windows\/","url_meta":{"origin":3794,"position":5},"title":"How to Free Up Gigabytes of Disk Space in Windows","author":"Ramesh","date":"August 18, 2019","format":false,"excerpt":"Windows 10 updates, especially the feature updates, consume enormous disk space as Windows stores the older copies in case you want to roll back to the previous version. Hard disk drives have become cheaper and affordable nowadays. A 1 TB SATA HDD costs less than $50. But, if you're using\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"chrome cache localstorage service worker cache","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/3794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=3794"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/3794\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=3794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=3794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=3794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}