Panther Tiger Leopard Snow Leopard Lion Mavericks Yosemite El Capitan Sierra

How to disable GoogleSoftwareUpdateAgent permanently

Post Reply
macosx / lion     Views: 192Prev .. Next
How to disable GoogleSoftwareUpdateAgent permanentlyPosted: Saturday, November 12, 2016 [05:42:25] - 1
rootPosted by:rootMember Since:
June 16 2010
Posts: 126
No matter what one does GoogleSoftwareUpdateAgent comes back to life after reboot.
I personally do not know what Google updates and does. I just do not trust them.
Deleting following files does nothing, they get re-written after reboot:
/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftwareUpdateAgent
/Users/USER/Library/LaunchAgents/com.google.keystone.agent.plist

So, I changed /Users/USER/Library/LaunchAgents/com.google.keystone.agent.plist to the following, switching "RunAtLoad" to "false" and setting "StartInterval" to a very high number.
View Code<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.google.keystone.user.agent</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>ProgramArguments</key>
<array>
<string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftwareUpdateAgent</string>
<string>-runMode</string>
<string>ifneeded</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>StartInterval</key>
<integer>2892391219837219403294830249832</integer>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
</dict>
</plist>


then setting file permissions to 000 (no access to anyone)

Then I deleted "GoogleSoftwareUpdateAgent" file and set folder permissions to 000 for the folder where this file was:
View Codesudo chmod 000 /Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS


This prevents GoogleSoftwareUpdateAgent from "resurrection" after reboot.
Google disobeys "launchctl" commands and has no respect for user input by re-setting its services after reboot.
Changes above it can not overcome, at least for now.There's no place like ~
macosx / lionPrev .. Next
 
Post Reply
Home - Macosx: Panther Tiger Leopard Snow Leopard Lion Mavericks Yosemite El Capitan Sierra