Forum Discussion

Frenchy84's avatar
Frenchy84
Copper Contributor
Nov 17, 2025
Solved

How to disable automatic updates in Debug Diagnostics 2.1 using PowerShell

Greetings all. I am writing a PowerShell script to do an unattended install of Debug Diagnostics Tool version 2.2.0.14.  The installer is an x64 .msi. The unattended install works fine, but I am un...
  • Frenchy84's avatar
    Nov 20, 2025

    I figured it out.  It cannot be done through PowerShell or any command line.  It is changed through the config.xml file.  But it takes some work to get there because no config.xml file is even visible in the C:\Program Files\DebugDiag directory.  Here is how you do it:

    1. Install the Debug Diagnostics tool.
    2. Open the Debug Diagnostics Tool Collection GUI.
    3. Goto Tools -> Options and Settings and select the Preferences tab.
    4. Uncheck the Check for updates on startup checkbox.
    5. Open File Explorer.  Goto C:\Program Files\DebugDiag.  In this directory you will now see a config.xml file.  Open this file with an editor.
    6. The configuration of CheckForUpdates should now read "FALSE".
    7. Close and reopen Debug Diagnostics Tool.  The checkbox from Step 4 should now be unchecked and automatic updates disabled.

    In terms of PowerShell or SCCM deployment, once Step 6 is completed, save a copy of this file to another folder.  In the PowerShell code, do a force-copy of this file into C:\Program Files\DebugDiag after installation completes.  When the software is opened, automatic updates will be disabled.

Resources