Windows News and info 15th Anniversary 2009-2024

Windows 11 | Windows 10 the last version of its iconic operating system. => Windows 11 | 10 | How To & Fixes | Tips & Tricks => Topic started by: javajolt on November 18, 2015, 08:48:44 PM

Title: How to run a Troubleshooter from the command line in Windows 10
Post by: javajolt on November 18, 2015, 08:48:44 PM
You can run a built-in Troubleshooter in Windows 10/8/7 from the command line. Microsoft Support Diagnostic Tool or MSDT.exe can be used to invoke and launch any Windows Troubleshooting Pack or Troubleshooter from the command line.

Run built-in Windows Troubleshooter from the command line
To run any Troubleshooter open an elevated command prompt and run these commands:

To invoke built-in Troubleshooters, use this command:

msdt.exe /id <diagnostic_id>

To run a custom-built troubleshooter stored locally use this command line:

msdt.exe /path <path_to_troubleshooter>

To run a troubleshooter which is in a .diagcab file format, use this:

msdt.exe /cab <path_to_diagcab>

For instance if you want to bring up the built-in Power Troubleshooter to troubleshoots problems playing sounds and other audio files, run this command:

Quote
msdt.exe /id PowerDiagnostic

Once you hit Enter, you will see the Power Troubleshooter pop-up. Similarly if you know the Diagnostic Pack ID of any Troubleshooter, you will be able to invoke it using the command line.

(http://i64.tinypic.com/2w74py1.jpg)

Here is a list of some Troubleshooting Pack ID’s sourced from TechNet (http://technet.microsoft.com/en-us/library/ee424379%28WS.10%29.aspx), for your ready reference

(http://i68.tinypic.com/10mivis.jpg)
(http://i63.tinypic.com/zoamc3.jpg)
(http://i66.tinypic.com/ntkjm.jpg) (http://www.thewindowsclub.com/downloading-fixwin-10)

(http://i66.tinypic.com/eamu82.jpg)

twc