Preventing Big Sur via KACE
I know it's not publicly available yet, but I'd like to prevent as users from installing Big Sur. Is there something in scripting that anyone has tried in KACE 10. In a prefect world the user see the "install macOS updates" option as greyed out.
Answers (3)
Not sure if this will help but I found the following link
https://apple.stackexchange.com/questions/367995/how-to-block-updates-to-mac-os-x-catalina
In the post is tells you what command can be run to prevent an update running, as a guess you will insert Big Sur into the command, maybe
sudo /usr/sbin/softwareupdate --ignore "macOS Big Sur"
If you have the KACE agent installed with admin privileges you should be able to run that in a script
Comments:
-
I haven't tested this, but this method supposedly was "obsoleted" by 10.15.5 so I'm not sure it would work. - rwt 4 years ago
Hope this info can help you out. I have 2 Online Shell Scripts that run on schedule.
1. Disable Automatic Updates. This will show the current status then turn it off
echo Current status:
sudo softwareupdate --schedule
echo Ending status:
sudo softwareupdate --schedule off
2. Remove Mac OS Download Files - The second line will delete the "Install macOS (os name)" from the applications folder since they are usually saved to that location.
find / -name "Install macOS*"
rm -rf /Applications/Install\ macOS\ *.app
But don't know the best way to implement this via KACE. - rwt 4 years ago