Forum Discussion
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.