Disable Self Service Notification

luka3
New Contributor

Hi,
I'm trying to disable the Self-Service notification banner from popping up on the top right corner, but still no luck. I tried creating a Configuration Profile using the configurations as showed on the image:

luka3_0-1726671402898.png

 

Also tried through Policy, to deploy a script but still the notification appear.

 

 

#!/bin/bash

# Get the currently logged-in user
currentUser=$(stat -f%Su /dev/console)

# Path to the user's notification preferences
plistPath="/Users/$currentUser/Library/Preferences/com.apple.ncprefs.plist"

# Disable notifications for Self Service
if [ -f "$plistPath" ]; then
    sudo -u "$currentUser" defaults write "$plistPath" apps -array-add '{ "bundle-id" = "com.jamfsoftware.selfservice.mac"; "flags" = 0; "show" = 0; }'
else
    echo "Notification preferences file not found for user $currentUser"

 

 

 Anyone else has experienced this? What can i try else?

Thanks

1 REPLY 1

lwerbeloff
New Contributor II

Are you trying to suppress notifications when Google or other apps update?

If you are, then you can either go app-by-app or for all app installers.

Computers - Mac Apps - Google Chrome - End User Experience - Edit - Custom - Suppress all notifications

or

Settings - Computer Management - App Installers - Edit - Suppression settings - Global - Suppress all notifications