How to Run troubleshooter from Command-line in Windows 11?

In Windows, we use Windows troubleshooter also known as Windows Diagnostic tool to resolve common problems without requiring advanced technical knowledge. Windows Troubleshooter is a built-in feature in the Windows operating system to help users to diagnose and resolve common system issues. You can access Windows Troubleshooter via Windows Settings, or you can search for Troubleshooting or Troubleshoot by clicking on the start menu. In the Troubleshooting window you will find a list of different troubleshooting categories such as Network and Internet, Hardware and sound, System, Security, etc. You can access Troubleshooter using Command prompt or PowerShell, this article will guide you to Run troubleshooter from Command-line in Windows 11.

Run troubleshooter from Command-line in Windows 11:

To run the troubleshooter from Command-line we are going to use “msdt.exe /id” command, this command is use to launch a specific Windows troubleshooting pack using its identifier (ID). Windows Troubleshooting packs are collections of diagnostic and repair tools created by Microsoft to address common system issues.

Command Syntax: msdt.exe /id <Troubleshooting pack ID>
Run troubleshooter from Command-line

Open Command Prompt or PowerShell in elevated mode. Type the above-mentioned command, and make sure you have replaced the Troubleshooting pack ID with the actual ID, you can find the list of troubleshooting pack IDs from the list below.


Here is a list of some commonly used troubleshooting pack IDs in Windows:

  1. Aero: Diagnosing and resolving issues related to Aero visual effects.
  2. AppCompatibility: Checking for compatibility issues with installed applications.
  3. BluetoothDiagnostic: Troubleshooting problems with Bluetooth devices.
  4. CD-DVDDriveDiagnostic: Diagnosing and fixing issues with CD/DVD drives.
  5. Device: Identifying and resolving problems with hardware devices.
  6. EAPCPLDiagnostic: Diagnosing problems with Extensible Authentication Protocol (EAP).
  7. FileSystemDiagnostic: Diagnosing and fixing issues with the file system.
  8. HardwareAndDevices: Detecting hardware-related problems.
  9. HomeGroup: Troubleshooting issues with HomeGroup networking.
  10. IECompatDiagnostic: Diagnosing compatibility problems with Internet Explorer.
  11. IdleMaintenanceDiagnostic: Performing maintenance tasks during system idle time.
  12. InputMethod: Troubleshooting issues with input methods and keyboards.
  13. InternetConnections: Diagnosing and fixing problems with internet connectivity.
  14. InternetExplorerDiagnostic: Resolving issues with Internet Explorer.
  15. IPsecDiagnostic: Diagnosing problems with IPsec (Internet Protocol Security).
  16. MaintenanceDiagnostic: Performing general system maintenance tasks.
  17. NetworkAdapter: Diagnosing problems with network adapters.
  18. NetworkDiagnostic: Troubleshooting various network issues.
  19. OfflineFiles: Diagnosing problems with Offline Files feature.
  20. Power: Troubleshooting power-related issues.

Note: The availability of troubleshooting packs and their IDs may vary depending on your version of Windows and installed updates.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top