Skip to main content
Question

Remove Chrome Extension which is instaled

  • July 23, 2025
  • 6 replies
  • 90 views

shrisivakumaran
Forum|alt.badge.img+8

I blocked the extension installation on chrome, with that un approved extension are blcoked but now I want to remove the un approved extension which is installed previously. Is there any way to removed it?

I tried to remove the extension ID with script but in Chrome browser it shows corrupted not removing completely.

6 replies

AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • July 23, 2025

you can block the extension ID specifically or block all extensions with the blocklist (the allowlist extensions are still allowed). Once the extension ID is blocked Chrome will remove it when the new policies refresh, and the user is notified. 


shrisivakumaran
Forum|alt.badge.img+8

It is not removing, it just disable the extension and it is appears on the Chrome extension page.


Jaykrishna1
Forum|alt.badge.img+7
  • Jamf Heroes
  • July 24, 2025

I have tested the script manually quite a bit, and it should work.

 

#!/bin/bash

# Replace with your extension ID
EXTENSION_ID="your_extension_id_here"

# Path to Chrome extensions directory on macOS
EXTENSION_DIR="$HOME/Library/Application Support/Google/Chrome/Default/Extensions/$EXTENSION_ID"

# Check and remove the extension folder
if [ -d "$EXTENSION_DIR" ]; then
    rm -rf "$EXTENSION_DIR"
    echo "Extension $EXTENSION_ID removed successfully."
else
    echo "Extension $EXTENSION_ID not found."
fi


shrisivakumaran
Forum|alt.badge.img+8

@Jaykrishna1 I have same kind of script, it deleting the extension directory, but when go back to chrome extension page it will visible. I want to remove there also

 

 


AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • July 24, 2025

Are you refreshing policies and relaunching the browser after applying the new config profile, or running the scripts?


shrisivakumaran
Forum|alt.badge.img+8

Yeah, tried still same like in the screenshot.