Skip to content

Instantly share code, notes, and snippets.

@absynce
Created February 4, 2015 21:23
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save absynce/c35b93e27ababbeb9063 to your computer and use it in GitHub Desktop.
Save absynce/c35b93e27ababbeb9063 to your computer and use it in GitHub Desktop.
Disable Chrome updates in Windows via the registry.
# *******************************************
#
# Mod by: Jared M. Smith
# Mod on: 2015.01.14
# Mod y?: Disable Google Chrome updates.
#
# *******************************************
# Log method
function Log { Param([string]$message) Write-Host $message; }
# Get current path
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
Log "Disabling Google Chrome updates once and for all!"
New-Item -Path HKLM:\SOFTWARE\Policies\Google -name Update -value 0 -Force
New-Item -Path HKLM:\SOFTWARE\Wow6432Node\Policies\Google -name Update -value 0 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Google\Update -type dword -name AutoUpdateCheckPeriodMinutes -value 0 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Google\Update -type dword -name DisableAutoUpdateChecksCheckboxValue -value 1 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Google\Update -type dword -name "Update{8A69D345-D564-463C-AFF1-A69D9E530F96}" -value 0 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Google\Update -type dword -name UpdateDefault -value 0 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Wow6432Node\Policies\Google\Update -type dword -name AutoUpdateCheckPeriodMinutes -value 0 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Wow6432Node\Policies\Google\Update -type dword -name DisableAutoUpdateChecksCheckboxValue -value 1 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Wow6432Node\Policies\Google\Update -type dword -name "Update{8A69D345-D564-463C-AFF1-A69D9E530F96}" -value 0 -Force
New-ItemProperty -Path HKLM:\SOFTWARE\Wow6432Node\Policies\Google\Update -type dword -name UpdateDefault -value 0 -Force
Log "Added registry keys to disable Google updates."
Stop-Service gupdate
Stop-Service gupdatem
Log "Stopped running Google update services(s)."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment