r/macsysadmin • • Sep 10 '23

Scripting I am retiring from my sysadmin career, here are my scripts and how-to guides

357 Upvotes

I am retiring from my sysadmin career, I won’t be in IT or Tech anymore. Over the past 10 years, I have extensively used open-source applications and scripts, and I believe it's time for me to contribute back to the community.

I have compiled in a Medium blog a collection of valuable scripts and tutorials that I have written over the years. Here, I'd like to share my favorite posts:

I hope you’ll find something interesting for your company you are working at. Needless to say that this blog will no longer be updated.

Cheers!


r/macsysadmin • • Dec 15 '20

General Discussion I Hate Adobe.

264 Upvotes

That's all.


r/macsysadmin • • Sep 23 '24

General Discussion Microsoft renames Microsoft Remote Desktop to Windows App.app

Post image
226 Upvotes

r/macsysadmin • • Sep 24 '26

ABM/DEP Here is everything Apple showed off today at their “What’s New For IT” session at JNUC

Post image
206 Upvotes

r/macsysadmin • • Jun 04 '20

macOS Updates Advanced macOS troubleshooting

Post image
193 Upvotes

r/macsysadmin • • Aug 06 '24

General Discussion macOS Sequoia adds weekly permission prompt for screenshot and screen recording apps

Thumbnail
9to5mac.com
191 Upvotes

r/macsysadmin • • Feb 11 '23

Scripting I felt compelled to share this after it made my life as an Admin much simpler

163 Upvotes

Not too long ago I built a small AI Apple IT assistant that I've been using to generate bash scripts for just about any situation I could think of. It makes it easy to pull information from devices in bulk remotely and manage them. I've been surprised by the efficiency it provides.

The community of Mac Admins might find this helpful so I turned it into a small web app we can use free of charge!

Let me know what you think and what improvements we can make

https://sudosupport.netlify.app/


r/macsysadmin • • Oct 29 '25

Jamf Jamf goes from public to private in $2.2B acquisition deal

Thumbnail appleinsider.com
156 Upvotes

r/macsysadmin • • Mar 23 '25

Just switched every computer to a Mac.

149 Upvotes

(originally posted in r/sysadmin) It finally happened, we just switched over 1500 Windows laptops/workstations to MacBooks./Mac Studios This only took around a year to fully complete since we were already needing to phase out most of the systems that users were using due to their age (2017, not even compatible with Windows 11).

Surprisingly, the feedback seems to be mostly positive, especially with users that communicate with customers since their phone’s messages sync now. After the first few weeks of users getting used to it, our amount of support tickets we recieve daily has dropped by over 50%.

This was absolutely not easy though. A lot of people had never used a Mac before, so we had to teach a lot of things, for example, Launchpad instead of the start menu. One thing users do miss is the Sharepoint integration in file explorer, and that is probably one of my biggest issue too.

Honestly, if you are needing to update laptops (definitely not all at once), this might actually not be horrible option for some users.


r/macsysadmin • • Apr 14 '21

A new way to download macOS Big Sur full installers directly from Apple's SUS > InstallAssistant.pkg. I've created a database for beta and final 11.0 installers!

148 Upvotes

By now, we all know that you can use the Mac App Store, installinstallmacos.py or softwareupdate --fetch-full-installer to get full macOS installers. You can now download macOS Big Sur via one click from my new Big Sur full installer download database! This database is a companion to my Apple Silicon M1 IPSW full installer database.

I will update the page every time Apple adds a new installer or depreciates an old one. For example, right now you can download macOS Big Sur 11.2.3-11.5.1+ You can see this easily in the database listing.

https://mrmacintosh.com/macos-big-sur-full-installer-database-download-directly-from-apple/


r/macsysadmin • • Apr 22 '24

The community lost a true OG giant Friday

145 Upvotes

On Friday, we lost Charles Edge. The community mourns for this loss, please share any stories or thoughts you may have.

Some posts from the community:

https://tombridge.com/2024/04/22/thank-you-for-everything-charles/

https://derflounder.wordpress.com/2024/04/22/losing-a-giant/

https://podcast.macadmins.org/2024/04/22/in-memoriam-charles-edge/


r/macsysadmin • • Oct 25 '22

PSA:Login to your Apple Business Manager account to accept new terms. Automatic device enrollment will break otherwise. Good luck out there admins!

Post image
143 Upvotes

r/macsysadmin • • Mar 25 '21

You can now remove the Firmware Password (+all data) from a T2 Mac with Apple Configurator 2!

138 Upvotes

Do you need to remove firmware password on an Intel T2 Mac (2018-2020)? If you have the old firmware password, the process is simple.

What would you do if you lost or forgot the password? If you have proof of purchase, you can contact Apple and they can remove it for you. If you don't they will not help you.

Is your T2 Mac in one of the situations listed below?

  1. Firmware Password Enabled

  2. You do not know the firmware password

  3. You do not have proof of purchase

  4. You do not need any data on the Mac (Macintosh HD & all data is erased)

Perform an Apple Configurator 2 DFU "Restore" and the firmware password will be removed.

This process is not documented anywhere on support apple com or any in any of Apple's internal technician training materials.

This new way to remove the firmware password could have been hiding in plain sight for over 3 years.

NOTE: An AC2 Restore will only remove the firmware password, NOT Activation Lock.

In my article, I will go over how this new method could be useful (Technology Recycling Companies or 2nd hand purchases). I will also go over how this could cause problems if you rely on the firmware password as a company or school theft deterrent.

https://mrmacintosh.com/how-to-remove-mac-firmware-password-new-way-if-you-have-a-2018-2020-t2-mac/


r/macsysadmin • • Jul 26 '20

General Discussion *Cries in MSP*

Post image
136 Upvotes

r/macsysadmin • • Jun 07 '23

macOS Updates What's New in Managing Software Updates for macOS Sonoma

131 Upvotes

Introduction

Curious what's new in managing software updates in the enterprise? I have gone through the WWDC 2023 video titled, "Explore advances in declarative device management." While many topics were covered in the video, I'm sure this community will appreciate a dedicated place to discuss a specific segment: Managing macOS updates. Here is my overview of what was covered. Some quotes are taken directly from the video, while other information is organized, presented, or described in my own way.

Refresher on Declarative Device Management

“Declarative device management is the new device management solution for all your Apple devices. It provides an autonomous and proactive management capability that allows devices to apply management logic without prompting from the server, and supports asynchronous status reporting, avoiding the need for servers to poll devices.”

Remember: Declarative device management was introduced at WWDC 2021. The best summary is that it's a proactive way of managing devices, reducing the need for things like an "inventory update" (polling) to get information about a device.

WWDC 22: “The focus of future protocol features will be declarative device management.”

WWDC 23: “The focus of new protocol features is declarative device management.”

Software Update

Here are some highlights about what's new for software update management:

  • Configurations can be used to define software update behavior. The device can proactively carry out those instructions, while keeping the user informed of the update process and giving them the opportunity to do the update themselves ahead of any deadline.

  • Predicates can be used to power sophisticated logic to control the ordering of software updates as devices get upgraded to seed and GM builds or as rapid security responses become available.

  • Asynchronous status reporting keeps the administrator up to date with the software update flow so that issues can be quickly resolved if they arise. The status reporting tells you details of the installation state and any failure reasons.

Let's dig in to the management aspect:

You could have a configuration that tells a supervised device to target (TargetOSVersion) macOS 14.0. You could also optionally target a specific build version (TargetBuildVersion). Lastly, the TargetLocalDateTime key defines a specific date time the update will be enforced.

As far as status reporting goes, you can see if the update was initiated by the declaration, the system, the user, or any combination of those. You can see which OS version the system is trying to install. You can see which state the computer is currently in (e.g, “downloading”).

From the user's perspective:

The user will clearly be able to see in System Settings which update is being enforced. Example: In System Settings > General > Software Update, a message will say: “Your organization has decided to update your device to macOS 14.0. You can choose to update now or it will update automatically on 6/6/23, 10:00 AM.” There would be buttons by the message like “Update Tonight” or “Update Now”. If they choose “Update Tonight” it’ll be downloaded and queued for installation at night. The update would occur when the device is sufficiently charged and inactive.

There will be native macOS notifications telling the user when the update is scheduled for. They'll receive a notification everyday until the deadline. 24 hours before the deadline, the notification appears hourly, and ignores Do Not Disturb. One hour before the deadline, it appears every 30 mins, and then every 10 minutes.

Let’s say they missed the deadline because they were on vacation. They come back to work, turn on their Mac, and get a notification that says, “An update to macOS 14.0 is past due. You can install it now or it will be installed automatically within the next hour.”

Similar functionality available in iOS and iPadOS.

Software update declarations and MDM commands and profiles can co-exist. However, software updates enforced by declarations will always take precedence over MDM commands/profiles.

Ending Thoughts

It will be up to each MDM vendor to implement the functionality of what Apple is offering. We have seen from vendors in the past that can be slow to implement new functionality. For example, at WWDC 2022, Apple announced the "High" priority key for the ScheduleOSUpdate command on macOS Ventura, and Jamf still has not implemented this. (See the Jamf Nation feature request for that here.)

My first reaction is that this answers almost every problem IT administrators have complained about for years, with respect software updating. Whether or not it will work well is another story (hint: we all know how well MDM update commands work 🙄).

The one piece that I'd really like to see is to have deadlines set automatically after an update is released. For example, I'd like some automatic logic that "whenever a security update is released by Apple, set an update deadline for 7 days from now." Maybe I missed it, but it doesn't sound like this functionality will exist, but at least we will have the tools to manually set deadlines. And hopefully MDM vendors will implement their own custom logic to do such a thing.

What are your thoughts?


r/macsysadmin • • Jan 11 '23

General Discussion How-To: Add existing MacOS Devices to Apple Business Manager without factory reset.

128 Upvotes

Well, I just managed to find a work around for getting non-business manager Macs into ABM without a factory reset / wipe. It's still manual, but certainly helps my situation a lot. Since I see this asked a lot, I'll share in hopes it can be helpful to anyone who may come across this. Some quick background on my situation: We only have about 20 macs. Small fleet, but before I started many of which were purchased through third parties, such as Amazon, rather than directly through Apple. We've always had an MDM in place, but it's been a very manual process to get these devices configured due to the lack of ABM. Not to mention the fact that a factory reset means that the device is out of our hands.So, wanting to fix this, I found this process can be done without making our users reset their computers and try to copy over data.

EDIT: People in the comments have had success by deleting .AppleSetupDone and .AppleDiagnosticsSetupDone from /var/db. Personally in my testing this may work but might cause some unintended side effects. I have, however, just tested the ability to boot from an external volume on a 2019 MBP. This seems to also work, which may speed up the process. Just hold option at boot on the computer your targeting, or if Apple Silicon hold the power button until “Loading Startup Options” shows. (Obviously you need to install MacOS on an external drive first. This can be done in MacOS Recovery) now.. back to my original process if anyone needs it:

  1. Create a new (temporary) partition on the computer you want to add to ABM. 50 GB is enough for Ventura and presumably previous OS’s.

  2. Start the Mac in recovery mode (Intel Mac’s CMD + R at boot, Apple Silicon - Press and hold the power button until ‘loading options’ appears and select ‘Options’ from the menu).

  3. Once in recovery, select the option to re-install MacOS. Let the process run. Time here varies obviously, but this only took about 30 minutes on my M1 MBP despite it initially saying it would take 2.5 hours.

  4. The computer should automatically reboot into the new partition. If for some reason it doesn’t you can do so manually (Intel Macs - Hold Option at boot, Apple Silicon - Press and hold until ‘loading options’ and select your new partition)

  5. At the setup screen, use Apple Configurator on iOS to add the Mac to your Apple Business Manager account.

  6. Once the device is added successfully, shutdown the Mac.

  7. Login to Apple Business Manager, go to devices, select your newly added Mac, and assign it to an MDM. (You’ll have to do this even if you have a default MDM set)

  8. Make sure your MDM syncs with ABM to see the device is added. I can’t speak for how on all MDMs, but there should be some way to refresh manually and see for sure that the new Mac is showing in the list of devices from ABM.

  9. Start the Mac in the original partition. Refer to step 4 if you're unsure how to select the right partition.

  10. Once logged in as an admin, run the command sudo profiles renew -type enrollment and the notification should appear that your devices can be automatically configured. Be sure to click on the details of that notification, and click allow. Depending on your MDM configuration you may have a login window to complete. In my case, I have to login as the user who the device is assigned to.

  11. Delete the temporary partition you made.

Once that's done, there is a 30 day period that an admin on the device could remove it from your MDM and ABM. If your users don't have admin access, this shouldn't be a concern. Once that 30 days is up, the device is now locked to your ABM forever. You now have the option to switch MDMs using the command in step 10 (after a change in ABM), ensure it's setup with ABM/MDM even after factory reset, and all the other perks of having a device in ABM. From now on, though, you should be purchasing devices directly into ABM, to avoid these kind of steps from needing to be done.


r/macsysadmin • • Jan 08 '26

Tripped and fell down memory lane today........

Post image
125 Upvotes

r/macsysadmin • • Oct 21 '25

General Discussion How Apple manage their own devices

125 Upvotes

I’ve been working with Mac devices in a corporate environment for a few years now, and I can’t help but wonder how Apple itself handles this internally.

Managing Macs at scale is a nightmare. I can understand how we are still forced to use a local account even when the device was added to ABM

I’m really curious how Apple does it in-house. I honestly feel Macs were never truly designed for the enterprise world.

If anyone has insights, I would love to hear about it.


r/macsysadmin • • Nov 04 '22

General Discussion I just wanted to say I appreciate how helpful and non-judgmental this sub is compared to other tech-focused subs

122 Upvotes

I am a system admin that recently started having to manage a macOS environment and it has been a challenge coming exclusively from a windows background. Every post I have made here with issues has gotten helpful, non-condescending answers or at the very least helped me correctly understand the problem so I could ask the right questions in my own research.

This is very much not the case in other tech-focused subs. I feel like in a lot of those subs people are quick to be judgmental, unhelpful and condescending. So kudos for such a great and helpful community. This sub has already saved my ass several times and I am sure it will several more. Glad to be here and hopefully help others as I learn more myself.

Mods, sorry if this kinda thing is not allowed, I just wanted to say something about the community you have created.


r/macsysadmin • • Sep 10 '26

The macOS Command Line Tools Every Apple Admin Should Know

121 Upvotes

An article on Tech Thoughts walks through a practical toolbox of macOS command-line tools for Apple admins, from everyday basics like man and defaults to newer tools like app-sso and the Jamf CLI, plus tips on combining them into real workflows.

The macOS Command Line Tools Every Apple Admin Should Know


r/macsysadmin • • Dec 13 '22

General Discussion I had no idea that ChatGPT would be such a useful admin tool

Post image
120 Upvotes

r/macsysadmin • • Jul 29 '19

Hardware $15 Mac Mini racking solution if anyone else is looking for a low cost effective option.

Post image
112 Upvotes

r/macsysadmin • • Jun 09 '21

macOS Updates Add external purchased Macs to Apple Business/Apple School manager with macOS Monterey through Apple Configurator!

Thumbnail
developer.apple.com
111 Upvotes

r/macsysadmin • • Jul 23 '25

General Discussion Had a manager infer banning Macs

110 Upvotes

Not my manager specifically but a person titled IT Manager in an organization wide list serv suggest banning Macs. Considering there are about 25k across the org it's not going to happen obviously.

I'm still trying to decide if dude was serious or not.

I come from a history of being a die hard PC guy but have become very agnostic as my current position is about 90% Mac. This attitude just grinds my gears, doubly so from someone that is in a management position.