How to run Troubleshooter in Windows 11/10 from the command line
You lot can run a congenital-in Troubleshooter in Windows 11/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.
How to run Troubleshooter in Windows 11/10
In this mail, we will run into how to run Hardware, Audio or Audio, Power, Network, Windows Update, Organisation Maintenance, App, and several other Troubleshooters in Windows from the control line using MSDT.exe, via Settings or using FixWin.
Run built-in Windows Troubleshooter from the control line
To run whatsoever Troubleshooter open up an elevated command prompt and run these commands:
To invoke built-in Troubleshooters, utilize 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 congenital-in Power Troubleshooter to troubleshoot problems relating to power or bombardment, run this command:
msdt.exe /id PowerDiagnostic
Once you striking Enter, y'all volition see the Power Troubleshooter pop-up. Similarly, if you lot know the Diagnostic Pack ID of any Troubleshooter, you lot will exist able to invoke information technology using the control line.
Here is a list of some Troubleshooting Pack ID'southward sourced from TechNet, for your ready reference
Troubleshooting Pack ID | Clarification | Application or Feature Dependency |
---|---|---|
AeroDiagnostic | Troubleshoots problems displaying Aero effects like transparency. | Aero Display Theme installed |
NetworkDiagnosticsDA | Troubleshoots problems connecting to a workplace network over the Cyberspace using Direct Access. | Straight Access installed |
DeviceDiagnostic | Troubleshoots problems using hardware and access devices connected to the computer. | |
HomeGroupDiagnostic | Troubleshoots problems viewing computers or shared files in a homegroup. | HomeGroup installed |
NetworkDiagnosticsInbound | Troubleshoots problems with allowing other computers to communicate with the target estimator through Windows Firewall. | |
NetworkDiagnosticsWeb | Troubleshoots problems connecting to the Internet or to a specific Web site. | |
IEDiagnostic | Helps the user preclude add-on bug and optimize temporary files and connections. | Internet Explorer installed |
IESecurityDiagnostic | Helps the user forestall malware, pop-ups, and online attacks. | Internet Explorer installed |
NetworkDiagnosticsNetworkAdapter | Troubleshoots problems with Ethernet, wireless, or other network adapters. | |
PerformanceDiagnostic | Helps the user suit settings to meliorate operating system speed and performance. | |
AudioPlaybackDiagnostic | Troubleshoots problems playing sounds and other audio files. | Audio output device installed |
PowerDiagnostic | Helps the user adjust power settings to better battery life and reduce power consumption. | |
PrinterDiagnostic | Troubleshoots problems press. | |
PCWDiagnostic | Helps the user configure older programs then that they can run in the current version of Windows. | |
AudioRecordingDiagnostic | Troubleshoots issues recording audio from a microphone or other input source. | Audio input device installed |
SearchDiagnostic | Troubleshoots problems with search and indexing using Windows Search. | Search enabled |
NetworkDiagnosticsFileShare | Troubleshoots problems accessing shared files and folders on other computers over the network. | |
MaintenanceDiagnostic | Helps the user clean up unused files and shortcuts and perform other maintenance tasks. | |
WindowsMediaPlayerDVDDiagnostic | Troubleshoots problems playing a DVD using Windows Media Histrion. | Windows Media Player installed |
WindowsMediaPlayerLibraryDiagnostic | Troubleshoots problems with calculation media files to the Windows Media Role player library. | Windows Media Player installed |
WindowsMediaPlayerConfigurationDiagnostic | Helps the user reset Windows Media Player settings to the default configuration. | Windows Media Player installed |
WindowsUpdateDiagnostic | Troubleshoots problems that prevent Windows Update from performing update tasks. |
Directly Commands to open Windows 11/10 Troubleshooters
Here is the list of commands you can use in the Run box or Command Prompt to open up Windows Troubleshooters straight in Windows eleven/10/8/seven.
To open Troubleshooting Windows in Control Panel:
%systemroot%\system32\control.exe /name Microsoft.Troubleshooting
To open up the Aero troubleshooter:
%systemroot%\system32\msdt.exe -id AeroDiagnostic
To open up the Playing Audio troubleshooter:
%systemroot%\system32\msdt.exe -id AudioPlaybackDiagnostic
To open the Recording Audio troubleshooter in Control Panel:
%systemroot%\system32\msdt.exe -id AudioRecordingDiagnostic
To open up the Hardware and Devices troubleshooter in Control Console:
%systemroot%\system32\msdt.exe -id DeviceDiagnostic
To open the Internet Connections troubleshooter
%systemroot%\system32\msdt.exe -id NetworkDiagnosticsWeb
To open the Shared Folders troubleshooter:
%systemroot%\system32\msdt.exe -id NetworkDiagnosticsFileShare
To open the HomeGroup troubleshooter:
%systemroot%\system32\msdt.exe -id HomeGroupDiagnostic
To open up the Network Adapter troubleshooter:
%systemroot%\system32\msdt.exe -id NetworkDiagnosticsNetworkAdapter
To open up the Incoming Connections troubleshooter:
%systemroot%\system32\msdt.exe -id NetworkDiagnosticsInbound
To open the Net Explorer Functioning troubleshooter:
%systemroot%\system32\msdt.exe -id IEBrowseWebDiagnostic
To open up the Internet Explorer Safety troubleshooter:
%systemroot%\system32\msdt.exe -id IESecurityDiagnostic
To open the System Maintenance troubleshooter:
%systemroot%\system32\msdt.exe -id MaintenanceDiagnostic
To open up the Program Compatibility troubleshooter:
%systemroot%\system32\msdt.exe -id PCWDiag
To open up the Performance troubleshooter:
%systemroot%\system32\msdt.exe -id PerformanceDiagnostic
To open up the Power troubleshooter:
%systemroot%\system32\msdt.exe -id PowerDiagnostic
To open the Printer troubleshooter.:
%systemroot%\system32\msdt.exe -id PrinterDiagnostic
To open up the Windows Media Role player Settings troubleshooter:
%systemroot%\system32\msdt.exe -id WindowsMediaPlayerConfigurationDiagnostic
To open the Windows Media Player Library troubleshooter:
%systemroot%\system32\msdt.exe -id WindowsMediaPlayerLibraryDiagnostic
To open up the Windows Media Player DVD troubleshooter:
%systemroot%\system32\msdt.exe -id WindowsMediaPlayerDVDDiagnostic
TIP: You can likewise utilise these commands to create a desktop shortcut.
Run Troubleshooters via Settings
Y'all can also access the Troubleshooters via Windows Settings. Press Win+I to open Settings > Update & security > Troubleshoot. Here you will come across all the Troubleshooters. More on this at – Run Troubleshooters using the Troubleshoot page.
Run Troubleshooters using FixWin
Although nigh of us admission these Troubleshooters via Settings or the Taskbar search, there is an easy style! Use our FixWin to open them with a click!
Previously, one could access Troubleshooters via the Control Panel > Troubleshooting applet or download them from the Microsoft website. However, Microsoft is now providing quite the aforementioned functionality within the Windows Settings app.
Cheers!
Source: https://www.thewindowsclub.com/how-to-run-a-troubleshooter-from-the-command-line-in-windows-10
Posted by: parrottnowed1944.blogspot.com
0 Response to "How to run Troubleshooter in Windows 11/10 from the command line"
Post a Comment