sqldiag is a diagnostic tool that you can use to gather diagnostic information about various SQL Server services. It is intended for use by Microsoft support engineers, but you might also find the information it gathers useful in troubleshooting a problem.
sqldiag collects the information into files that are written, by default, to a folder named
SQLDIAG, which is created where the file
sqldiag.exe is located (for example,
C:\Program Files\Microsoft SQL Server\110\Tools\binn\SQLDIAG\). The folder holds files that contain information about the machine on which SQL Server is running in addition to the following types of diagnostic information:
SQL Server configuration information
SQL Server blocking output