PDF download Download Article
A simple step-by-step guide to accessing a PC or Mac without a password
PDF download Download Article

This wikiHow teaches you how to view a password-protected computer account's files and folders on a Windows or Mac computer.

Things You Should Know

  • If you want to hack a Windows PC, you'll need a boot from a Windows installation DVD or USB drive.
  • If the Mac you want to hack is running an unpatched version of High Sierra, you can log in to the root user account without a password.
  • For other macOS versions, you can use the DaveGrohl exploit to find the password of any user on a Mac.
Method 1
Method 1 of 2:

Windows

PDF download Download Article
  1. Since most Windows 10 accounts use a Microsoft account email address and password to log in, you can't reset a hacked computer's main account password like you could in Windows 7 and down. You will, however, be able to access the files of the main account.
    • If the user you're trying to hack is a local user (e.g., a user added to the computer by a Microsoft account), you can change their password like you could in previous Windows renditions.
  2. You will need a Windows 10 installation medium such as an installation CD in order to perform this method. If you don't have an installation CD, you can create an installation USB drive by doing the following:
    • Plug an 8 gigabyte (or larger) USB drive into your computer.
    • Open the Windows 10 download page .
    • Click Download tool now
    • Double-click the downloaded tool.
    • Follow the on-screen prompts to install the tool to your flash drive.
    Advertisement
  3. Place the installation CD in the disk drive, or insert the USB flash drive into one of the computer's USB ports.
  4. Restart your computer into the BIOS . Click Start , click Power , and click Restart , then immediately begin pressing repeatedly (or holding) your computer's BIOS key until the BIOS launches.
    • Your BIOS key will depend on the manufacturer of your computer's motherboard, but common keys include the function keys (e.g., F2 ), the Esc key, and the Del key.
    • If you don't know which key to press or hold, consult your computer's BIOS documentation by searching for your computer's model, the word "bios", and the word "key".
  5. Again, this will vary depending on your computer's BIOS; you'll usually open the Boot or Advanced tab, use the arrow keys to select your CD drive or USB drive, and press the + key to move the drive up to the top of the list.
    • As with any BIOS problems, you should consult your BIOS documentation online if you have any trouble.
  6. Press the "Save and Exit" key as specified by your BIOS legend, then confirm by pressing another key if prompted. Your computer will resume rebooting, at which point you should see the installation menu appear.
  7. Press Shift + F10 to do so.
  8. You'll need to do this in order to be able to access Command Prompt later:
    • Type in move c:\windows\system32\utilman.exe c:\windows\system32\utilman.exe.bak
    • Press Enter
    • Type in copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe
    • Press Enter
  9. Type in wpeutil reboot and press Enter , then remove your installation media from the computer. This will ensure that Windows reboots to the login screen rather than back into the installation setup. [1]
    • If you're using an installation CD, you'll need to eject the CD before entering the reboot command.
  10. Click the "Utility Manager" icon, which resembles a dial with a right-facing arrow in the middle. Since you replaced Utility Manager with Command Prompt, doing this will open Command Prompt in administrator mode.
  11. You can add a new administrator account by doing the following:
    • Type in net user name /add making sure to replace "name" with a username of your choice.
    • Press Enter .
    • Type in net localgroup administrators name /add again replacing "name" with the name of the user you just created.
    • Press Enter
  12. Once Windows finishes restarting, you'll be able to use the account you created to log in:
    • Select your new user's name in the lower-left side of the screen.
    • Click Sign In
    • Wait for Windows to finish setting up your new user account.
  13. While you can't change the password of the main user if they're logged in via a Microsoft account, you can view all of the files on their account by doing the following:
  14. If you want to hack a local account by changing its password, open Start and then do the following:
    • Type in control panel , then click Control Panel at the top of the window.
    • Click the User Accounts heading.
    • Click User Accounts again if the "Make changes to your user account" page doesn't open.
    • Click Manage another account
    • Select an account.
    • Click the Change the password link.
    • Enter a new password in the "New password" and "Confirm new password" text boxes.
    • Click Change password
  15. Advertisement
Method 2
Method 2 of 2:

Mac

PDF download Download Article
  1. Some versions of macOS High Sierra have an exploit which allows you to log into the root account without entering a password or downloading any programs. If the following hack works for you, skip the next step:
    • Open the login screen.
    • Replace the current username with root
    • Click the password field (but don't type in anything)
    • Press Return repeatedly until you're logged in.
  2. If the macOS High Sierra hack doesn't work, you'll need to wait until the user you want to hack logs into their account. Unfortunately, hacking a Mac requires administrator access, which can't be established unless the user in question first logs into their machine.
  3. DaveGrohl is a program which can determine your target Mac's login password:
  4. Double-click the downloaded ZIP folder, then wait for the DaveGrohl folder to open.
  5. Close the extracted DaveGrohl folder, then click the extracted DaveGrohl folder and press Command + Option + C . This will copy the path to the folder to your Mac's clipboard.
  6. Type in cd , press the spacebar once, and then press Command + V to paste in the path to the DaveGrohl folder. Doing so will ensure that Terminal knows to look inside of the DaveGrohl folder when you run a command.
  7. Do the following:
    • Type in sudo ./dave -u username where "username" is the administrator username for the account you want to hack.
    • Press Return
  8. Once DaveGrohl cracks the password, you'll see it listed next to the "Found password :" heading near the top of the Terminal results. This is the password you'll use in conjunction with the Mac's administrator account.
    • If you just want to know the password in order to use it later, you're technically done at this point.
  9. You'll find it at the top of the drop-down menu. Doing so opens the System Preferences window.
  10. It's in the System Preferences window. This will prompt the Users & Groups menu to appear.
  11. Click the padlock icon in the bottom-left corner of the screen, then enter the administrator username (if you used the High Sierra exploit, you'll type in root ) and the password (click the "Password" field once and then leave blank for the root account) and press Return .
  12. Click the name of the person for whom you want to change the password on the left side of the window.
  13. It's a button near the top of the menu.
  14. Type the password you want to use into the "New password" text box, then re-enter the password in the "Verify" text box. [2]
  15. It's at the bottom of the pop-up window. This will change the user's password.
  16. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      • If you want to change a Microsoft account password, you'll need to do so from the Microsoft Outlook login page.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Breaking into a password-protected computer account is illegal, and may carry penalties such as fines or jail time if performed on school, work, or any computer that you don't have permission to hack.
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 764,479 times.

      Is this article up to date?

      Advertisement