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 unable to find the correct switch/command to disable automatic updates for the tool.  Here is the latest code I tried:

Execute-MSI -Action 'Install' -Path "<filepath>\DebugDiagx64.msi" -Parameters "/qn /norestart ALLUSERS=2 DISABLE_AUTOUPDATES=1"

Other switches I have tried for disabling updates includes DISABLE_UPDATES=1, UPDATES=0 and UPDATES=FALSE.  None of these work.

Updates can be disabled manually through the Options & Settings GUI.  Screenshots for this are attached.

I really need a way to disable the automatic updates through PowerShell during an unattended installation through SCCM

.

Thanks.

  • 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.

1 Reply

  • Frenchy84's avatar
    Frenchy84
    Copper Contributor

    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