Can you make a shortcut to the compatibility troubleshooter? (Windows 10)

When you click the "Run compatibility troubleshooter" button, pcwrun.exe starts, generates an XML file, launches msdt.exe with the path to that file, and swiftly exits. To launch the Program Compatibility Troubleshooter for a specific program, pass the full path of the program's executable to pcwrun.exe. Assuming you're on a 64-bit machine, pasting this into the Create Shortcut window's path box will do the job:

pcwrun "C:\Program Files (x86)\Steam\Steam.exe"

If your computer is 32-bit, remove the (x86) from the path to Steam.


If there is a way to make a shortcut that will launch the troubleshooter?

Yes:

  1. right-click on an empty area on your desktop.

  2. Select New > Shortcut. In the first box of the Create Shortcut Wizard, copy-paste the following in the box:

    %systemroot%\system32\msdt.exe -id PCWDiagnostic
    

    enter image description here

  3. Click Next.

  4. Name the shortcut : Compatibility Shortcut and click Finish.

Then select an appropriate icon for it.

Source Create Program Compatibility Troubleshooter shortcut

Tags:

Windows 10