Download ArticleDownload Article

Windows 7 comes with a default administrative account (called Administrator) that controls every aspect of the system. In addition to this account, other users can have administrative privileges applied to their own accounts, making it possible for these users to perform tasks like running backups and resetting passwords. If you’ve lost the password for the Administrator account (or never knew it in the first place), you might be worried that you have to reinstall. Luckily, resetting the Administrator password is less difficult than it sounds.

Method 1
Method 1 of 5:

Logging In As a Different Administrator

Download Article
  1. How.com.vn English: Step 1 Log in with a different administrator account.
    If you’re unable to access one administrator account (such as the user called Administrator), log in as any other user with administrative privileges.[1] It’s likely that the first account you created when setting up the computer has these privileges. If you don’t have another administrator account, try a different method.
  2. How.com.vn English: Step 2 Open the Start menu and select “Control Panel.”
    If you don’t see a link to Control Panel on the Start menu, try pressing Win+S to launch the search box, then type Control. When “Control Panel” appears in the search results, click on it.[2]
    Advertisement
  3. How.com.vn English: Step 3 Click “Add or remove user accounts.”
    Windows will ask you to confirm your password to proceed.[3]
  4. How.com.vn English: Step 4 Click the name of the account you want to change.
    Administrator accounts can change the password of any account on the system. If the account you want to change is called Administrator, click that account.[4]
  5. How.com.vn English: Step 5 Click “Change Password.”
    Follow the on-screen instructions to set a new password. You’ll need to type it twice in order to confirm the change. Once Windows accepts the new password, you’ll be able to log in with that account.
  6. Advertisement
Method 2
Method 2 of 5:

Using a Password Reset Disc

Download Article
  1. How.com.vn English: Step 1 Locate your password reset disc.
    You’ll need to have already created a password reset CD or USB flash drive at an earlier date. If you haven’t done that, try a different method. Note that you won't be able to borrow a password reset disc from a friend, as these discs are keyed to your account.[5]
  2. How.com.vn English: Step 2 Try to log into Windows as an administrator.
    When the login fails, you’ll see an error that says “Username or password is incorrect.” Click “OK.”
  3. How.com.vn English: Step 3 Insert the password disc.
    Use the eject button on your optical drive to open its tray. If you're using a password reset flash drive, plug that in now.
  4. How.com.vn English: Step 4 Click “Reset Password.”
    This will launch the Password Reset Wizard.[6]
  5. How.com.vn English: Step 5 Click “Next” to type a new password.
    Choose something you’ll remember. You’ll be prompted to enter it a second time to make sure you typed it correctly, so type it once more.[7]
  6. How.com.vn English: Step 6 Click “finish.”
    You can now log in with your new password.
  7. Advertisement
Method 3
Method 3 of 5:

Using System Repair Disc

Download Article
  1. How.com.vn English: Step 1 Put the system repair CD or DVD into the optical drive.
    If you didn’t make a system repair disc on a prior date, ask someone else who uses Windows 7 to make one for you.[8]
  2. How.com.vn English: Step 2 Boot from the disc.
    Restart the computer and wait for a message that says “Press any key to boot from CD or DVD.” Press any key on the keyboard.[9]
    • If you don’t see this and you wind up back at the login screen, your computer may not be set up to boot from CD/DVD. Check the boot settings in the system BIOS.
    • If it’s still not booting from the disc, try burning a new disc on another system.
  3. How.com.vn English: Step 3 Select the operating system and drive.
    Unless you have multiple operating systems and hard drives, you may only see one option. Choose the one marked “Windows 7” and make note of the drive letter (it’s probably C: or D:). Put a check next to “Use recovery tools” and click “Next” to proceed.
  4. How.com.vn English: Step 4 Select “Command Prompt” from the list of repair options.
    This will launch a window where you will type the following commands to rename files:
    • Type C: or D: (the drive letter you made note of earlier) and press Enter
    • Type windows\system32 and press Enter
    • Type ren utilman.exe utilhold.exe and press Enter. Utilman.exe is a file associated with the Ease of Access center. You’ll need to rename it temporarily for this method to work.
    • Type copy cmd.exe utilman.exe and press Enter
    • Type exit and press Enter
  5. How.com.vn English: Step 5 Press the eject button on the CD/DVD drive and reboot the computer.
    Ejecting the disc ensures that the computer will not try to boot from the CD/DVD.
  6. How.com.vn English: Step 6 Click the Ease of Access button on the lower left corner of the login screen.
    It’s a tiny blue button that usually opens various accessibility options. This time it will launch the command prompt (you’ll change it back in a few minutes).
  7. How.com.vn English: Step 7 Set your new password.
    Type net user Administrator newpassword, but replace “newpassword” with a new password. Press Enter.
  8. How.com.vn English: Step 8 Type exit to close the command prompt.
    You’ll be returned to the sign-in screen.
  9. How.com.vn English: Step 9 Log in with your new password.
    Use the new password to log back in.
  10. How.com.vn English: Step 10 Press ⊞ Win+S to open the search box.
    Now you’ll undo the changes you made to the Ease of Access Center. Type command into the text field and wait for “Command Prompt” to appear in the search results. Use the right mouse button to click “Command Prompt” and select “Run as Administrator.”
  11. How.com.vn English: Step 11 Type the following commands into the command prompt.
    • Type C: (or whichever drive letter you made note of earlier) and press Enter.
    • Type cd windows\system32 and press Enter
    • Type copy utilhold.exe utilman.exe and press Enter
    • Type exit and press Enter.
  12. Advertisement
Method 4
Method 4 of 5:

Booting from Setup DVD or flash drive

Download Article
  1. How.com.vn English: Step 1 Insert the Windows 7 Setup DVD or flash drive.
    The Windows 7 Setup DVD is the disc you used to install Windows 7 (or the Windows install disc that came with your computer). You also may have burned a Setup DVD on an earlier date using the Windows USB/DVD tool.[10] If you created a Windows 7 Setup flash drive at a previous time, you can use that in place of a DVD. If you don’t have either, you can borrow one or the other from a friend.
  2. How.com.vn English: Step 2 Restart the computer to boot from DVD or USB flash drive.
    [11] Verify that your computer is configured to boot from CD/DVD ROM or USB flash drives in the BIOS. When you see “Press any key to boot from CD or DVD" (or "Press F12 to select a boot device"), follow the on-screen instructions.
  3. How.com.vn English: Step 3 Click the “X” in the corner of the Language window.
    Windows thinks it will be installing a brand new operating system, but you’ll really just be temporarily changing the name of a program called Sticky Keys.
  4. How.com.vn English: Step 4 Press ⇧ Shift+F10 at the Startup screen.
    This will open the command prompt, where you’ll type the following commands:
    • Type copy d:\windows\system32\sethc.exe d:\ and then press Enter. If Windows is not installed on the D: drive, use the drive letter where Windows is located (such as E: or F:). You’ll know if it’s the wrong drive if you see the message “The system cannot find the specified path.”
    • Type copy /y d:\windows\system32\cmd.exe d:\windows\system32\sethc.exe and press Enter. Again, if Windows is not installed on the D: drive, use the proper drive letter.
    • Type exit then press Enter.
  5. How.com.vn English: Step 5 Eject the Windows DVD or flash drive and restart the computer.
    This will ensure that your computer doesn’t try to boot from the DVD or flash drive.
  6. How.com.vn English: Step 6 Press the ⇧ Shift key 5 times (quickly) at the login screen.
    Usually this action will launch the program Sticky Keys, but this time it will launch the command prompt. Type the following commands:
    • Type net user Administrator PASSWORD and press Enter. Replace “PASSWORD” with a new password for the Administrator account.
    • Type copy /y d:\sethc.exe d:\windows\system32\sethc.exe and press Enter. Replace d: with a different drive letter if necessary. This will rename the Sticky Keys program we modified earlier.
    • Type exit and then press Enter.
  7. How.com.vn English: Step 7 Reboot the computer.
    You can now log in with the Administrator account.
  8. Advertisement
Method 5
Method 5 of 5:

Enable Administrator Account Using CMD

Download Article
  1. 1
    Insert a Windows 7 installation CD/DVD into the computer’s CD/DVD-ROM.
  2. 2
    Boot the computer from CD/DVD. (Here is the step-by-step guide)
  3. 3
    Once your computer start and boot from your Windows 7 disc, it will ask you to press a key to continue. Just hit a key on your keyboard.
  4. 4
    PC successfully boots from CD/DVD. Windows Install screen appears. Select “Next”.
  5. 5
    Select “Repair your computer”.
  6. 6
    In the “System Recovery Options” window, it will show you where your Windows 7 installation is. In this guide, the Windows 7 was installed on D drive. Click “Next”.
  7. 7
    Select “Command Prompt”.
  8. 8
    Command Prompt window appears. Use the following commands to replace “cmd.exe” with “sethc.exe”.
    • Type “d:” and then press “Enter”. Note: If your Windows 7 installation is on C drive, please replace “d:” with “c:” in the command.
    • Type “cd windows” and then press “Enter”.
    • Type “cd system32” and then press “Enter”.
    • Type “ren sethc.exe sethc_bak.exe” and then press “Enter”.
    • Type “copy cmd.exe sethc.exe” and then press “Enter”.
  9. 9
    Close Command Prompt and then click “Restart”.
  10. 10
    Once Windows 7 login screen appears, hit “Shift” key five times to run “sethc.exe”.
    • In the sethc window, type “net user” and press “Enter”. All local user accounts include the built-in administrator will be shown.
    • To enable the built-in administrator account, type “net user administrator /active:yes” and then press “Enter”.
    • If you forget the administrator password, type “net user administrator 123456” and then press “Enter”. The administrator is now enabled and the password has been reset to “123456”.
    • Close sethc window and restart the computer.
    • When Windows 7 login screen appears, select administrator and enter the password “123456” to log on.
  11. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I disable an administrator account without a password?
    How.com.vn English: Mapley
    Mapley
    Community Answer
    Unfortunately you do need either the administrator password or to already be logged in to the account.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      • It’s a good idea to create a Password Reset Disc in case you lose the Administrator password in the future.
      • The Administrator password is blank by default. If it has never been changed, you may be able to log in as Administrator by leaving the password field blank.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 277,375 times.
      How helpful is this?
      Co-authors: 21
      Updated: April 12, 2024
      Views: 277,375
      Categories: Windows 7
      Article SummaryX

      1.Log in with another administrator account.
      2.Open the Control Panel.
      3.Click Add or remove user accounts.
      4.Select the Administrator account you want to edit.
      5.Click Change password.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 277,375 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement