Disable Software Update Agent on SCCM 2012 Client

I needed to do this as a part of a process requirement (don’t ask). Really couldn’t find a way of doing this but had an idea. Luckily the nice folks over on the Configuration Manager 2012 SDK forum promptly responded: https://social.technet.microsoft.com/Forums/en-US/a2a97ca5-398f-4845-a059-0066b044f1a3/disable-software-updates-client-component?forum=configmanagersdk

Thanks to Jason Sandys and Peter van der Woude for offering prompt solutions!

To Disable SW Updates Agent Component:

WMIC /namespace:\\root\ccm\policy\machine\requestedconfig path CCM_SoftwareUpdatesClientConfig  CREATE ComponentName="SmsSoftwareUpdate",Enabled="false",PolicySource="local",PolicyVersion="1.0" ,SiteSettingsKey="1" /NOINTERACTIVE

To Enable SW Update Agent component (reverse change):

WMIC /namespace:\\root\ccm\policy\machine\requestedconfig path CCM_SoftwareUpdatesClientConfig WHERE (ComponentName="SmsSoftwareUpdate" AND Enabled="false" AND PolicySource="local" AND PolicyVersion="1.0") delete /NOINTERACTIVE

This site uses Akismet to reduce spam. Learn how your comment data is processed.