How to Hack Into a Windows User Account Using the Net User Command
If you're administering a computer and need to access another user's account, you can use the 'net user' command to change their password. If you are locked out of your computer, or don't have administrator access, you can use a Windows...
Method 1 of 2:
With Administrator Access
- Log into Windows using an account with administrator access. If you can log into Windows with an administrator account, you can easily change the passwords of any other account.
- If you are locked out of Windows or don't have access to an administrator account, see the next section.
- Open the Command Prompt as an administrator. You'll need to do this even if you're already logged in with an account that has administrator access.
- Windows 7 and earlier - Open the Start menu, right-click on "Command Prompt," and select "Run as administrator." Confirm that you want to open the Command Prompt.
- Windows 8 and later - Right-click on the Windows button and select "Command Prompt (Admin)." Confirm when prompted by User Account Control.
- Type .net user and press ↵ Enter. This will display a list of user accounts on the computer. The accounts will be listed in columns based on their permissions level.
- Type .net user username * and press ↵ Enter. You will be prompted to create a new password for username.
- Enter the new password. You will have to enter the password twice to confirm it. The new password will take effect immediately.
- Log in with the new password. You can use the password you just created to log into that user's account. Log out of your current session and log in with the new password.
Method 2 of 2:
Without Administrator Access
- Find or create a Windows installation disc. If you don't have access to any administrator accounts on the computer, you can use a Windows installation disc as a workaround. This requires the same version disc for the version of Windows you are trying to access. The disc doesn't have to be the one that came with the computer.[1]
- If you have an ISO copy of the Windows installation disc, you can burn it to a blank DVD or put it on a bootable USB drive. See Install Windows 7 Using Pen Drive for more detailed instructions on creating a bootable USB drive with Windows installation files.
- Insert the disc or drive in the computer you want to access. You'll be using the installation disc to access the administrator controls to change users' passwords.
- Reboot the computer and open the BIOS or BOOT menu. This needs to be done before the Windows logo appears, and the process varies slightly depending on what version of Windows the computer is running:
- Windows 7 and earlier - Press the BIOS, SETUP, or BOOT key as the computer is starting up. The key varies by manufacturer, and will be displayed on the boot-up logo screen. Common keys include: F2, F10, F11, and Del. Once you've opened the BIOS or SETUP menu, select the BOOT or BOOT ORDER option.
- Windows 8 and later - Open the Start menu or Screen and right-click the Power button. Hold ⇧ Shift and click "Restart." Choose the "Troubleshoot" option, then "Advanced options." Select the "UEFI Firmware Settings" option from the menu. Open the BOOT menu.
- Select your installation disc or USB drive as the primary boot device. The exact process will vary, but generally you'll just reassign the numbers so that the computer boots from the disc or USB drive before the hard drive. Some BIOS software refers to this as the "Boot Order" and you will often see a menu option to "Change Boot Order". Don't be surprised if you find that that the CD drive is already set as the first drive in the order. If this is the case, you don't need to change anything in the BIOS, SETUP or BOOT sequence.
- Reboot and start Windows Setup. Press a key to launch the Windows Setup program and let the files load. This may take a minute or so.
- Select your language and input options. You can usually just leave these at their default settings.
- Click the "Repair your computer" button in the lower-left corner. This can be found on the same screen as the "Install now" button.
- Select the Windows installation you want access to. There will usually only be one option on this list.
- Select "Command Prompt" from the System Recovery Options menu. This will open the Command Prompt in a new window.
- Enter the commands to gain access to the Command Prompt from the Login menu. The following commands will allow you to access the Command Prompt from the Windows Login screen. This will allow you to change the password of any account. Enter the following commands, in order:
- cd ↵ Enter
- cd windowssystem32 ↵ Enter
- ren utilman.exe utilman.exe.bak ↵ Enter
- copy cmd.exe utilman.exe ↵ Enter
- Remove the installation disc and reboot. Now that you've made your necessary changes, you can reboot the computer and start changing passwords. Take out the disc or drive before rebooting so that the computer boots normally.
- Press .⊞ Win+U at the Windows Login screen. This would normally launch the Accessibility Manager, but since you made the changes to the system files, Command Prompt will launch instead.
- Press Alt+Tab ↹ if nothing appears right away. It may be hidden behind the login screen.
- Type .net user and press ↵ Enter. A list of accounts on the computer will be displayed. Administrators are listed in the left column, regular accounts in the middle, and guest accounts on the right.
- Type .net user username * and press ↵ Enter. Replace username with the account you want to gain access to.
- Create a new password. Type a new password when prompted and again to confirm. You may want to consider completely erasing the password by simply pressing ↵ Enter on each line, as this may be less suspicious than creating a password the user doesn't recognize later.
- Log into the user's account with the new password. The new password will take effect immediately, so you can switch back to the Windows Login screen and use the password to access the account.
4.5 ★ | 2 Vote
You should read it
- How to Bypass Windows 7 Password
- How to Reset Administrator Password on Windows
- Set a password for the USB
- Create Windows Password Reset Disk on Windows 7 with USB Flash Drive
- How to Use a Password Reset Disk for Mac
- How to set a password for a Windows 8 / 8.1 computer
- How to automatically enter passwords in Android
- Forget Windows 10 password, this is how to break password Win 10 without using 3rd tool
- MS Access 2003 - Lesson 7: Enter information for the table
- How to Change the Root Password in Linux
- How to view saved Wifi passwords on Android?
- How to check and access UEFI settings on Windows 10
Maybe you are interested
How to fix the missing language bar error on Windows 11 extremely quickly
Turn off these visual effects to make Windows run smoother!
7 Ways to Customize Windows 11 Notepad
8 settings to change to make your Mac trackpad and keyboard work like Windows
How to add fonts to Word in Windows computer
How to use the file search command on Windows, find saved files