My team recently had an unusual MDM lock ticket escalated to us. The user had already been provided with the PIN from our MDM, however the lock screen said they needed to wait 24,284,826 minutes (over 46 years!) before they could enter the PIN.
This was a new one for me so I immediately jumped on the MacAdmins Slack to see if anyone had dealt with this problem before. The fix turned out to be relatively simple, read on for the details.
Ben “MacMule” Toms shared a six year old blog post that was very similar: “iPhone is disabled. Try again in 23,053,554 minutes”
Ben’s summary seemed like a very plausible explanation of what might have happened in our case:
1. The Mac was MDM locked and left on.
2. The Mac drained it’s battery completely while in storage.
3. With a full battery drain and subsequent power on, the Mac’s clock reverted to Epoch time, (00:00:00 UTC, January 1, 1970)
An MDM locked Mac won’t connect to Wifi and we couldn’t follow Ben’s solution of using an active SIM to get his iPhone on cellular. But would an MDM locked Mac get online over Ethernet? Turns out it will!
I MDM locked my test Mac, connected a USB-C Ethernet adapter and then watched to see if it would pull a DHCP lease. I didn’t want to risk trying to roll the clock back, but with the knowledge the Mac would get online I figured it was worth a shot for our user.
Sure enough, it worked! Our user connected their M1 MacBook Air to Ethernet, waited 30 minutes, rebooted and the timer was gone. They could immediately unlock the Mac and get to work.
Yesterday a fellow MacAdmin on Slack posted about the same problem. I shared this procedure and they confirmed it worked for them as well, clearing the timer in just 30 seconds!
Pingback: Weekly News Summary for Admins — 2022-08-26 – Scripting OS X
THANK YOU!!!!
This worked perfectly, thank you very much!!
Glad it helped!
Hey Kevin, what is the purpose of waiting 30 minutes?
I am suffering from this same issue. I bought a USB-C ethernet adapter and plugged it in. My Mac still boots up to that same wacko timer. I’m not sure I waited the full 30 minutes, though.
The purpose of waiting 30 minutes is because there is no telling how long the Mac will take to update its clock. In this locked state you cannot force an NTP check-in so are at the mercy of the Mac doing it automatically.
Which ethernet adapter did you buy? There is a chance not all of them would work in this scenario as the environment will have very minimal hardware support.
Thank you very much for this. It was very helpful!
Any recommendations for a USB-C to Ethernet adapter? Mine doesn’t seem to work and I am stuck with a laptop that I can’t use despite having the unlock code.
Your best bet is probably anything made by Belkin.
Apple sells one of their adapters directly but there are other Belkin models on Amazon that should work as well.
It worked for me on MacBook pro M2 in just few seconds after connecting an adapter. After that laptop wifi also is functioning. Now just waiting for admin to unlock it.
Would be so much easier if the Mac were still big enough to plug in an ethernet cable and not need a dongle!
Thank you so much it worked perfectly
Worked for me!!!
Glad to hear it!