Configuration Manager 2012 Compliance Baseline to Disable Google Chrome Automatic Updates

Posted: August 11, 2014 in System Center Configuration Manager 2012
Tags: , ,

In this post I’m not going to explain how to create a Compliance Item and Baseline for that you can review this post; Configuration Manager 2012 Compliance Baseline to Disable Adobe Air Automatic Updates.

Below you will find scripts for Discovery and Remediation of Google Chrome automatic updates.

<#
  This script will check if automatic updates is disabled and return a Compliant/Non-Compliant string.

  Created:     04.08.2014
  Version:     1.0
  Author:      Odd-Magne Kristoffersen
  Homepage:    https://sccmguru.wordpress.com/
    
  References:
  - Turning Off Auto Updates in Google Chrome
    http://www.chromium.org/administrators/turning-off-auto-updates
#>

$UpdateCheck = Get-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Update'
    if (($UpdateCheck.AutoUpdateCheckPeriodMinutes -eq 0) –and ($UpdateCheck.DisableAutoUpdateChecksCheckboxValue -eq 1) -and ($UpdateCheck.'Update{4DC8B4CA-1BDA-483E-B5FA-D3C12E15B62D}' -eq 0) -and ($UpdateCheck.'Update{4EA16AC7-FD5A-47C3-875B-DBF4A2008C20}' -eq 0) -and ($UpdateCheck.'Update{8A69D345-D564-463C-AFF1-A69D9E530F96}' -eq 0) -and ($UpdateCheck.'Update{8BA986DA-5100-405E-AA35-86F34A02ACBF}' -eq 0) -and ($UpdateCheck.UpdateDefault -eq 0))
    {Write-Host 'Compliant'}
    else
    {Write-Host 'Non-Compliant'}
<#
  This script will disable automatic updates if it is enabled.

  Created:     04.08.2014
  Version:     1.0
  Author:      Odd-Magne Kristoffersen
  Homepage:    https://sccmguru.wordpress.com/
    
  References:
  - Turning Off Auto Updates in Google Chrome
    http://www.chromium.org/administrators/turning-off-auto-updates
#>

Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Update' -Name AutoUpdateCheckPeriodMinutes -Value 0 -Force
Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Update' -Name DisableAutoUpdateChecksCheckboxValue -Value 1 -Force
Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Update' -Name 'Update{4DC8B4CA-1BDA-483E-B5FA-D3C12E15B62D}' -Value 0 -Force
Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Update' -Name 'Update{4EA16AC7-FD5A-47C3-875B-DBF4A2008C20}' -Value 0 -Force
Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Update' -Name 'Update{8A69D345-D564-463C-AFF1-A69D9E530F96}' -Value 0 -Force
Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Update' -Name 'Update{8BA986DA-5100-405E-AA35-86F34A02ACBF}' -Value 0 -Force
Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Update' -Name UpdateDefault -Value 0 -Force

You can also download the scripts here: Compliance Settings Scripts

Advertisements
Comments
  1. Elvis says:

    And how you can deploy or implement this script?

  2. Calvin Woods says:

    This is great. However I am getting errors when I evaluate them on the client? I have followed this word to word

  3. Calvin says:

    Hi there,

    These scripts are useful but I am getting ‘error’ in the Compliant State when they are being implemented on the clients. Where can I find out why this is being caused?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s