Updated May 30th, 2021.
Holy cow, was I in trouble. My Mac wouldn’t start. Actually, it started part-way– it got to the sign-in screen, and it even let me enter my password. But then it spun, and spun, and spun, but never showed my desktop. I waited a long time but it just wouldn’t bring up my stuff. This wasn’t a matter of forgetting my password– the box didn’t shake, so I knew I got it right (I even tried entering an incorrect password to see what happened, and of course it shook then).
I had a backup but restoring that much stuff is a long process, and I didn’t want to spend the time. I hoped for a “fix,” and I found one. Here’s how I did it.
Trouble-shooting this sort of problem starts with finding out whether the problem involves the Mac itself, the operating system, or the user folder. It’s almost never the Mac itself, and it’s almost never the operating system. I had another user (“temp”) which I’d previously created for just such an occasion– it’s just a plain, almost-never-used user, in pristine condition– so I turned off the Mac, turned it back on, and tried signing into the “temp” user. And it worked.
It would be VERY smart to go to System Preferences/Users & Groups and create a new Administrative user TODAY in case you have an emergency like mine. It gives you a place to stand while you fix your real user. I hope you never have to use it but if you do, you’ll be ready. Make that extra user now, before you need it. Yes, there are ways to create an administrator user even when you can’t log in, but it’s much easier to create a user if you do it when your Mac is working.
So now I knew the Mac was probably OK and the operating system was probably OK. That left me with a problem in my user folder, or maybe a problem in the operating system that wouldn’t let it log into my user. I crossed my fingers that it was the latter (because that’s an easy fix).
This is going to sound crazy but Step One was “delete my user” (in the Users & Groups preference pane). Note that I didn’t want to delete my user folder. The plan here was to tell the operating system to forget about my Christian Boyce user, but to NOT delete the Christian Boyce folder (because that’s where my stuff is). Yes, this is sort of a nervy move. Be careful to do it without changing the Home folder. You just want the operating system to let go of it. And yes, it felt better knowing I had a backup. One more time: Don’t Change the Home Folder.
Step Two was to create a new user, again in the Users & Groups preference pane. The Plan: create a user with the same name and password as the one I just deleted, in effect getting a fresh start– but with my Desktop, Documents, Downloads, Pictures, Movies, Music, and the (invisible) Library folders already populated.
So I made the new user, being VERY careful to use the same Full Name, Account Name, and password as the account I’d just deleted. You have to get all three things exactly right or else it’s no dice. If you’re trying to rescue your own user folder, and you’re not sure what your Account Name is, open the Users folder and see what your folder is called. That’s your Account Name. In this picture, my folder is called “cboyce” and that’s what I had to enter for the account name. (Note: when you delete a user, its folder gets “(Deleted)” appended to it. Rename the folder so it doesn’t have “(Deleted)” after it and be careful not to leave a trailing space. I’ve already done that in the picture.
Also, you almost certainly want your user to be an “Administrator” account so get that right too. Wouldn’t hurt to add a “password hint” (you’ll see the hint if you enter the wrong password three times).
Normally, when you create a new user, it’s truly new so the operating system creates a folder with the new user’s account name, and it fills it up with a Desktop folder, a Documents folder, and so on. But, in this case, I already had a folder with the “new” user’s account name on it. That led to this dialog box:
Obviously, the answer is YES. I did indeed want to use the existing cboyce folder. So I clicked “Use the existing folder.” Then I logged out of the Temp user (Apple menu/Log Out…), then I clicked on my user (which had a different icon than before– which made sense, it’s a “new” user), signed in with my password, held my breath, and… voila! It worked! All of my stuff was just as I left it. A happy ending.
You might be wondering why I had this trouble in the first place, and so am I. Obviously something went wrong– a file became corrupt, or a setting got messed up. I was lucky that the problem could be corrected in this fashion but for this situation, the delete-your-user-recreate-your-user method was exactly the answer.
I hope you never need to fix a problem like this. But if you do, you’ll know how. Contact me if you need extra guidance or hand-holding.
Copyright 2008-2024 Christian Boyce. All rights reserved.Did this article help you?
Maybe you'd like to contribute to theChristian Boyce coffee fund.
Want some some quick iPhone how-tos?
Visit me at iPhoneinaminute.com.
Looking for quick tips about Macs?
See my One-Minute Macman website!
Help! I’m trying to do this as you posted. I deleted myself as a user, keeping the folder. My folder was renamed as “Paul (deleted)”. I’m ready to recreate my user account but the system will not allow me to rename “Paul (deleted)” to “Paul”.
What should I do now?
You have a couple of choices. One choice is to create a new user with the name “Paul (deleted).“ A better option is to log in as the root user. Do a Google search to find out how to do that. When logged in as the root user you can rename anything you want. So, make your folder have the right name, and then create a new user being very careful to use the same name you used originally.
Christian,
Thank you, thank you, thank you. It worked and everything is back to normal. Also thank you for the incredibly fast response to my question.
If you’re in the DC area, I owe you a beer.
Paul
That’s awesome!!!!
its not giving me an option at all to log in into a different account or even a temp account. What do I do
Hi Ruth. Tell me all about it, starting from “I turned the Mac all the way off, and then turned it on with the power switch.”
Hi Christian, I’m trying to do this but it asks me to enter the password for the user I am trying to delete. Every time I try to enter the password it says it’s wrong. I know for a fact that I am typing the right password!! What can I do?
Hi Hannah– let’s figure this out together. I’m sure I can help you.
This worked!!! Thanks so much for this tutorial, Christian. Life saver!
That’s awesome. I know how it feels– nervous time when you are in the process, but elation when it works!
Thanks for your help. I tried 20 things and nothing worked until i found your post. Well done! Very well done indeed!
Fantastic. Now that you have the machine going double-check that you have a good backup. I like Time Machine myself.
Absolute life saver. I consider myself relatively computer savvy and couldn’t fix my wife’s iMac until I read this thread. Christian you are a genius.
You made my day. Glad I could help you!
Thanks so much Christian!! I’ve tried so many things and this was the only way that worked!
Awesome.