This scenario is for companies that are using SCCM for Software Updates.
Create Group Policy Preferences to detect if SCCM Client is installed by detecting if a Local WSUS Server has been specified via the SCCM Client. If specified, the Policy will ignore since the SCCM Client is installed. If not specified, the Policy will add a WSUS/SUP that will install the client.
Create new Registry Item for WUServer
- Action: Create
- Hive: HKEY_LOCAL_MACHINE
- Key Path: Software\Policies\Microsoft\Windows\WindowsUpdate
- Value name: WUServer
- Value type: REG_SZ
- Value data: http://wsus
Set Item-level targeting for Registry Match
- Match type: Value exists
- Hive: HKEY_LOCAL_MACHINE
- Key path: SOFTWARE\Policies\Windows\WindowsUpdate
- Value name: WUServer
- Value type: REG_SZ
- Item Options: Is Not
Create new Registry Item for WUStatusServer
- Action: Create
- Hive: HKEY_LOCAL_MACHINE
- Key Path: Software\Policies\Microsoft\Windows\WindowsUpdate
- Value name: WUStatusServer
- Value type: REG_SZ
- Value data: http://wsus
Set Item-level targeting for Registry Match
- Match type: Value exists
- Hive: HKEY_LOCAL_MACHINE
- Key path: SOFTWARE\Policies\Windows\WindowsUpdate
- Value name: WUStatusServer
- Value type: REG_SZ
- Item Options: Is Not
Create new Registry Item for UseWUServer
- Action: Create
- Hive: HKEY_LOCAL_MACHINE
- Key Path: Software\Policies\Microsoft\Windows\WindowsUpdate\AU
- Value name: UseWUServer
- Value type: REG_DWORD
- Value data: 1 *Decimal
Set Item-level targeting for Registry Match
- Match type: Match value data
- Hive: HKEY_LOCAL_MACHINE
- Key path: SOFTWARE\Policies\Windows\WindowsUpdate\AU
- Value name: UseWUServer
- Value type: REG_DWORD
- Value data: 1 *Decimal
- Item Options: Is Not