MakeMeAnAdmin icon indicating copy to clipboard operation
MakeMeAnAdmin copied to clipboard

This script is not working on macOS Monterey on M1 Macs.

Open surajitpatra22 opened this issue 3 years ago • 5 comments

surajitpatra22 avatar Feb 11 '22 13:02 surajitpatra22

``/Library/LaunchDaemons/removeAdmin.plist: service already loaded Load failed: 37: Operation already in progress

ayotec2015 avatar Mar 09 '22 12:03 ayotec2015

I saw something similar on 12.3.0 intel side.

jcejka11 avatar Mar 24 '22 18:03 jcejka11

I saw something similar on 12.3.0 intel side.

@jcejka11, @ayotec2015 - Did either of you find a workaround or fix for this?

alyssawrightgledhill avatar May 26 '22 16:05 alyssawrightgledhill

I did find a workaround Once I’m in front of my computer I’ll send ya what we did. The downside to either this script or gatekeeper or other bugs/features in Monterey is the return the act to standard perms. That piece mostly Works, but sometimes it either doesn’t remove it or the user reboots in the middle Of the timer and the that downgrade script doesn’t run upon startup. I haven’t nailed it down as it’s not always occurring either.

jcejka11 avatar May 26 '22 16:05 jcejka11

We recently started testing this script as a way to stop assigning permanent local admin rights to our users. It seemed to be working during our initial tests but now it's not. We are seeing similar messages like:

/Library/LaunchDaemons/removeAdmin.plist: service already loaded
Load failed: 37: Operation already in progress

However, even when we see no errors it doesn't seem to work. These are all new MacBook Pros, M1, running MacOS Monterey.

@jcejka11, would you be able to share your work-around?

mrecek avatar Aug 05 '22 16:08 mrecek