Configuration Manager 2012 Compliance Baseline to Disable Adobe Shockwave Player Automatic Updates

Posted: August 6, 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 the previous post; Configuration Manager 2012 Compliance Baseline to Disable Adobe Air Automatic Updates.

Below you’ll find scripts for Discovery and Remediation of Adobe Shockwave Player automatic updates. The script will also check for and disable anonymous usage information collection.

This script evaluates registry keys in HKCU (HKEY_CURRENT_USER), so when you create the setting you must select “Run scripts by using the logged on user credentials” as shown in the screenshot below.1

<#
  This script will check if automatic updates and anonymous usage information 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:
  - Disable Adobe Shockwave Player 12.x via Registry Key 
    https://forums.adobe.com/thread/1410052
#>

$ShockwaveAutoUpdate = Get-ItemProperty 'HKCU:\Software\AppDataLow\Software\Adobe\Shockwave 12\AutoUpdate\'
$ShockwaveCollectStats = Get-ItemProperty 'HKCU:\Software\AppDataLow\Software\Adobe\Shockwave 12\collectstats\'

if(($ShockwaveAutoUpdate.'(default)' -eq 'n') -and ($ShockwaveCollectStats.'(default)' -eq 'n')) 
    {Write-Host 'Compliant'}
    else
    {Write-Host 'Non-Compliant'}
<#
  This script will disable automatic updates and anonymous usage information if it is enabled.

  Created:     04.08.2014
  Version:     1.0
  Author:      Odd-Magne Kristoffersen
  Homepage:    https://sccmguru.wordpress.com/
    
  References:
  - Acrobat-Reader Updater: A Configuration and User Guide 
    http://kb2.adobe.com/cps/837/cpsid_83709/attachments/Acrobat_Reader_Updater.pdf
#>

Set-ItemProperty 'HKCU:\Software\AppDataLow\Software\Adobe\Shockwave 12\AutoUpdate\' -Name '(Default)' -Value n
Set-ItemProperty 'HKCU:\Software\AppDataLow\Software\Adobe\Shockwave 12\collectstats\' -Name '(Default)' -Value n

You can also download the scripts here: Compliance Settings Scripts

Advertisements
Comments
  1. […] Configuration Manager 2012 Compliance Baseline to Disable Adobe Shockwave Player Automatic Upda… […]

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