Hi all,
I created an application with Applescript that executes the following 9 commands (that make the red badge disappear after an update search):
Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedUpdatesAvailable
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist RecommendedUpdates
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastUpdatesAvailable
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier
defaults delete com.apple.preferences.softwareupdate ProductKeysLastSeenByUser
sudo defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.systempreferences.plist -c 'Set:AttentionPrefBundleIDs:com.apple.FollowUpSettings.FollowUpSettingsExtension 0
killall Dock
So no need to open Terminal and execute .sh script, nor to copy/paste the command lines one by one.
I tested, this application works very well in Mojave but also in Big Sur, Monterey and Ventura so I think it should work in Catalina too.
View attachment 1884344
The first time you run the program, you may get the following error message: Impossible to open "Software Update Red Badge Remover.app" because this app comes from an unidentified developer
Or this one: "Software Update Red Badge Remover.app" is damaged and cannot be opened. You should place this item in the Recycle Bin.
This is because
an attribute is added so that it can ask the user for confirmation the first time the downloaded program is run, to help stop malware. After confirmation, the attribute should be removed automatically, and then the program will run normally.
But if the program does not run, just
remove this attribute (once and for all) with the following procedure if you have already unzipped the zip archive: (but it's best to run the following command with the zip archive before unzipping it):
- Open Terminal (Applications -> Utilities -> Terminal.app)
- Write or Copy/Paste (in Terminal) the following line
Code:
xattr -rd com.apple.quarantine
- Type a space
- Drag and drop "Software Update Red Badge Remover.app" next to it, from the Finder
Now the program will run normally.
Edited and updated on September 27, 2023