Hide pre-existing management account

HariSeldon
New Contributor III

Hello,

is there a way to hide a pre-existing management account that I created when enabling the macOS user-initiated enrollment?

I've tried to rename the account name with _ in front of it (_accountname) as Apple hides automatically an account with underscore when created like this, but it doesn't work.

I assume there is another way but I'm not sure about.
Thank you

2 REPLIES 2

dgreening
Valued Contributor II

Indeed. Try this. Works like a charm for us in Catalina:
dscl . create /Users/username IsHidden 1
chflags hidden /Users/username

HariSeldon
New Contributor III

This worked! Thanks so much