Forgot Mac Password? How to Reset Your Mac Password (with or without CD)

Aug 10, 2010 - 362 Comments

So you forgot your Mac password… uh oh. Don’t worry, it happens and you aren’t out of luck. You’ll need to reset the forgotten password and there’s several ways to do this, we’ll focus on the three best methods; the first is dirt simple and will utilize the Apple ID (yes, the same on you use for iTunes and App Store purchases), the second method is a hack of sorts and does not require a Mac OS X recovery drive or CD and is guaranteed to be effective, and the third trick is fairly simple but it requires either a Mac OS X DVD, boot disk, or Recovery mode partition to use. Use whichever method works for your situation, but whichever method you choose you will have your password reset and gain access to your stuff again.

forgot mac password

Resetting Lost Mac Passwords with Apple ID

This is the best approach for Mac users running new versions of OS X (Mavericks, Mountain Lion, and Lion) because it’s extremely fast and simple. The only requirements are that you must have tied an Apple ID to a user account, and you must have internet access so that the Mac can contact Apple to initiate the reset procedure.

  • From the Mac login or boot screen, enter any wrong password three times to summon the “Password Hint” box and a message saying “If you forgot your password you can reset it using your Apple ID”… click on that (>) arrow icon to start the Apple ID based reset
  • Enter the Apple ID credentials, this is the same information used to log into the App Store, iTunes, and iCloud, then click “Reset Password”
  • Confirm the new password and let the Mac boot as usual

That was easy, right? Indeed, the Apple ID password option is the fastest and simplest method available to Mac users, and when that option is available it’s the preferential method. But what if you don’t have an Apple ID attached to the Mac account? Or what if you don’t remember that password either, or if there’s no internet access? If you find yourself in a situation where the Apple ID approach is not possible, don’t worry, because that’s what we’ll cover next.

Reset Mac Password – without a CD or Boot Drive

reset mac password Using a pretty nifty trick you can reset a forgotten Mac password without a Mac OS X installer CD/DVD or any kind of boot drive or recovery partiton, and without having an Apple ID. This is basically the be-all-end-all approach if nothing else works, because it’s guaranteed to get you back into a Mac when the other options are available, and it works in literally all versions of OS X. The steps may seem a little intimidating at first but I assure you it’s easy if you follow them exactly, here is exactly how to do this in three stages:

Stage 1) Boot into Single User Mode and remove a setup file

  • Restart the Mac holding down the Command+S keys, this will take you into Single User Mode and it’s Terminal interface
  • You’ll need to check the filesystem first:
  • fsck -fy

  • Next, you must mount the root drive as writeable so that changes will save:
  • mount -uw /

  • Now, type the following command exactly, followed by the enter key:
  • rm /var/db/.applesetupdone
    reset forgot mac password

  • After removing the applesetupdone file, you need to reboot, type ‘reboot’ and hit enter

Stage 2) Create a New User Account upon System Boot
You aren’t finished, but the hard part is now over – no more command lines, you’ll now be in the familiar Mac OS X GUI to finish the password reset process. In this step we just create a new user account as if you just got a new Mac:

  • Upon reboot, you will be presented with the traditional “Welcome Wizard” startup screen just like when you first get a Mac
  • Follow the welcome wizard and create a new user account – making the account name different from the account whose password you want to recover
  • Continue on and boot into Mac OS X with this newly created user account, this new user account is an Administrator and has administrative access

Stage 3) Reset the Forgot Password via System Preferences
You are almost done, now you just need to reset the forgotten user account password using the Accounts control panel:

  • Once you are booted into Mac OS X, click on the Apple logo and then navigate down to “System Preferences”
  • Click on the “Accounts” icon in System Preferences
  • Click on the Lock icon in the lower left corner of the “Accounts” preference window and enter the newly created user credentials, this enables you to change other user accounts and reset other users passwords
  • On the left side user panel, select the user account containing the forgotten password
  • With the user of the forgotten password account selected, click on the “Reset Password” button
  • Enter a new password for that user, be sure to include a meaningful hint so you don’t forget it again!
  • Close System Preferences and reboot the Mac
  • You can now login to the previously inaccessible user account using the newly reset password! All user files and settings are maintained as before the password was forgotten

Optional: If you’d like, you can delete the temporary account you created to reset the users password. This is wise for security purposes.

Here’s how this works: by deleting the .applesetupdone file, you are telling Mac OS X to re-run the setup wizard, which by default creates a new user account with Administrative abilities, which can then reset the forgotten password of any other user on the Mac. This is a great trick and excellent troubleshooting technique if you don’t have a Mac OS X installer CD/DVD laying around, which is pretty much the norm as many people tend to lose or misplace the installer disks that come with their computers. I have used this exact method multiple times to restore various Macs with forgotten/lost passwords.

Reset Mac Password – with installer CD/DVD, boot drive, or Recovery Mode Partition

reset forgotten mac password Resetting a forgotten Mac password is pretty easy if you have an installer disk, drive, or the recovery partition handy, which method you use here will depend on the version of OS X the Mac is running.

For OS X Mavericks (10.9), Mountain Lion (10.8), and Lion (10.7) with Recovery Mode:

  • Boot into the Mac OS X boot loader menu by holding down the OPTION key at system start
  • Choose the Recovery drive to boot into recovery mode and wait until the “Utilities” screen appears
  • Pull down the “Utilities” menu and choose “Terminal”
  • At the command line, type “resetpassword” without the quotes
  • Confirm the new account password, then reboot the Mac as usual

For Mac OS X Snow Leopard (10.6), Leopard (10.5), and before with install DVD/CD:

  • Insert the bootable DVD into the Mac and restart or start the computer
  • Boot the disk by holding down the “C” key at system start
  • Select your language preferences and then under the “Utilities” menu select “Password Reset” (it may say “Reset Password” instead, depends on the version of Mac OS X)
  • Select the hard disk that the forgotten password is on, then select the username of the forgotten password, you’ll then be asked to select a new password
  • Reboot as usual from the hard drive, using your newly reset password as the login!

This older trick is borrowed from our article on how to reset a lost password with a CD.

These boot menu methods are obviously easier than the #2 manual trick, but whether or not they will work for your depends on if you have a recovery partition (all new Macs do), or with older Macs, if you have a DVD installer laying around. Because we’ve covered solutions for every possible situation though, one of these options will work for you to reset that password and be using the Mac again.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Mac OS X, Tips & Tricks, Troubleshooting

362 Comments

» Comments RSS Feed

  1. [...] you do not have an installer CD or DVD handy, you can also reset a forgot Mac password using a crafty [...]

  2. [...] If you don’t have a CD or DVD handy you can still reset your forgot Mac password. [...]

  3. Steve says:

    The no CD technique is really crafty, I haven’t heard of that one before.

  4. Mathias says:

    Does this mean you can hack into any mac this way by just resetting the password??

    • Nick says:

      Yup, you can prevent that by using FileVault or a boot level password though

      • Jake says:

        So how could you get around that?

        • Kully says:

          reset the motherboard… just unplug the machine for a while and press the power button(hold it on a laptop) and if there is a “clear cmos” button push that…

          • Darren says:

            Does what you just mentioned remove the Firmware Password that someone can place on your computer if they have the Mac OS X Install DVD’s. I heard that you had to change the amount of ram in the computer. For example if there is 2 GB of ram, take one out, then turn the computer on and the Firmware Password would be gone. Then you would put the ram back in. Is what you said an easier way of doing it? Also, could you please be more specific in the process of resetting the cmos. How long do you have to unplug the machine for? Also, do you plug the machine back in then hold the power button or do you do it while it is unplugged then plug it back in to turn it on. Also, I am doing all of this on a recent generation iMac. Please help me out; I would very highly appreciate it. Thanks!

  5. GGeek says:

    @ Mathias:

    Technically, yes. Please use responsibly.

  6. Mathias says:

    Thanks for the replies! This means I will finally do something to encrypt my data.

  7. motoko says:

    at the startup:
    1. Cmd-s (boot in SUM)
    2. mount -uw /
    3. launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
    4. cd /var/db/shadow/hash/
    5. guid=`dscl . -read /Users/myuser GeneratedUID | awk ‘{print $2}’`
    6. cp $guid $guid.old
    7. passwd myuser
    Changing password for myuser.
    New password:******
    Retype new password:******
    8. reboot

    tested on 10.5

    • doystin says:

      one that’s easier to remember than that is
      1. cmd-s
      2. mount -uw /
      3. cd users
      4. ls (list the shortnames of all profiles)
      5. “shortname” passwd (type the shortname of desired profile — minus the quotations
      new password ******
      retype password ******
      6. reboot

    • Adriana says:

      I press command+S and doesnt do anything :(((((

      this is frustrating

    • usan says:

      Followed directions and hit reboot, now I just get a grey screen and the circle of death, any fixes for that????

  8. Gary Orechwa says:

    Does this change the Keychain’s password to the new password?

  9. bez says:

    whats the point of setting a password if its this easy to bypass it then?

  10. Zipe says:

    That password is big joke if that can change so easily! Apple should inform more of this to basic users so they could protect data and files much better!

  11. Bejje says:

    I agree with other posts. People say Mircosoft has bad security thinking, but this is redicilous. I really hope Apple fix this “bug” asap.

    • doystin says:

      no an apple bug as much as it is a unix feature — can do the same thing to linux boxes. like the others have mentioned the firmware password is the “fix”……..but there’s a work around for that as well ;)

    • Zachary Kolk says:

      Since Mac OS X Lion is now the OS for new Macs, I decided to try this “hack” out on my iMac. It didn’t work for me. Maybe I’m doing something wrong or maybe Apple changed something, but you could try it out for yourself to see if it can be done to your Mac (if you have Lion of course).

  12. Ex2bot says:

    If someone can get physical access to your machine, they can get in no matter the platform. Encryption is the solution. Truecrypt for Win, OS X, and Lin. Filevault is OS X only.

    Apple did recently hire a heavy-duty security guy. So here’s hoping they lock things down better. But they’re never going to take away the ability to reset the pw if one has physical access to the machine.

  13. iTool says:

    Basic user here.

    Does using the above simply create a new user account? By that I mean that browser history and passwords would not be accessed? Also what about if particular folders were password protected, could they be accessed??

  14. Iwan says:

    (In case of Read-only file system) First you have to use this command:

    mount -uw /

    before you can use:

    rm /var/db/.applesetupdone

  15. Justin says:

    Question #1: This has no effect on the information on the hard-drive does it? (This wont whipe the harddrive clean will it?)

    Question #2: Once shes created her new account, i dont think the information from the original one will be there…how would you access it? Or am i wrong entirely? jajaja

    • Justin says:

      *im asking for a friend who is locked out right now hahaha

      • Justin says:

        I should’ve mentioned…she locked out on the Login screen…like the MAIN one you use when you startup the comp or when u bring it back from sleep before you can even see the desktop

        Will this still apply?

        • moz says:

          yes it works fine. just transfer all files from the old user to the new user and you’ll have no problem.

          it works because the newly created account is superuser, and can see files from all users on the machine. you just navigate to their directory and copy the files.

          your hard drive information will be fine, it doesn’t effect anything except create a new user account.

          you can also do this but it might be above your skill level:

          1. command-s on boot
          2. mount -uw /
          3. cd users
          4. ls (list the shortnames of all profiles)
          5. passwd username (type the username of desired profile)
          new password ******
          retype password ******
          6. reboot

          • Darren says:

            What do you mean by profile? Do you mean Short Name? Also, how would I separate each profile name, would use a comma? Thanks!

          • Ayanita says:

            Hi Moz,

            Your code worked for me, but I have a problem. 1. some of the keys on my board dont work so I have had to be VERY delicate to input your code. It was the only code that actually got some where. 2. the top left hand side of my screen has a big blob, but i can still see alot.
            Once I was able to use your code it went back to the same login in screen that I am trying to get away from. I know my password I just can’t type it in because of all the key letters that I need. Help!

          • maddy says:

            Do you just type these steps or what? Will you explain more details please

          • james says:

            Thanks a lot
            this thing help me alot but i have one question.
            does this will erase my all data also?
            please give me reply on my email just in case if i don’t find out this web again cause i am searching on google.

            again thanks a lot sir

  16. [...] enabled only in the form of a user login and password. If this is the case, you can use methods to reset a forgotten Mac password to get around the user login [...]

  17. caffecaldo says:

    Weird. My Macbook running 10.6.4 doesn’t have /var/db/.applesetupdone .

    Granted, I didn’t boot into single-user mode, but I did open Terminal and check from there. I even did “sudo bash”, in case it was restricted to root. The file just ain’t there.

  18. Mary says:

    I tried to enter rm /var/db/.applesetupdone. My mac then says override rw——- root/wheel for /var/db/.applesetupdone?

    What should I type next?
    If I use the option 2 with the disk, will I lose the files I have on my computer?

  19. [...] can check out some other articles related to password recovery, including how to reset a forgot Mac password and how to bypass a Mac firmware [...]

  20. Eric says:

    I appreciate the help, but after using the no cd method it booted up as if I was setting up the new user account. Thing is, it asks me what language to use. I select English, but it just reloads back to the same language screen over and over. I tried safe boot, it just gray screens with the wheel running forever. Any suggestions?

  21. [...] you happen to forget your Mac password, you can reset it through a few different [...]

  22. Shawn says:

    I am surprised a person can get a shell or command prompt without being prompted for user name and password. Which I am sure could be very easily added as a feature, then what you would do in theory is boot from a usb drive using a temporary ram drive placed on the installed hard drive and an os using the same file system as mac, the os you boot would be modified to read and write from the user information already on the hard drive after you have already booted with administrator on another copy of mac os you would then add change and remove as usual, however if these files were encrypted you would have more trouble, but seeing we know what the files should look like, we could compare and make deductions pragmatically and fairly quick if we are able to recognize where the start and end of a file are and could match them by name, so if we just encrypted the file names and added decryption into the browser retained only during session where the key is entered when you log on, then a successfully logged on user would in theory be able to differentiate file names, where user holds private key and his profile has the public key stored. Seeing the machine loads certain files in a specific order with file names, system files used in the boot would have to remain named correctly, the best thing to do is create your own file system and conversion where you boot and everything you look at is in a way unzipped as you browse. You could really make things confusing by encrypting the directory structure and any type of registry, where when it is decrypted it get placed in a temporary ram disk or (temporary store on hd) so then you stay compatible, with all but detour anyone with a common knowledge of the directory structure, they then will have to attempt to recognize the hd fragmentation in comparison to other drives they have studied…. How to do this not sure, I am still working on distributed session and user management with php considering a high level of information encryption so I figure by the time I get to studying file systems and hard drives more in depth I will be a weary old man who has forgotten why he started, so if you encrypt files that are the same throughout installations, make sure they look like one big clump with a hundred different files un-determinable, like save ten bytes in Florida, ten bytes in Minnesota, 10 bytes in California, ecetera. So yes your right it is almost impossible

  23. joe says:

    you guys make this sound so eazy

  24. Michael Masters says:

    yeah’ a big thanks.. my maC will now be fixed…

  25. Mack says:

    Tried stage 1 after that nothing happened. can’t get to stage 2, just getting a white screen with the apple logo and the little round circle keeps going and thats it.Please help soon.

  26. Anthony says:

    hi,
    Doing this on a black macbook… After Stage 1 it all seemed to be restarting – but it never made it. I get the apple, the spinning round circle, and then blue. Then grey with a big black square in the centre, only for a moment. Then blue again. Then grey, then blue… and it stays on blue.
    I used my install disk from a macbook pro 13″ (more recent, running 10.6, while the macbook in question is running something earlier, .4 or .5) – and ran repair disk – it said it had repaired something. Tried to restart though and same problem occured again.
    I have no clue what to do… can’t restart, and continue with Stage 2. Any help hugely appreciated.

  27. Mavagatt says:

    This will be a new one for all you whiz’s out there…The situation goes as follows:
    Forgotten password for login so:
    Entered SUM, Changed password for admin..gained access.
    Shutdown mac, Turned back on and Login screen appeared. Attempted to login….No go.
    Entered SUM again, Deleted applesetup done, Created new Admin account. Changed passwords, restarted system, attempted login, No GO.
    Entered SUM AGAIN!!…enabled root user, changed Passwords for all accounts…Restarted system and you guessed it….STILL cant login to any user account. SO…..Did some research and tried Resetting Login Keychain. Still not able to login after restart.
    So I tried resetting the memory upon start up by holding Option Cmd R+P until 4 chimes have sounded. Still not able to login.
    So I once again changed the admin password via SUM and downloaded a MAC OS X 10.8 upgrade. Installed to a new Administraor Account and restarted the system. STILL CANT LOGIN!!!!!
    I have been sitting on this bloody machine for 4days straight now trying to gain access to it without having to change the password through SUM everytime I login, and It seems that no matter what I do.. The mac just reboots with the old Account login settings once I shut it down and try to restart with a new login.
    WHAT AM I MISSING HERE PEOPLE? how can I try all of these things and still not be able to login to my damn computer? LMFAO!!!

    • Mavagatt says:

      To sum it up I’ve tried:

      CMD+S
      /sbin/mount -uw /
      cd db
      ls
      rm /var/db/.AppleSetupDone (and) rm ./.AppleSetupDone
      reboot
      FAIL!!!….

      CMD+S
      /sbin/mount -uw /
      passwd admin
      NEW PASSWD
      REPEAT NEW PASSWD
      exit
      login with above^…..shut down>attempt login with above^
      FAIL!!!

      OPT CMD R+P
      Hold until 4 chimes have sounded ( resets memory )
      attemp login
      FAIL!

      Repeated CMD+S admin passwd change and once into comp..reset Keychain…changed passwords for all accounts
      Attemped login after restart
      FAIL!

      SO to sum it up…I can gain access to thee mac through SUM, but no matter what I do once I’m in.. once I shut down the Comp and Turn it back on…I still can’t login to any of the user or Admin accounts. I have even tried enabeling the Automatic login and restarting. Nothing is working.

      Does anyone have any suggestions of how I can fix this problem, without having the Discs to restore Factory settings?

  28. i make Stage 1) Boot into Single User Mode and remove a setup file

    •Restart the Mac holding down the Command+S keys, this will take you into Single User Mode and it’s Terminal interface
    •You’ll need to check the filesystem first:
    fsck -fy

    •Next, you must mount the root drive as writeable so that changes will save:
    mount -uw /

    •Now, type the following command exactly, followed by the enter key:
    rm /var/db/.applesetupdone

    but i cant open system preferences why?

  29. Mac Genius says:

    Some people should just stick with making an appointment and going to the Genius Bar. Just sayin’

    • Ayanita says:

      Does it cost money? I don’t have a warranty anymore! and some of my keys on the board don’t work, unless i type carefully.

  30. Tamamama says:

    How can I reset password on Macbook Air..?i also lost the disk

  31. Challex says:

    after that i cant in my macbook air
    damn stuck at loading very long…still cant in how help me ?

  32. Ken kissaki says:

    I already sucessfully reset the password, but when i open mail dan safari, the system ask for old login keychain. How can I solve this? Please help.

  33. joe says:

    I didn’t bother reading the comments but once you mount the filesystem type
    passwd USERNAMENEEDINGPASSWORD

    and it will ask you for the password you want to use

  34. Kaushik says:

    This is how one can break into Linux too. Single User on GRUB+Password change. Nice to see someone found a way to do that trick on Mac. I am new to Mac but a very old Unix/Linux hand… :-)

  35. Kaushik says:

    For those who are having problems here is my experience:

    Step 1: Keep rebooting and pressing Command+S till you get to the black terminal. Read Apple’s comment on “keep on trying”:

    After typing in rm /var/db/.AppleSetupDone make sure the file is really removed by typing
    ls -a /var/db/.AppleSetupDone
    In my case it did not remove the file.
    So I entered:
    su
    You will see the prompt changing to something else.
    Then type again:
    mount -uw /
    Now try the rm /var/db/.AppleSetupDone and it should delete the file. Make sure to check if the file is deleted before typing in reboot.

  36. sandstone says:

    You saved me and my Mac!!! After long hols I even forgot that I had changed my password…. Instructions are so clear even for a non techy savvy like me :-) thx again!

  37. dana says:

    if you use the one without a disk, and you have software installed, i have office 2011 on there and i was wondering if it would delete anything because i don’t want to loose anything :0 someone please reply if they know the answer :)

    • Vin says:

      No its will not delete anything. The whole purpose of deleting the applesetupdone file is to prompt you with a setup wizard screen so that you can create a new Admin account and reset the old acount’s password. Worked for me like a charm. Follow the instructions carefully.

      • nita says:

        I did this and created a new Admin account, but I can’t find the files from my old admin account (like my itune, iphoto and important excel docs are MIA). How do I now access them with my new Admin account?

        • Nick says:

          You don’t, from the new admin account, you go into system preferences and reset the password for the old account. You don’t use the new account as your primary account.

  38. Shannon says:

    THANK YOU! You totally saved my butt. Well-written instructions. I’m so happy to have my MB Air back! :)

  39. [...] menu item that used to be in place prior to OS X 10.7, which was one of two original methods of resetting a Mac OS X 10.6 or prior password. Why the change to the Terminal method? Probably for increased security now that recovery [...]

  40. katie says:

    will doing this with the disk delete old files, for example- songs on itunes?

  41. Black says:

    thank you! this works perfectly!

  42. Asdemos says:

    Does this method erase all of your documents and photos?

  43. Danny says:

    Worked like a charm on osx lion MacBook Air! Followed Kaushik’s advice to keep checking to see if the .AppleSetupDone was deleted before rebooting. Awesome!

  44. Joey says:

    Just want to say “Thank You”! You are awesome. It worked in just as little as five minutes.

  45. Spinning says:

    After I reboot system sits on grey screen and just spins what am i doing wrong !

  46. c says:

    i tried command+s didn’t work….please help!

  47. Rv says:

    Thanks so much for this – it worked!!

  48. Dittue says:

    I’m using MacBook Pro 15″ 10.5.08, I’ve tried all the cmnd up here but when I typed in

    “….applesetupdone” it says “No such file or directory”

    I rebooted it and it brings up
    “the mac has been offline for more than two months. As a result this mac has become unusable”
    yet in a voice prompt
    “help I’m a stolen mac computer, please return me to the rightful owner”

    please I need your help, what do I do or how do I restore it back to normal status. I will appreciate your swift response.

  49. macme says:

    I tried following the instructions on resetting password without a cd and it got me to the point of setting the Mac like when it was new. The only problem is it just keeps on going back to registration over and over again. It just won’t log on… Is there any help out there?

    • Nick says:

      Not sure if this will work but go into Single User Mode again, do these commands.
      cd /var/db/
      touch .applesetupdone

      If that doesn’t work, do:
      rm /var/db/.applesetupdone
      cd /var/db/
      touch .AppleSetupDone

  50. Tom says:

    Will this work on a new MB Pro running Lion? Thanks!

  51. [...] you ever forget your administrative password, there are two easy methods to reset the password. One requires the Mac OS X Install CD and the other does [...]

  52. Buddy says:

    Is this going to delete all my files and work?

  53. Lia says:

    I need help! I did that and I just see a grey screen with my mouse! That’s it!

  54. Lia says:

    I need help! I did that and I have the set up screen but now my keyboard won’t work and I tried multiple keyboards. Every time I press a key all you hear is a sound.

  55. pooja says:

    If I restart my MacBook, because I forgot my password,will all of my pictures and downloads like skype and quicktime be lost? Will I have to re-download all this? I do have the CD so it can be easily done. I’m just scarred it will delete my files.

  56. Luke says:

    Love it worked great thank you!!!

  57. Momo says:

    To answer a question already answered:

    No, neither method will erase any files except for the NOCD method which deletes a single file. This is not a normally used file by the user.

  58. Dchm says:

    I have a MacBook pro Smith MAC os x 10.6.3 and i forgot The password TO login. I read the info in this blog, but the problem is that I have to press “alt” when I turn the computer on, so I can pick the Mac os drive instead of the windows drive. And after I do to this, if I press cmd+s it doesn’t do anything. Please help.

  59. Mike says:

    Had to do this because I bought a corporate used Macbook off Ebay that included no disk or password…worked like a charm…and I know nothing of script.

  60. [...] you keep that disc with your computer and your computer is stolen, a thief can just as easily change your master password of the administrator giving them access to all your [...]

  61. Benna says:

    I’m using the metode with a CD and i got a little bit of a problem here, I restarted the Mac by pressing the off button, and holded the C-key, as told. But the screen is now just blue (after the rs) and it seems like nothing is ever going to happen here, so my question is, how do i solve this problem and is it dangerous to do a new restart after i did it once and pressed C ?

    • Benna says:

      Okay, so NVM people, i figured it out, but still, i didn’t figured it out, I restarted it again, and the screen is still just blue? it seems like it doesn’t reed the CD or something… Any suggestions of what i should do?

  62. djmasa says:

    Okay, so I’ve tried this option, and on reboot it asks for a software key to redo the setup. am I missing something here? I acquired my machine from an out of business ISP. Apple won’t support it because it’s in the VINTAGE era. It’s a G4 Xserve. If I had the install CD, this really wouldn’t be an issue, but I don’t.

    I’ve had this machine for awhile and hadn’t booted it up, so I never thought about it. Now that I need it, I can’t even get into it other than in Single User Mode.

    Anyone have some extra ideas?

    Thanks!

  63. sunshine says:

    my administrator account stays logged in, so when i turn my computer on, it goes straight in. the problem is that i cannot download any softward becasue there is a password on the account. and i cant access it, i got my macbook OSX from my aunt that died and have no way to recover the password. do i have to log out of the account and then shut off the computer? i tried the method and it didnt work for me so i was wondering if i need to just log out THEN shut down the computer and restart the process? please i need this done ASAP!!

  64. Cesar says:

    Thank’s a lot! It was a life saver!

  65. Shuvra says:

    Excellent work. I rescued my old Mac Mini with your help.
    Thank You very much!

  66. Jim says:

    You saved my life.

  67. craig says:

    Thanks heaps, very helpful & well written instructions :D

  68. greeva says:

    will this erase any of the files on my mac? please help thanks

  69. Jhayfason says:

    I did, and all my files gone, Please help Thanks

  70. Simon Lebex says:

    Hey,

    I am at the moment still not able to solve this problem. I forgot my initial admin password and have successfully set up a new admin with another name and a password i remember. However, my system is set up so that i automatically log in to the admin account whose password i forgot which is useful cuz it has all my stuff. Is there a way to change my original admin password via the admin rights of the second admin i made?
    It is suggested to do so via ‘system preferences’ and then change password but even if i log into the second admin i cannot change the password from the first login (maybe because i am at the time logged into that first admin as well). Is there a way around this???
    Thanks

  71. L Williams says:

    This tip worked great. I acquired a Mac from someone but had no CDs with it and was able to erase everything from the previous owner and start from scratch. Thanks!

  72. Bob says:

    Saved my life!!! Thank you!!!!

  73. Elfie says:

    This was brilliant, thanks so much for posting!

  74. George says:

    You can also make a usb drive into a copy of the disc if you have an air. Borrow a friends computer to make it.

  75. Bob says:

    This worked great for my college daughter and now I am a HERO!! Thanks

  76. kristina says:

    have no idea what happened but my mac just doesn’t let me to log in . tried your suggestions but Cmd S doesn’t work on y Mac 10.6.4. don’t know why
    Plz help , people

  77. XXLRay says:

    I had to press applekey+s multiple times at boot. Just holding it did not work. Furthermore for me just mount -auw worked. mount -uw did not remove all write restrictions.

  78. j says:

    That was cool!!!!! Thank you for posting! Saved me a lot of headache ;)

  79. this_hosed_my_mac_pro says:

    I typed “exit” instead or “reboot” after issuing the commands, and was brought to the grey boot screen. After 15 minutes I manually powered down and tried to reboot. But I’m still getting hung up at this grey boot screen.

    Help, anyone?

    • Dou says:

      Boot into safe mode and see what happens, or boot from Lion Recovery HD by holding down Command+R

      • this_hosed_my_mac_pro says:

        Thanks for the reply Dou.

        I ended up unplugging the unit from the wall and waiting for awhile, then plugged back in and booted up. I don’t know if my logic was correct, but it worked! I got past the grey screen and was able to finish the rest of the guide successfully.

        (typing this from the MacPro in question…yay!)

  80. TheMasterNoob says:

    you can change the password without cancel install folder.. You can use passwd after remount filesystem for change root password and then you can use su “username” for log as user and use passwd for change personal password.

    :)

  81. Tonyp says:

    Fanatastic. I was able to change password with no problems following instructions.
    Thank you.

  82. resh says:

    cmd+s isnt rebooting plz help me…this was a ray of hope…but ain’t working!!!awaiting your reply

  83. fels says:

    one thing i noticed is that once you’re in terminal mode, the first command:

    fsck -fy

    takes a long time to execute. You’ll have to wait (at least I had to) until you get “the volume (whatever your hard disk is named) appears to be OK.” And the rest of your directions worked perfectly.

    To everyone who asked this question: Will it wipe out my hard drive? Read through the threads! The answer is NO!

  84. Chris says:

    Please friends I really need help I just brought a new MacBook Air 13inch and my password doesnt work Im locked out on the Login screen…the main first screen just after you wake it up.

    The problem is I dont even get to the desktop and Holding COMMAND & S doesnt do anything

    Id appreciate any advice

  85. celo says:

    Nice! Thanks buddy!

  86. Emma says:

    it worked thks

  87. Karlbh says:

    Tried to use the install disk and when ask to select a disk the only disk it showed was the install CD, no Mac HD was listed.
    So I used the rm .AppleSetupDone method and it worked great!

    Thanks

  88. Prateek Thakker says:

    Well like magic !!!!

  89. Scoop says:

    How do you bypass if its firmware locked??

  90. kiganda says:

    please I’m having a problem like some of the commenters here.
    i do everything as going to the single user mode and run the commands but when the machine is asked to reboot with the ”shutdown -r now” command, the grey screen doe snot take me to the screen where i have to setup the account to logon. can someone help me please. i have this problem and now this is the second day that it is happening. i have very important work but i dont know when this can be resolved. i see some people here have done it without a hitch and surprisingly i have done the same thing but mine wont work.

    • NND says:

      So what screen do you end up at?

      • kiganda says:

        the grey one with with the around circle spinning as if something is happening in the background and ofcourse the apple logo. from there it does nothing. i left the machine on the all night thinking it will work in the morning for me to proceed to the screen where i can use the new account(administrator)

  91. kiganda says:

    the grey one with with the around circle spinning as if something is happening in the background and ofcourse the apple logo. from there it does nothing. i left the machine on the all night thinking it will work in the morning for me to proceed to the screen where i can use the new account(administrator)

  92. Janis says:

    Thanks! Worked like a charm!!

  93. Reinhard says:

    Thank you VERY much !!
    I had my Pro back up drive connected to a new Mac mini during first time set up and it just grabbed my PRO user name, ( w/o asking me! ) but NOT my actual password.

    Saved me lots of driving, thanks again.

  94. Janette says:

    Thank you so much! This worked perfectly!

  95. Varun says:

    Thank you so much for this, I left my installer CD in the US where I bought my Macbook pro from.

  96. Daud says:

    thanks very much
    really

  97. Zinzi says:

    I completed the first step.
    I got the wizard screen as you would on the very first start up.
    However I can’t type in ANY of the fields.
    I tried restarting the Mac and repeating step 1.
    Again the same problem…
    I can’t type on any of the 5 keyboards I hooked up to the Mac.
    PLEASE HELP!!!

    • Ingrid says:

      Were you able to fix this problem? I can’t type either!! I’m going insane. I just get the PONG! sound. Please, help. I’M DESPERATE.

  98. Good Samaritan says:

    Hi Everyone,

    Thanks for creating this post.

    My landlord found a mac book pro in the middle of the road this morning, and thanks to this post, I was able to bypass the main log in screen in an attempt to find out who owned the laptop.

    Access to the laptop provided a name found on a photo; a Google name search lead to a YouTube video, which in turn lead to a former employer.

    A couple of phone calls later, I was able to connect with the owner and return her laptop.

    Thanks again, this information was a big help in finding the laptop owner, and couldn’t have been done without it.

  99. Ibknotts says:

    Brilliant, I really appreciate the help, this worked great. many thanks

  100. ducktape2201 says:

    Hey if you can some how disable the s key on boot up you can’t access the root mode,is this possible ?

  101. kayla says:

    please help me loll D;

  102. Andrea says:

    Holly F…ing Crap… I could kiss you silly right now. I can believe I got this to work!!! Thank you soooo much!!!

  103. Andrea says:

    I could kiss you silly right now. I can believe I got this to work!!! Thank you soooo much!!!

  104. hanif says:

    i done stage 1 and 2 sucesfuly.but in the end , after registration, new window come “create your account” i fill all the fields but i m unable to add a photo.on the right side “select a picture from the list above” there is no list.plz sum body help md.

  105. jose says:

    need to know how to reset master password on a apple computer desktop mac os 9.1

  106. julio says:

    does it erase all of your pictures and files and etc

  107. dbie says:

    thank you.

  108. sp says:

    Ive gotten to the screen where it says “Finishing Up” with the multi-touch gestures, but it wont let me click “Start using Mac OS X Lion.” Can anyone help me out?

  109. Scooter says:

    I followed the instructions to reset my Mac password without a CD, when I get to the final step to reset the password of the administrator it takes me through the process then comes up with the message reset password failed. What can I do to remedy this problem I’m having?

  110. Michael says:

    Can anyone PLEASE tell me how to delete the admin account I just created..

  111. Joe says:

    Lifesaver! Can’t thank you enough!!! cheers!!

  112. aman says:

    buddy u have saved me n my mac…………
    thanks a lot………..

  113. Jeannie says:

    Thanks! It worked perfectly!!!

  114. ERIN says:

    Followed the steps thru Stage 2. I created a new user account. But instead of logging on, it goes right back to the beginning of the account setup. I setup an account over and over again without going anywhere. If someone has an idea of what may be wrong, please let me know.

  115. peggles says:

    Works great, thank you!

  116. Penny says:

    Does this erase all my files?

  117. Clare says:

    Hello,

    I am trying to do this on my Mac os x 10.7.4, but as soon as I check the filesystem I get this:

    Clares-MacBook-Pro:~ claregrogan$ fsck -fy
    ** /dev/rdisk0s2 (NO WRITE)
    Can’t open /dev/rdisk0s2: Permission denied
    /dev/rdisk0s2 (hfs) EXITED WITH SIGNAL 8
    Clares-MacBook-Pro:~ claregrogan$

    Can you please help me, I’m a basic mac user!

    Best Regards,
    Clare

    • Peter says:

      Type this first:

      mount -uw /

      then type:

      fsck -fy

      • Clare says:

        Hi Peter,

        Thanks for your reply! Unfortunately I still got

        Last login: Tue May 15 12:39:59 on console
        Clares-MacBook-Pro:~ claregrogan$ mount -uw /
        GetMasterBlock: Error 13 opening /dev/rdisk0s2
        mount_hfs: Operation not permitted
        Clares-MacBook-Pro:~ claregrogan$

        Any more Ideas?

        Best Regards,

        Clare

  118. theuntalkative says:

    Does this work in a MAC OX S? VERSION 10.6.4?

  119. sam says:

    I did step one but when i go to step tow the computer doesn’t give me wizered set it return me to the same screen

  120. Gal C says:

    I Did this thing and after
    rm /ver/db/.applesetupdone

    it’s say that this file not exsist…

    what i did wrong?

  121. Saiya says:

    It worked!!
    You are a genious!!!
    Thank you very much

  122. Samar says:

    Ugggghhhh I don’t understand any of it!

  123. Samar says:

    never mind! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! You saved my life! (And my macbook air)

  124. daribabi says:

    thanks very muck you’re the best

  125. Andy says:

    Man it doesn’t work it shows no such a file applesetupdone

    what should i do

  126. BROOKE says:

    DOES THS MEAN EVERYTHING ON MY COMPUTER WILL BE ERASED AFTER I DO THIS…?

  127. Yani says:

    After typing rm /var/db/.applesetupdone it continues saying “No such file or directory” then makes me type it again.. What do I do???

  128. hamid says:

    i buy a new macbook pro md313 . but i didn’t lock it any more. it requires a password to make changes to my preferences or requires a password to install software.
    can i do something else without reseting my password ??
    actualy im afraid of doing this.

  129. melissa says:

    i cant get command + s to work !

  130. Mitch says:

    Thank you. My father really should have paid more attention when setting this up at the Apple store!

    This was very easy and straightforward, even without a disc.

  131. Cj says:

    I have done the back to factory standard reboot apple set up done thing but now my keyboard won’t work for me to input my username, password etc. how can I fix this.

  132. This worked awesome!!! Don’t be intimidated by the terminal portion, it is super simple and works on pretty well any Mac THANK YOU!!!

  133. SOOOOO HAPPY says:

    I am so happy~~~~~~~ just follow everything and type in the stuff in shadow and follow the steps and everything shall be DONE~~~~~

  134. Kaitlyn says:

    Hey!

    Ok so I have the CD but nothing happens when I restart holding command C ?! Help!!!

  135. Andrew says:

    Fantastic used the method without CD worked perfectly… thank you!!!

  136. Micah says:

    Got the set up wizard part done, however system preferences and a number of other applications on the dock appear as question marks and do not open. Can anyone help me fix this ?

  137. tim says:

    Ive just done this and it works perfectly

    Im am not very good at computers and it took about 5 minutes

    Thanks

  138. Dina says:

    Forgot the password to a MacBook I haven’t used in 3 years….followed your instructions and WOW I was able to get in and fix it….THANK YOU SO MUCH……

  139. Lila says:

    Awesome! Thank you!

  140. mark says:

    Hi – did anyone resolve the problem with the keyboard not responding? It would really help to have an answer for this issue.

  141. Han 5olo says:

    Thank you for saving access to my Macbook. One Wookie is very happy, and we were able to retrieve the plans to the Death Star.

  142. Dave says:

    Thanks so much.

  143. Ian says:

    Life saver. New MBP shipped with Lion, while the iMac we migrated from (with Migration Assistant) was running Mountain Lion. Account imports fine, but password is dead as a doornail.

    Thanks very much for posting this simple workaround!

  144. sam says:

    thanks you; this a miracle :)) keep up the good work, god bless.

  145. hanif says:

    after filling new user account name and password, it doesnt go ahead.right side of this window, “select a picture from the list” and there is no any list.admin plz help me plz.

  146. ADAM says:

    You are Super man…. Thank you so much

  147. Julie says:

    How do I reset my mac pc box password

  148. Kayla says:

    Oh sweet baby Jesus, it worked!!! Thank your ever so much for helping me. You have no idea how much of a lifesaver you are. I will always be grateful for your help. You are a genius xxx

  149. Abby says:

    Thank you very much! Your instruction is simple and it worked like a charm.

  150. alizya says:

    if i do it with the cd installer to reset my password , does that mean that all my data pics videos documents etc … will erase ????

  151. Masai says:

    I tried this on my iMac (OS v10.4.1) and after following each step, my iMac will not start up unless I unplug and plug the power cable back in. The display on screen is completely black (nothing shows at all, nor do any lights start up). I can hear the fan working when it’s plugged in but I can not turn the computer off unless I unplug it? Do you have any idea why this has occurred?

  152. auladali says:

    thanks very much

  153. Christopher says:

    I did what it said and it did work. However now the new user (which is also an admin) pops up first. It also shows that my new account is the main admin and my previous was the other account now. How do I get rid of the new account so I can just deal with my old account now?

  154. L says:

    How do I find the filesystem?

  155. L says:

    Where can I find the filesystem???

  156. Ibra says:

    Hi! after writing applesetupdone.. it asks me applesetupdone?
    <hat do I have to do before step2 pleeease!!

  157. DanR says:

    Thank you so much, I was able to reset my password! How do I delete the new user I created and leave my old one? When I start up my computer it boots up to the new user which is no big issue…. I just have to log out and back into the old user account. Do I type in the commands

    fsck -fy
    mount -uw /
    rm /var/db/

    And leave out the .applesetupdone ?

    Thanks so much for you help!

  158. Sophia says:

    Thanks! My mom really needed some remedial help.

  159. joe says:

    Thank you, i’m able to login to my apple right now.. phew

  160. Michael says:

    So, I forgot my password a few days ago and followed the above steps in order to get back into my computer. They worked, and I can now access my account again; however, a lot of the apps no longer work, like photobooth or ms word. Does anyone know what I might have done and if there is any way to fix it? Thank you!

  161. liz says:

    I’m actually quite surprised i didn’t botch that and have to call in my IT brother. Thanks so much for this help!

  162. Emmanuel says:

    does anyone know if this works on a macbook air with lion

  163. Leah says:

    Tried it. Worked perfectly on macbook air osx lion. Thanks so much!

  164. Blackflm715 says:

    THIS DID NOT WORK FOR ME. I typed in every thing correctly and it rebooted. Then as its powering up, it had a loading looking bar. It seemed like it got to about 10% and then cut off, when I turn it back on, it does the same thing. PLEASE HELP!!! Now, my computer won’t get past that point and simply isn’t working anymore.

    Thank you OS X Daily -_-

  165. Sharon says:

    Would my file be lost after i reboot?

  166. Dave says:

    excellent tip, saved my bacon!

  167. Marc says:

    Hi
    Thanks for the tip – it certainly works.
    Unfortunately, you fail to point out that it also wipes the computer of all files and settings, so I have lost a whole load of work and all my email and contact settings too. Thanks for that.
    Perhaps you should consider this sort of thing before giving advice – however effective it may be.
    Marc

    • mllama says:

      But it does work, and it did NOT wipe out al the settings or files! Those are still stored on the computer under the original user name that i forgot the password to, so you should re-check that Marc!

  168. gustavo zera says:

    god bless you,hurra hurra

  169. Harry says:

    I did this and now I get the spinning circle, no sound and it eventually shuts down. I found my OS disc but it won’t let me repair the disk. I have some very sentimental pictures on there, can anyone help??

  170. James says:

    Thanks Much. Worked for me just like butter.
    All the old accounts remain intact & could able to reset their password. Thanks again

  171. Alex says:

    This is useful indeed. And it is also a huge big humongous security flaw….. granted: one has to have physical access to the machine, but once it is stolen…………

  172. Jason says:

    This worked great, thank you very much!

  173. BD Crowell says:

    Thanks! This worked perfectly.

  174. Nii Ankrah says:

    It worked! Thanks!

  175. ishwor says:

    thanks man,,that really helped..

  176. jimmy says:

    i did everything and it says applesetupdone. read only filesystem?

  177. Timothy says:

    Hi i have followed the instructions to the letter, as soon as i click to create a user account, it suddenly pauses after 1 – 2 seconds then repeats the whole brand new set-up cycle again with video and everything. I now effectively have a macbook air that is in a permanent loop!

    Please help!!!

  178. NB says:

    thnx………pfff
    At first it didn’t work, but after 3 tries, it did……..

  179. lori says:

    I followed these steps and am transferring files from my old mac. It has been hung up for 2 hours on “transferring your network settings. Less than a minute remaining”. The firewire cable is still connected and everything. What to do?

  180. J says:

    I have put the disc in but it has been on a black screen with white writing for ages and I’ve been pressing ‘c’ for ages or esc or eject but nothing is happening, this is on a MacBook Pro, what do Ido?

  181. dC says:

    Thank you for the help this was brilliant (beginner)

  182. Terry says:

    This bricked my Mac after typing

    rm /var/db/.applesetupdone

    What should I do now?

  183. Terry says:

    UPDATE*Solution for – rm /var/db/.applesetupdone Bricking.

    1) Take out battery and put it back in.
    2) Hold power button for 15seconds.
    3) Close the lid then plug power cord.
    4) Mac boots up after a few minutes on it’s own.

  184. angela says:

    This worked up until the point where I had to enter rm /var/db/.applesetupdone. My MacBook told me that no such file or directory exists. Please help.

  185. Miguelito says:

    WORKED GREAT!

    THANK YOU.

  186. Dorian says:

    It worked marvelous!
    Thank you, this solution saved me a lot of time and I´ve won the recognition of my team at the office.

  187. Michelle says:

    Hi. It worked! But when I try to change the password for the old account, it says “reset password failed” and “CSSM_ERRCODE_MEMORY_ERROR”. Any suggestions please?

  188. Hannah says:

    So, I’ve tried both ways and when I tried without the disk the Command+S didn’t work and when I tried with the disk holding down “C” didn’t work either. Do I actually have to hit install again or am I supposed to just hold “C” down when you put the disk in. I feel like I might have misread the instructions, I’m really confused, any advice?

  189. R3d says:

    WTF!!!! You’re so good man!!!! You save my career! Thanks alot!

  190. Very thankful dad says:

    Worked perfectly. Making me look good for boys. Thanks do much!

  191. Razr says:

    My girlfriend changed her username so it had a peace symbol in it and then she couldn’t log on. This method worked for me.
    Thanks!

  192. Haz says:

    Do you lose all your work and music?

  193. Appletester says:

    Good job! It sure helped me!

  194. adz says:

    Followed you instructions to the letter and it worked first time and only took a few minutes.

    Thank you sooooooooo much for this information

  195. Georgie says:

    Pfew! Thank you so much x

  196. TyChristian says:

    how can i recover all my old data please help:””’(

  197. Azumi says:

    HI,

    this worked. thank you very much. Great tutorial!

  198. alxrb says:

    I am a complete amateur on this subject but I did find a way for this to work.

    This is a great guide but I think that the language in the steps can cause a bit of confusion. The first time round in single user mode I didn’t type in “fsck -fy” or “mount -uw /”. This caused the following prompt to appear: “override -w—-r– root/wheel for /var/db/.applesetupdone?”. When this came up I typed in “exit”, which canceled the prompt, and then I typed “reboot” which restarted my mac. When my system turned on again nothing had changed.

    The second time around I did the following in single user mode:
    1. type in “fsck -fy”, press enter and wait for “:/ root# ” to appear.
    2. type in “mount -uw /”, press enter and wait for “:/ root# ” to appear.
    3. type in “rm /var/db/.applesetupdone” press enter and wait for “:/ root# ” to appear.
    4. type in “reboot” and wait for system to restart.

    When my system turned on the welcome wizard had launched and I followed steps 2 & 3. I created my admin account and then granted admin for my old account. Success!

  199. Mike says:

    THANK YOU SO MUCH. You saved me from so much grief!

  200. Nelly says:

    Ive tried this and it is not working. Can anyone maybe give me more specific instructions?

  201. Elkadosh says:

    Man U are d best. It worked like magic. Thanks man.

  202. natasha says:

    Thank you!!! This completely worked! –don’t forget to type ” reboot ” at the end. I almost missed that the tutorial said that.

  203. Screwed Myself says:

    This worked for me in terms of it creating a whole new account on the Mac. But omg now there are certain things missing – Like Safari the Internet browser. Would anyone please be able to help me with this? I can’t afford to bring this into a shop and I’m so upset that this happened.
    I would be so greatful if anyone could offer advice on how I might be able to fix this.

    Thank you!

  204. markw says:

    I went through this to create a new account and reset a password without a cd. It worked, but now my bookmarks are gone!
    There is not library/safari or library/firefox folder with a Bookmarks.plist on my hard disk or on my time machine backup.
    I googled and did not see this mentioned anywhere. Can anybody help?

    • markw says:

      I figured it out. My mac(os 10.6.8) was logging me in under the new User Account which had no setup or bookmarks, etc. I have no login (password) when I power up so I did not know it logged me in under an admin account. I found the “change default login” under Account Preferences and changed this back to the original admin account. Bingo- my setup was all back!

  205. pk luna says:

    worked fast and flawlessly. ( just a side issue that it asks for keychain pass. when i input the pass for the old problem acct, it does not accept it. but you know what, everything else works except keychain.) thank you people that pioneer these hacks and work-arounds. so good the way you guide us where the cosporates fail to support us. thanks!

  206. Cristian B. says:

    Perfect, thanks!

  207. OS says:

    Great help. Thanks!

  208. LukasWhoActuallyDontHaveAMAC says:

    Wow.

    I just got a request to remove a local password on a MAC and I am surprised that it is that easy (using a MAC installer CD).

    And I though Windows would be unsecured :)

    Anyhow. In that case I am glad it is the way it is.

    Hopefully it still works with the latest Version .

    Thanks for the manual.

    kind regards

    • LukasWhoActuallyDontHaveAMAC says:

      edit: I assume the user won’t lose any data?
      (Never touched a MAC before to be honest)

  209. Hubert says:

    Brilliant

  210. rene says:

    thanks to the person who made this.. it works in 5 minutes i am done…

    p.s.
    u will not loose any data.. purpose of this is you are creating another user with admin rights that will enable you to reset the old account.

  211. Michael says:

    tried Single User mode pwd reset
    This worked like a breeze for me
    tnx!

  212. Desiree says:

    Everything worked wonderfully. The only issue is that after I logged in with new password it asked about the updating the keychain with the old password. What to do?

  213. ardavan says:

    it keeps saying no such file or directory when i type in rm /var/db/.applesetupdone

  214. Vicky Butterfly says:

    LOVED it… After trying many other webs this finally worked. Thank you so much.

  215. Jay says:

    10.8.3 OS X MacBook Pro. Worked well for me.
    fsck -fy
    mount -uw /
    rm /var/db/.applesetupdone
    With one exception, obviously Home file is different, I have no log in icon, iPhone, iPad ect will not sync.. All programs think its a fresh install like user. I’m unable to delete “Super User”.
    Also iTunes, iPhoto, everything gone. Any advise would be appreciated greatly. Oh, I took it to a friend and her created another Jon Doe, I know all PW and I honestly just wanted to see how it worked. I’m almost done reading C+ prog book, great book just not done or have executed many terminal commands. So frustrating I’ve noticed through Directory Utility jay•••35 short name which is original wheel, super user, my group ID used to be 403. Now I have 2 nested groups but can’t log in at all have to go through Jon Doe.

    • Jay says:

      Forgot to mention, I know it’s 101 but I’ve never backed up untill now. To top it off my son locked his iPad, which will not synce to mbp. I can reboot but don’t want to start fresh in his iPad either. Any help would be a life saver. I have FV2 codes for 10.7 and 10.8 as well not sure if that will help..

  216. [...] manager. Because of this, this is not a solution for retrieving forgotten Mac login passwords (go here for that instead) or other login information that isn’t specifically for a web site or service. [...]

  217. JRob says:

    This worked when I followed the steps exactly. Great Post, Thanks!

  218. Joost says:

    You Rock
    I did the “no boot cd no apple id version” and it worked perfectly thank you!!!

  219. sup says:

    reset Mac password without CD worked excellently from the steps mentioned here. Only thing is that after rebooting in the last step of stage 1, “create new user account” does not turn up always. So it should be mentioned once the machine starts after rebooting in the last step of stage 1 alt/option key has to be kept pressed and the screen pops up the ” create a new user account” in the screen

  220. jessejames4 says:

    This article saved my arse. Thanks for posting it.

  221. tmeff says:

    thanks your the best!!!!! Works flawless!

  222. dak says:

    I tried what was on the apple web site after 3 hours of it not resetting…

    I found this and I can say it worked great!!

    Thanks so much…

  223. Shila says:

    It worked!!!!
    But i dont seem to see my old files. how do i get them??

    • Confused MAC guy says:

      See “Step 3″ above. Once you’ve created a new account, you then need to go in and reset the password of the account you lost the password for. Once you’ve reset the password, you’ll login with the old account info and new password (you just reset) and your stuff will be there.

  224. theresa says:

    Whoever posted that tutorial to reset the password without a CD is a GENIUS.

  225. Tom says:

    How long is it suppose to take after I type in mount -uw /?? Plus after i typed it in a lot if lines said device is write locked

  226. Hardik says:

    Yeah…..Its working for me.
    Thanks a lot.

  227. Valynk says:

    Thanks a lots for the tutorials. I’ve unlocked my macbook pro successfully using the method “Unlocking without a CD or Boot Drive”

    Merci encore !

  228. abdul says:

    Thanks man steps worked for me , after boot and create new user account- it shows the desktop how can I reset the previous account?
    I clicked on Users and groups and shows the other user as inactive
    please help

    Regards

  229. Harry says:

    Thank you

  230. Jen says:

    THANK YOU SOOOOOOOO VERY MUCH!!!!

  231. HCW says:

    LOOOOVEEEE U!!!!!!

  232. Catlin says:

    I have followed every step for “no cd” option. Everything works perfectly until I type: rm /var/db .applesetupdone. It says that .applesetupdone does not exist PLEEEEEASE HELP!
    Thanks:))

  233. Josephine says:

    Please can anyone help me?

    I get a message “no such file or directory”

    Also please confirm if I need to press enter after fsck-fy

    I am new to Mac and have to log in ASAP. Running late on a deliverable…not sure how on earth I forgot this password/ Please someone help me with detailed instruction, I am not a technical person at all and I have no cd or Apple id.

  234. Pauline says:

    The 3rd action using the disc worked like a dream,thank you so much. I had tried all sorts before this.

  235. Harry says:

    Does this still work on macbook laptops. An also i dont have a password hint so i cant do it

  236. Kelsey says:

    Command+S does nothing for me…. I can’t even start step one…

    • Confused MAC guy says:

      Try hitting Command and S AFTER the computer is powered off, once it starts to turn on then hit and hold Command and S. I hit they keys as it was restarting and it never worked.

  237. J. says:

    Thanks!!!! You ve saved my day!!!!!

  238. Confused MAC guy says:

    This worked for me! Just make sure you hit Command and S AFTER the computer is powered off and starts to turn on. I hit it as it was restarting and it never worked, hehe. Silly me. Anyway, everything else worked like an absolute charm!

  239. J says:

    Thank you so much!!! This was really helpful and made my life a whole lot easier! :)

  240. Casper says:

    if i do the hack method, and reset it, will everything on my pc be gone ? like pictures and music ?

  241. Fatima says:

    I have followed your suggestions step by step and I am very grateful and very happy with your fantastic help. All works perfectly as before.
    Very big thank you for your great help

  242. Janjan says:

    After reboot the grey screen comes on as soon as the progress bar loads, the unit shuts down! Help pls!

  243. Nimbe says:

    how do you remove the applesetupdone ? please reply ASAP

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates