5

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.

4
  • 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
    Commented Oct 7, 2019 at 7:28
  • 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 :( Commented Oct 7, 2019 at 8:00
  • 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
    Commented Oct 8, 2019 at 4:42
  • A slightly different solution (to what I think is the same problem) was posted here: superuser.com/questions/1495418
    – jimtut
    Commented Oct 24, 2019 at 11:37

1 Answer 1

6

I had a similar problem where when updating to Catalina, a screen time password has been set on my mac, but was not corresponding to my iPhone screen time password. The solution I found was:

  • Create a new admin account
  • Log out of iCloud (This removes the screen time password set by iCloud)
  • Set a new screen time password (This sets your account to standard)
  • Log into iCloud again
  • Restore your account as admin using the account created in step 1

With that I have a screen time password I know.

2
  • 1
    I followed your steps, and while this did allow me to create a user without screen time sharing and with my own passcode, as soon as I enabled screen time sharing all the settings were overwritten, and my old passcode was set again. So while it did not allow me to reset my passcode, I'm still going to accept it, as it did solve my specific problem, which was disabling screen time sharing on my Mac. Thanks! Commented Oct 9, 2019 at 8:46
  • 1
    I followed these steps and while I was able to set a new screentime password it was always replaced after signing in to iCloud. I was offered to link the fresh account's new screen time code to my iCloud account but it was still replaced with the unknown one. No matter how I did it with the fresh account, the previously set (unknown) screen time password always came back. I have no idea what my unknown screen time passcode is. I have also tried with two fresh iPhones. The unknown passcode always gets set after I sign in to iCloud regardless of the freshly installed device. Commented Feb 14, 2020 at 7:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .