Disable macOS Mojave update notification

rcormier7
New Contributor II

Hello everyone, it is possible to disable macOS Mojave notification pop un in top right corner ?
I've already restricted macOS Mojave installer.

But few of my Mac users tell me about this popup.

Thanks

9 REPLIES 9

AndreasRumpl
New Contributor III

We are using this script, which is run regularly through a policy:

#!/bin/bash

# First check, if Mojave has been downloaded already. If so, delete the setup app.
file="/Applications/Install macOS Mojave.app"
if [ -d "$file" ]
then
    rm -R /Applications/Install macOS Mojave.app
    echo "Mojave deleted."
else
    echo "Mojave not found."
fi

# Deactivate automatic OS update downloads
defaults write /Library/Preferences/com.apple.SoftwareUpdate.plist AutomaticDownload -bool NO
echo "Automatic OS Update downloads deactivated."

exit 0

claudiogardini
Contributor

You should find what you are looking for here.

ablend
New Contributor III

I've used a script like claudiogardini's above in the past to rename the .bundle file which disables the notification. However, some users are seeing a notification with the default App Store icon and "UpdateAutoDownloadedNotification" text replacing the actual text.

937c9789841c4be28687e7b51e8eb9ac

The key seems to be if the system has already downloaded "Install macOS Mojave" app, that triggers a scheduled daily / weekly? notification to upgrade. If that bundle is missing, they will see the no-icon no text notification instead of no notification at all. If you use the script above and remove that app, it's possible that's enough to completely stop the update notification. There's also a notifications database that may be a part of this situation. I'm testing further to figure out where it's coming from.

guidotti
Contributor II

I’m now using the above script to suppress the pop up notifications in addition to the restricted software feature. Has anyone figured out how to block the Mojave banner in the App Store? I remember doing something like that around the time of Sierra.

dgreening
Valued Contributor II

Here is how I am blocking the OS upgrade download and notification. I had to wrench this info from Apple, and it does work. Enjoy!

#!/bin/bash

# Locate Caching Servers

/usr/bin/AssetCacheLocatorUtil

# Reset ignored updates
/usr/sbin/softwareupdate --reset-ignored

# Ignore High Sierra Nag Updates
/usr/sbin/softwareupdate --ignore "macOSInstallerNotification_GM"

rcormier7
New Contributor II

Thanks to all of you :-)

mack525
Contributor II

@dgreening Should this be set on an ongoing policy? or a onetime trigger.

k3vmo
Contributor II

I don't yet have Jamf in place. Our infrastructure team is building the server for me to perform the install on.

Would this work if I create the script as a login item? as @mack525 said - does this need to be ongoing?

franton
Valued Contributor III

The real trick is that the notifications are all controlled through this preference file: (shout out to @carl for that discovery)

~/Library/Preferences/com.apple.touristd.plist

However the contents that should go in this file are ... complex. And different from 10.12, 10.13 and 10.14. So you'll need use the following to create a mobileconfig file. You will then need to re-sign this using your own certificate to stop Jamf futzing with it and then upload and test.

<?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>PayloadContent</key>
    <array>
        <dict>
            <key>PayloadContent</key>
            <dict>
                <key>com.apple.touristd</key>
                <dict>
                    <key>Forced</key>
                    <array>
                        <dict>
                            <key>mcx_preference_settings</key>
                            <dict>
                                <key>firstOSLogin</key>
                                <date>2016-10-25T09:10:52Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/imac-21a</key>
                                <date>2016-10-27T06:19:33Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/imac-21b</key>
                                <date>2016-10-27T06:19:33Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/imac-21r</key>
                                <date>2016-10-27T06:19:33Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/imac-27</key>
                                <date>2016-10-27T06:19:33Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/macbook</key>
                                <date>2016-10-27T06:19:33Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/macbook-pro-13</key>
                                <date>2016-10-27T06:19:33Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/macbook-pro-15</key>
                                <date>2016-10-27T06:19:33Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/new-to-mac</key>
                                <date>2016-10-27T06:19:33Z</date>
                                <key>seed-https://help.apple.com/osx/mac/10.12/whats-new</key>
                                <date>2016-10-24T07:03:37Z</date>
                            </dict>
                        </dict>
                    </array>
                </dict>
            </dict>
            <key>PayloadEnabled</key>
            <true/>
            <key>PayloadIdentifier</key>
            <string>Tour Notification Disable for 10.12</string>
            <key>PayloadType</key>
            <string>com.apple.ManagedClient.preferences</string>
            <key>PayloadUUID</key>
            <string>0aaf2533-9e46-47b5-8641-e80cbcac7c2c</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>
        <dict>
            <key>PayloadContent</key>
            <dict>
                <key>com.apple.touristd</key>
                <dict>
                    <key>Forced</key>
                    <array>
                        <dict>
                            <key>mcx_preference_settings</key>
                            <dict>
                                <key>firstOSLogin</key>
                                <date>2017-09-28T03:31:23Z</date>
                                <key>seed-notificationDueDate-f/Pn3F4RScOh+GUBKO9sRA</key>
                                <date>2017-09-28T07:31:23Z</date>
                                <key>seed-numNotifications-+trJt2VsTvK1yfPGwOySDw</key>
                                <string>0</string>
                                <key>seed-numNotifications-ETJeJ9/1QmmWUde7uK8fDg</key>
                                <string>0</string>
                                <key>seed-numNotifications-KwUoo0fRRM2VPmIm0V67xg</key>
                                <string>0</string>
                                <key>seed-numNotifications-LR2P9+rnQ2q9xSUy1ZgWOw</key>
                                <string>0</string>
                                <key>seed-numNotifications-MM3ne3nTR9eXFyVwZ5gN7Q</key>
                                <string>0</string>
                                <key>seed-numNotifications-b/dLke8ZTQaN9KKrxfwDQw</key>
                                <string>0</string>
                                <key>seed-numNotifications-f/Pn3F4RScOh+GUBKO9sRA</key>
                                <string>1</string>
                                <key>seed-numNotifications-lEDfW5O+SZe8KTQ93HGOPA</key>
                                <string>0</string>
                                <key>seed-viewed-f/Pn3F4RScOh+GUBKO9sRA</key>
                                <date>2017-09-28T03:31:46Z</date>
                            </dict>
                        </dict>
                    </array>
                </dict>
            </dict>
            <key>PayloadEnabled</key>
            <true/>
            <key>PayloadIdentifier</key>
            <string>Tour Notification Disable for 10.13</string>
            <key>PayloadType</key>
            <string>com.apple.ManagedClient.preferences</string>
            <key>PayloadUUID</key>
            <string>febd62c0-6279-4c53-aebb-318691883a96</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>   
        <dict>
            <key>PayloadContent</key>
            <dict>
                <key>com.apple.touristd</key>
                <dict>
                    <key>Forced</key>
                    <array>
                        <dict>
                            <key>mcx_preference_settings</key>
                            <dict>
                                <key>seed-notificationDueDate-krdWS8DSQIqJSqQFXW1/pw</key>
                                <date>2018-07-29T21:03:39Z</date>
                                <key>seed-notificationDueDate-lQlm1yrMS0GPVyAL44id+A</key>
                                <date>2018-07-29T21:03:39Z</date>                               
                                <key>seed-numNotifications-+trJt2VsTvK1yfPGwOySDw</key>
                                <string>0</string>
                                <key>seed-numNotifications-/+vP78HsSh+Yeb4xJnUT9A</key>
                                <string>0</string>
                                <key>seed-numNotifications-2+LvxAVyT6qnV1sDMZT0NA</key>
                                <string>0</string>
                                <key>seed-numNotifications-APhNaYV1RxSS41lC7ZJJ9Q</key>
                                <string>0</string>
                                <key>seed-numNotifications-B70mVuHeT0WUgKh/VdUuZQ</key>
                                <string>0</string>
                                <key>seed-numNotifications-ETJeJ9/1QmmWUde7uK8fDg</key>
                                <string>0</string>
                                <key>seed-numNotifications-EWfaSdJwR/6f1BYGiyLpcQ</key>
                                <string>0</string>
                                <key>seed-numNotifications-FQrkbNP9ThKQQtpqx2saFg</key>
                                <string>0</string>
                                <key>seed-numNotifications-GZAJdmpdSqmfH2PkCr8ebw</key>
                                <string>0</string>
                                <key>seed-numNotifications-JTecrrXDSVut2tSfltty9Q</key>
                                <string>0</string>
                                <key>seed-numNotifications-KwUoo0fRRM2VPmIm0V67xg</key>
                                <string>0</string>
                                <key>seed-numNotifications-LR2P9+rnQ2q9xSUy1ZgWOw</key>
                                <string>0</string>
                                <key>seed-numNotifications-MM3ne3nTR9eXFyVwZ5gN7Q</key>
                                <string>0</string>
                                <key>seed-numNotifications-Pa88nesPSO6POlutVN4/Sg</key>
                                <string>0</string>
                                <key>seed-numNotifications-SdV08ZZQRxOCWq6JBEXmfg</key>
                                <string>0</string>
                                <key>seed-numNotifications-UhiR1M79RWmXLIQr4M0AWw</key>
                                <string>0</string>
                                <key>seed-numNotifications-WEyaCPMVRB6HbnmRq9EnNQ</key>
                                <string>0</string>
                                <key>seed-numNotifications-b/dLke8ZTQaN9KKrxfwDQw</key>
                                <string>0</string>
                                <key>seed-numNotifications-d+gfl8CNTNeauANKjf9WqA</key>
                                <string>0</string>
                                <key>seed-numNotifications-f/Pn3F4RScOh+GUBKO9sRA</key>
                                <string>0</string>
                                <key>seed-numNotifications-krdWS8DSQIqJSqQFXW1/pw</key>
                                <string>2</string>
                                <key>seed-numNotifications-kti4ZkMKQFyCL2kbgCY23A</key>
                                <string>0</string>
                                <key>seed-numNotifications-lEDfW5O+SZe8KTQ93HGOPA</key>
                                <string>0</string>
                                <key>seed-numNotifications-n87FVu1TSwGzble8vqBvsg</key>
                                <string>0</string>
                                <key>seed-viewed-krdWS8DSQIqJSqQFXW1/pw</key>
                                <date>2018-07-28T21:03:44Z</date>
                                <key>seed-viewed-lQlm1yrMS0GPVyAL44id+A</key>
                                <date>2018-07-28T21:03:44Z</date>
                            </dict>
                        </dict>
                    </array>
                </dict>
            </dict>
            <key>PayloadEnabled</key>
            <true/>
            <key>PayloadIdentifier</key>
            <string>Tour Notification Disable for 10.14</string>
            <key>PayloadType</key>
            <string>com.apple.ManagedClient.preferences</string>
            <key>PayloadUUID</key>
            <string>34255351-A65A-4B9E-8A4B-EAB1EB875845</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>   
    </array>
    <key>PayloadDescription</key>
    <string></string>
    <key>PayloadDisplayName</key>
    <string>Disable OS Upgrade Notification</string>
    <key>PayloadEnabled</key>
    <true/>
    <key>PayloadIdentifier</key>
    <string>A5EE1627-48C2-4751-8E9A-E0E6B5CA874F</string>
    <key>PayloadOrganization</key>
    <string>Your Organisation</string>
    <key>PayloadRemovalDisallowed</key>
    <true/>
    <key>PayloadScope</key>
    <string>System</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>A5EE1627-48C2-4751-8E9A-E0E6B5CA874F</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>