3
3
I have a bit of a problem with screen time on my MacBook.
I have used screen time on my iPhone for quite a while now, and I mainly use it to limit the usage of my own device. I set up downtime to basically lock down almost everything on my iPhone between 22:00 and 08:30 the next morning.
Because I am weak, I have set my screen time passcode to a random passcode, which I promptly forgot, to make it harder for me to change the settings.
As I am eager to try out new functions of Mac OS, I just updated my MacBook to the Catalina Golden Master. What I did not know was that Catalina enables screen time sharing as soon as you login to iCloud with your account. So now, after 22:00, my Mac will basically shut down any apps that are not whitelisted (Which is basically any app that has been downloaded through the App store.)
This is a problem, as I use my MacBook for work, and I often use it between those times, I also have a lot of iCloud functionality synced, so I do not really want to unlinke iCloud. Now in the past, I have used encrypted backups combined with pinfinder to recover the passcode, but with iOS 13 it seems that the passcode is stored in the cloud. And (Murphy's law in action), I do not have any iOS 12 backups with this specific passcode.
Is there any other way to recover the passcode, or override screen time settings from the terminal?
I am very aware this is exactly why you don't use beta software on your main machine, and I should have checked before updating willy-nilly, but what can I say, I'm an idiot.
But the reality is that, while I have learned from my mistake, my machine is now hardly usable, and I don't want to go through the hassle of downgrading either my Mac or my iPhone. (Also, when Catalina releases, I'll still run into the same problem, because I think screen time sharing is turned on automatically)
EDIT:
Ok, I fixed my problem of not being able to disable screen time sharing by using the answer provided by impact27. One thing to note is that while it does set your passcode for screen time locally, it does not enable you to reset your passcode this way. Enabling screen time sharing immediately sets all your settings from your iCloud, including your passcode.
So how can I reset my screen time passcode?
Unfortunately, as soon as your on iOS 13 and Catalina, I'm afraid there is no way to find your passcode somewhere. I called Apple support, and they said they couldn't help me out either. I think your passcode is only stored in the cloud, at least I couldn't find any local files with the code in it.
Luckily for me, I vaguely remembered the numbers to my code, just not the order in which they occur. So I had been trying a 'slow brute force' for the past couple of days, unfortunately without any luck, since Apple locks you out for an X amount of time after you get the code wrong a few times. So this method took me several days of guessing, with no luck.
One thing I noticed when trying impact27's answer was that on a new user account, the 'Entered wrong passcode x times' counter was reset. In the end I was able to speed up my brute force attack by just creating a boatload of user accounts, trying some numbers, and switching to the next account. Finally, I was able to crack my passcode this way.
However, this is only a realistic option if you know at least part of your passcode.
There's potential for the phone that restoring from an encrypted backup may work; otherwise it's erase & set up as a new device. For Catalina, idk. If it's carrying this PIN over iCloud you might have to ask Apple. I'd say take it to an Apple Store, but they may not have been primed for Catalina yet. – Tetsujin – 2019-10-07T07:28:37.067
Yeah I used to use encrypted backups to recover the code, but it seems that the code is now stored in iCloud, so recovering from a backup does not help :( – Nico Griffioen – 2019-10-07T08:00:17.773
I forgot my ScreenTime password, and I couldn't find anyway around it. Luckily I kept guessing and hit it eventually. But, the only published way to "reset" it was to erase the phone! I'm assuming that they have Mac OS locked down in a similar manner. I might start with a new user acct on that Mac, but don't sign into iCloud yet (if they still allow you to NOT sign in). See if you can set a screen time password "locally". If not, maybe make a new/temp iCloud acct. If that works, try switching the Mac acct to use your normal iCloud acct & hope it keeps your local ScreenTime password... – jimtut – 2019-10-08T04:42:35.463
A slightly different solution (to what I think is the same problem) was posted here: https://superuser.com/questions/1495418/
– jimtut – 2019-10-24T11:37:32.350