How To Remove Installed Chrome Extension

ismalls21
New Contributor II

Hi all,

 

I'm the only Jamf admin for my company and have been asked to removed a specific Chrome extension from all our Macs across 9 locations. Is there a way AI can do this without physically going to all locations and removing it one by one? I saw a few posts, but I'm a newbie and don't know where to even start. Thanks in advance!

1 ACCEPTED SOLUTION

Shyamsundar
Contributor III

you can deploy a Chrome restriction profile with ExtensionInstallBlocklist, Which will block the user from installing this extension, and also if this extension is already installed it will be blocked 

 

<?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>ExtensionInstallBlocklist</key>
    <array>
      <string>yourExtensionID here</string>
    </array>
  </dict>
</plist>

 

please refer the below link for more information

https://chromeenterprise.google/policies/#ExtensionInstallBlocklist

View solution in original post

7 REPLIES 7

ismalls21
New Contributor II

*I meant to put I, not AI

AJPinto
Esteemed Contributor

I was going to make a joke about not relying on AI to do anything lol. 

 

You just need to make a configuration profile that has a blocklist payload for chrome and put the ID for the profile you want to remove in it and deploy. This will force remove the extension from all devices. @Shyamsundar is comment is spot on.

Shyamsundar
Contributor III

you can deploy a Chrome restriction profile with ExtensionInstallBlocklist, Which will block the user from installing this extension, and also if this extension is already installed it will be blocked 

 

<?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>ExtensionInstallBlocklist</key>
    <array>
      <string>yourExtensionID here</string>
    </array>
  </dict>
</plist>

 

please refer the below link for more information

https://chromeenterprise.google/policies/#ExtensionInstallBlocklist

I'm still confused. I don't understand how to create this plist into a JSON custom scheme. I do have the extension ID. Sorry for any confusion, I've been thrown into this new position and we've only had Jamf for a year and I've been the only one working on things to benefit our workflow and environment so I'm also learning as I go

Just copy and paste the above Plist file in Application and Custom Payload in the Configuration profile replace the Extension ID and give the name as com.google.Chrome.plist and deploy it

I got it to work. Thank you so much for your help! Still a newbie so I really appreciate it!

 

andrew_nicholas
Valued Contributor

If you know the id of the extension you can look for the associated .json file in the user profile under /Users/[username]/Library/Application Support/Google/Chrome/External Extensions/ and remove it, forcing chrome to quit and relaunch. It may come back without a blocking profile but it's a start.