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.
Not sure if this will help but I found the following link
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
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