PDF download Download Article PDF download Download Article

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 installation disc to access the net user command and change any user's password.

Method 1
Method 1 of 2:

With Administrator Access

PDF download Download Article
  1. 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.
  2. 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.
    Advertisement
  3. 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.
  4. net user username * and press Enter . You will be prompted to create a new password for username .
  5. You will have to enter the password twice to confirm it. The new password will take effect immediately.
  6. 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.
  7. Advertisement
Method 2
Method 2 of 2:

Without Administrator Access

PDF download Download Article
  1. 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.
  2. You'll be using the installation disc to access the administrator controls to change users' passwords.
  3. 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.
  4. 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.
  5. Press a key to launch the Windows Setup program and let the files load. This may take a minute or so.
  6. You can usually just leave these at their default settings.
  7. This can be found on the same screen as the "Install now" button.
  8. There will usually only be one option on this list.
  9. This will open the Command Prompt in a new window.
  10. 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 windows\system32 Enter
    • ren utilman.exe utilman.exe.bak Enter
    • copy cmd.exe utilman.exe Enter
  11. 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.
  12. ⊞ 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.
  13. 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.
  14. net user username * and press Enter . Replace username with the account you want to gain access to.
  15. 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.
  16. 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.
  17. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What is System Error 5?
    Community Answer
    This error means that you don't have administrator access. Try right-clicking the command prompt and selecting "Run as administrator."
  • Question
    Whenever I click 'run as admin' after doing the shortcut, it asks to put in the admin password to be able to make a change to my account. How do I change this so I can actually run as an admin?
    Community Answer
    You should try the other method with the disk, because you need to have administrator access to run it as administrator.
  • Question
    When I try to change the password, I get a message that says, "The username could not be found." What does that mean?
    Community Answer
    The username is invalid; check for typos.
See more answers
Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      Thanks to all authors for creating a page that has been read 389,946 times.

      Is this article up to date?

      Advertisement