/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Preventing Big Sur via KACE

10/23/2020 400 views

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. 

1 Comment   [ + ] Show comment

Comments

  • One way I've seen people do this online is making a dummy application in "Applications" with "Install Big Sur" and some odd permissions.

    But don't know the best way to implement this via KACE.

All Answers

0

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

Answered 10/23/2020 by: Hobbsy
Red Belt

  • I haven't tested this, but this method supposedly was "obsoleted" by 10.15.5 so I'm not sure it would work.
0

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

Answered 10/29/2020 by: TheITNooB
Senior White Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ