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.
Thanks.
1 Reply
- Allen
Community Manager
Welcome to the Microsoft Tech Community Community Lounge, this board is to discuss issues relating to the Microsoft Tech Community.
Your Query appears to be about PowerShell, which can be found here: Category: PowerShell | Microsoft Community Hub, unfortunately we can not assist you with this query so we will move it to the appropriate community.
Please Note: The Microsoft Tech Community is not an official support channel for Microsoft, if you require support then please either contact your account manager, if applicable, or Microsoft Support via https://support.microsoft.com.
Kind regards
Allen Smith
Technical Lead
Microsoft Tech Community Admin TeamIf my answer was helpful please mark it as the solution and like any other replies that you find helpful