Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

My friend updated his 13" MacBook Pro to OS X Lion today. After upgrading he has been met with a login screen showing a single account, "Guest". This "Guest" account is password-protected and none of the existing passwords he used on the computer seem to work.

My friend had previously installed rEFIt on his computer, which apparently hasn't been updated for Lion yet.

I found this thread on MacRumors where a few other people are reporting the same problem.

Does anyone know of a solution?

share|improve this question

3 Answers 3

up vote 4 down vote accepted

An easier way is to:

  1. Get a terminal/console somehow (e.g. start up in recovery mode by holding down option).
  2. Delete the file /Volumes/<your root volume>/Library/Preferences/com.apple.loginwindow.plist.
  3. Reboot.

That's it.

share|improve this answer
    
That is a much better answer, thanks! –  Jeremy Banks Oct 14 '11 at 3:40

He found a solution on the Apple discussion boards (slightly edited):

I solved this exact problem by doing the following:

  • Restart in recovery mode by holding the option key while booting.
  • Open the Terminal, then run resetpassword to set root password.
  • Log out, then log in to the now-available root account.
  • Go to "Users & Groups" in System Preferences, and create a new user with the exact same username as your old account. When it asks, confirm that you do want to use the existing directory.

    • You can find out the username by looking for the folder in /Users.
  • Log out, and your account is back!

This worked for me. I think I lost some of my Desktop's files but they were not too important to me...

My friend reports that the files on his Desktop were intact, but use at your own risk.

share|improve this answer

ok, after 10 days continuous and persistent and hectic searching (talking to apple as well) for a fix on the guest account after the lion upgrade, i finally made it work.

for some of us, only the user account was available in the login screen which means that we could not log in our user account accessing our data.

follow the steps:

1) remove the back of your computer

2) carefully remove the hard disk. (that is not difficult but make sure that you unscrew the tiny screws that hold the side metallic pegs too)

3) buy an external hard disk case SATA to USB, 2 1/2 inches. very cheap, bought mine for 12 euro.

4) connect your hard disk drive from your macbook or macbook pro to the external hd case you bought. by doing this, you transform the hd drive into a USb stick.

5) connect the external hd case to another computer. that will be read as a USB drive to the other machine so you can browse through all your files and folders.

6) go to: library/preferences/com.apple.loginwindow.plist

7) delete the file

8) remove the hd drive from the external hd case

9) put back the hd drive to your macbook

10) power it on and now you can see your user account plus another account named "other".

the trick was to remove the hd drive and use it as a usb drive.

this is the only way to remove the loginwindow.plist file from the machine.

all other ways through the safari only mode will NOT work as the accessibility the terminal gives you is fictitious, is NOT real.

hope you can all get your mac back.

ps this fix only applies to users who upgraded their lion to 10.7.2 from 10.7.0 and after reboot the only account showing in the login window was the Guest Account with the safari only mode available.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.