How to Hack a Computer

Опубликовал Admin
29-06-2021, 04:50
This wikiHow teaches you how to hack a Windows or Mac computer's login, as well as how to use TeamViewer to remotely control another computer.

Bypassing a Login on Windows

  1. Understand what this will accomplish. While Windows 10 doesn't allow you to abuse the Administrator account like you could in past renditions of Windows, you can use a Windows 10 installation drive and Command Prompt to add a new administrator-enabled user that can see the main account's files and folders.
  2. Create a Windows 10 installation tool. Make sure that you have a blank flash drive that is at least 8 gigabytes in size, then do the following:
    • Attach the flash drive to your computer.
    • Open the Windows 10 download page.
    • Click Download tool now
    • Double-click the downloaded tool.
    • Follow the on-screen prompts, making sure to use your flash drive as the installation location.
    • Leave the flash drive plugged in after the creation process completes.
  3. Change your computer's boot order. This is necessary in order to prompt your computer to start from the flash drive rather than the hard drive:
    • Access your computer's BIOS.
    • Find the "Boot Order" section in the Boot or Advanced tab.
    • Select your flash drive's name, then press + (or the "Up" key listed in the legend on the right side or bottom of the screen) until the flash drive is at the top of the list.
    • Save and exit using the key(s) listed in the legend on the right or bottom of the screen.
  4. Open Command Prompt. On the setup screen, press ⇧ Shift+F10. You should see the Command Prompt window open.
  5. Replace Utility Manager with Command Prompt. Utility Manager is a service which has an icon available on the lock screen. By replacing Utility Manager with Command Prompt, you'll be able to execute administrator-level functions without having to log in:
    • Type move c:\windows\system32\utilman.exe c:\windows\system'''32\utilman.exe.bak into Command Prompt.
    • Press ↵ Enter
    • Type copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe into Command Prompt.
    • Press ↵ Enter
  6. Restart your computer. Type wpeutil reboot into Command Prompt, then press ↵ Enter. At this point, you'll need to remove your installation media from the computer in order to ensure that Windows reboots to the login screen rather than back into the installation setup.
    • If Windows boots into the installation setup before you have a chance to remove the installation flash drive, remove the flash drive and then press (or press and hold) your computer's hardware Power button.
  7. Open Command Prompt. Once the lock screen loads, click the "Utility Manager" icon, which resembles a dial with a right-facing arrow in the middle, in the bottom-right corner of the screen. A Command Prompt window will open.
    • If you don't replace Utility Manager with Command Prompt, clicking this icon will open the Utility Manager instead.
  8. Create a new user. Once Command Prompt opens, do 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
  9. Restart your computer again. Click the Power icon, then click Restart when prompted. Your computer will restart one final time, after which point you'll be able to log in with your new administrator account.
  10. Log in with your new user. 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.
  11. View the main account's files. You can see all of the files and folders from the main user account by doing the following:
    • Open File Explorer. You can also press ⊞ Win+E.
    • Scroll up and click This PC in the left-hand column.
    • Double-click the computer's hard drive.
    • Double-click the Users folder.
    • Double-click the main account's user folder.
    • Click Continue when prompted, then wait for the user's folders to load.
    • Browse the user's files and folders as needed.

Bypassing a Login on Mac

  1. Understand the limitations. While you'll be able to use the following method to bypass the login on most Macs, some Mac users will have enabled FileVault and/or a firmware password, making it impossible to hack the Mac without knowing the password(s).
    • Keep in mind that the Mac user will know that someone accessed their computer due to the password change.
  2. Restart the Mac. Click Restart at the bottom of the login screen.
    • If you're logged into the Mac, click the Apple menu , click Restart..., and click Restart when prompted.
  3. Press and hold the ⌘ Command and R keys. You'll need to do this immediately after clicking Restart.
  4. Release the keys when you see the Apple logo. This will cause your Mac to start into the recovery menu.
  5. Click . It's at the bottom of the screen.
  6. Click Utilities. This menu item is at the top of the screen. Clicking it prompts a drop-down menu.
  7. Click Terminal. It's in the drop-down menu. Doing so opens a Terminal window.
  8. Enter the password reset command. Type in resetpassword and then press ⏎ Return to do so. A few Terminal commands will run, and the password reset page will open in the background.
  9. Close Terminal. Once you see the password reset page open in the background, click the red circle in the upper-left corner of the Terminal window.
  10. Select a user. Click the name of the user account you want to hack, then click Next at the bottom of the window.
  11. Create a new password. Fill out the following fields:
    • New password — Enter your new password.
    • Verify password — Re-type the password.
    • Password hint — Add a hint for the password.
  12. Click Next. It's at the bottom of the screen.
  13. Click Restart. You'll find this option at the bottom of the screen. Clicking it prompts your Mac to begin restarting; when it completes, you'll be back at the login screen.
  14. Log in with your new password. In the password box below the user you selected, type in the new password, then press ⏎ Return.
  15. Click Continue Log In if prompted. This will allow you to continue logging in without setting up a new Keychain.
  16. Browse the Mac as needed. Since you're on the user's account, you shouldn't have any limitations as long as they have administrator privileges.

Remotely Hacking via TeamViewer

  1. Understand how this method works. If you have access to the target computer during some hours but want to be able to access it remotely whenever it's on, you can use TeamViewer to do so.
    • Keep in mind that you'll need physical access to the computer if you want to use this method.
    • If you have physical access to the computer but you don't know the password, use the Windows or Mac bypass listed above.
  2. Create a TeamViewer account. You'll need to do this in order to enable some features on the target computer:
    • Go to in your computer's web browser.
    • Click LOGIN
    • Scroll down and click Sign Up in the lower-left corner.
    • Enter your email address, name, and preferred password on the left side of the page.
      • It's best to use a new email address that doesn't appear affiliated with you for this step.
    • Check the "I'm not a robot" box.
    • Click Sign Up
    • Verify your email address by opening it, clicking the email from TeamViewer, and clicking the long link in the middle of the email's body.
  3. Install TeamViewer on both computers. Go to in each computer's web browser, click Download now, double-click the file that downloads, and then do the following:
    • Windows — Check the "Installation to access this computer remotely" box, check the "Personal / Non-commercial use" box, uncheck the "Show advanced settings" box if necessary, click Accept - finish, and click Yes when prompted.
    • Mac — Double-click the box-shaped icon in the middle of the TeamViewer window, then follow the on-screen instructions. You will first need to reset the Mac's password if you don't know the password as you'll be prompted for the password during the installation.
  4. Open TeamViewer on your computer. Double-click the blue-and-white TeamViewer app icon to do so.
  5. Set up TeamViewer. Do the following:
    • Close the "Unattended setup" window if prompted by clicking Cancel.
    • Click the Try it now button at the top of the window if possible.
  6. Check the "Remote control" box. It's on the right side of the window. This ensures that you'll be able to use your computer to access the target computer later.
  7. Open TeamViewer on the target computer. Double-click the TeamViewer app icon to do so.
  8. Set up the target computer's TeamViewer for easy access. Beneath the "Unattended Access" heading, do the following:
    • Check the "Start TeamViewer" box.
    • Check the "Assign to Device" box.
    • Enter your email address and password when prompted, then click Assign.
    • Check the "Grant Easy Access" box.
  9. Review the target computer's ID and password. On the left side of the computer's TeamViewer window, you should see an "ID" number and a "Password" number or jumble of characters. You'll need to know both of these credentials in order to access the computer.
  10. Connect to the target computer from your computer. Enter the target computer's ID in the "Partner ID" text box, click CONNECT, enter the password when prompted, and click Log On. Doing so will allow you to access remotely the other computer whenever you like.
    • Since the other computer is configured to allow you to sign in whenever you like, you shouldn't have to touch the target computer again once you've installed and set up TeamViewer.


  • Although most modern hacking requires some form of physical access to the computer in question, some hacking techniques use malware sent via an email to create a vulnerability in the other computer.


  • Hacking without explicit permission from the computer owner is illegal, and can result in anything from a school suspension to fines and jail time.
Users of Guests are not allowed to comment this publication.