Google Chrome reset?

mdbrown
New Contributor II

Is there a way to reset Google Chrome via JSS?

2 REPLIES 2

adamcodega
Valued Contributor

Not a JSS feature but occasionally I'll need to nuke Google Chrome from a laptop. This script will work if run as the user, it will need adjustment before you can run it via Self Service, since it will need to search all users on the computer. (Scripts and programs are not run as the user but as the Casper admin account)

#!/bin/sh
rm -r /Applications/Google Chrome.app/
rm -r ~/Library/Application Support/Google/Chrome/
rm ~/Library/Application Support/CrashReporter/Google Chrome*
rm ~/Library/Preferences/com.google.Chrome*
rm ~/Library/Preferences/Google Chrome*
rm -r ~/Library/Caches/com.google.Chrome*
rm -r ~/Library/Saved Application State/com.google.Chrome.savedState/
rm ~/Library/Google/GoogleSoftwareUpdate/Actives/com.google.Chrome
rm ~/Library/Google/Google Chrome*
rm -r ~/Library/Speech/Speakable Items/Application Speakable Items/Google Chrome/

isterling_goaaa
New Contributor III

I like this script. You say this can be run by the user from Self-Service? I'm looking for a way to reset chrome without having the user open a terminal and doing the following:

rm -r ~/Library/Application Support/Google/Chrome/
rm -r ~/Library/Caches/Google/Chrome/

So far, this is the only fix I've been able to find that will allow a user to update their Google Apps account (aka Login To Chrome) passwords in Google Chrome and NOT have Chrome crash.

EDIT: Oh, I just saw your bit about the script requiring adjustment before being run from Self-Service. :-/ I'll have to tinker with it then.