Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm a secretary and my boss set up my new Windows 7 OptiPlex 7010 (Dell) computer for me while I was on vacation (he does not remember setting any "administrator" password). We are a small office so there is no system password set, either.

I've used it for 6 months, all the while I couldn't access network drives, etc., without an administrator password. It was annoying, but I could still get my work done.

Finally, on a slow day I took it upon myself to "fix" the problem, and in all my infinite wisdom, I managed to change my user account from administrator to standard user, so now I really can't do anything. I can't download or install any programs, move or rename files, etc.

I tried the Dell suggested solution, but the BIOS tells me there is no password set, so it has to be a Windows 7 problem. All the solutions I have come across require an administrator password to let me do them.

What can I do to find out the admin password so I can use my own darn computer!? Is there a default admin password?

share|improve this question
2  
Have your boss reinstall Windows you kept good backups right? –  Ramhound Oct 25 '13 at 21:10

4 Answers 4

In a nutshell, the solution is to get into command prompt with elevated permissions The command line prompt is...

 net user <account> <new password> /active:yes

example:

net user Administrator MySuperSecretPassword /active:yes

... but how the hell do you do that if you don't know the administrators password? You can leverage the installation process...

Check out this answer by Alan Pine at http://community.spiceworks.com/how_to/show/59673-windows-7-8-local-admin-password-reset

He suggests to capitalize on the inherit nature of Admin privs during the installation process as a means of recovery. Summary of steps...

  • Use the installation media - DVD or Thumb drive - boot to this - press any key to install...
  • Get into the command prompt, and replace the c:\windows\system32\sethc.exe with cmd.exe
  • restart the installation process and get back into a command shell. Using the net use command reset
  • password and/or reset account activation.

I tried his steps and they worked fine. I had trouble with step 3 - exit and restart and wait for the logon screen. I wasn't sure if I was supposed to enter setup again or not. As it turns out, I entered setup again and did the step 4 sticky key thing. The command prompt did in fact show up for me. I was surprised..

Here are Alan's steps in details...

The following will guide on how to reset a password on a Windows 7/8 machine where you have no/forgotten the local administrator password.

WARNING: Resetting a password of a Windows account means that data that has been encrypted, such as Windows EFS or stored Internet Explorer passwords, will be history. Avoid this by resetting the password of an account that hasn’t been used, such as the built in "administrators" account (none of use that.... right?). Do you use BitLocker to encrypt the drive? If so you will first have to unlock the the drive/partition. If you didn’t use any Windows-based encryption you are safe to reset your password with this information.

1. Boot from Windows 7/8 setup Be sure that your BIOS boot order has your DVD/USB device as first boot device (for Dell, press F2 to enter BIOS) or if you have the ability to select a boot menu (F12 for Dell), then select the appropriate device listing for your case. If not using a Dell machine please refer to your manufactures directions for changing boot order. Using your Windows 7/8 setup DVD or flash drive, turn on the computer, and wait for the message "Press any key to boot from CD or DVD" and press any key.

2. Close Windows Setup Close the Language windows by clicking the X in the in the corner and confirm to cancel the Windows installation. Wait until you see the Windows 7/8 start screen.

3. Getting the CMD Prompt Windows 7/8 setup should greet you and encourage you to configure your language settings at this point Press SHIFT+F10 to open a command prompt, which should show you "X:\Sources" In the CMD Window enter (without " 's) "copy d:\windows\system32\sethc.exe d:\" If you get the error message along the lines of "The system cannot find the specified path" try replacing “d:” in the command above with different drive letters (possibly "e:" or "f:") until the error message disappears Were now going to replace the "Sticky Keys" app on your machine with a CMD prompt, enter "copy /y d:\windows\system32\cmd.exe d:\windows\system32\sethc.exe" (without " 's) Once accepted exit and restart and wait for the logon screen.

4. Sticky Keys power... Activate Press the SHIFT key five times. You should now see the command prompt If your wondering what Sticky Keys are ... http://en.wikipedia.org/wiki/Sticky_keys

5. Find local users Type "net user' to get a listing of user names that reside on your machine.

6. Pick a user to reset From the list, choose a user name that you wish it reset and type "net user user_name new_password", user_name is the one you picked from the table (net user) and new_password is.... something you can remember If the user name or password contains blanks, you have to set it in quotes I.E C:\Windows\system32> net user “Alan Pine” “My Remembered Password”

7. TA DA! You just reset your Windows 7/8 password. Close the CMD window and log on with the aforementioned set "net user" Name and password. If you want to restore your "Sticky Keys" app, return to step one and walk through the process again and use this command in step 2: "copy /y d:\sethc.exe d:\windows\system32\sethc.exe" IN REPLACE OF "copy /y d:\windows\system32\cmd.exe d:\windows\system32\sethc.exe"

Summary

Thanks Alan!

share|improve this answer
    
+1 because it likely solves the issue which the user has (though it does not address the underlying problem such as an office with no documentation nor an IT person). –  Hennes Oct 31 '14 at 10:52

There is still a built-in Administrator account, which is disabled by default. However, when there are no other administrative accounts on the system the built-in Administrator account may become enabled. Go into Safe Mode and see if Administrator appears on the Welcome Screen. If it does, log in and use it to switch your own account back into an admin account.

If Administrator doesn't appear on the Welcome Screen, enable it as follows:

If you have a Windows 7 installation DVD (not a recovery DVD) you can boot the system with it. Select the default language, then choose "Repair your computer". Then select "Command Prompt". At the command prompt type:

net user administrator /active:yes

Remove the DVD, reboot the computer, and log into the built-in Administrator account.

If you don't have a Windows 7 installation DVD (only have a recovery disc), Dell may have given you the Windows 7 System Repair option (not a System Recovery!) on the diagnostic menu. This diagnostic menu is the same one where you can choose Safe Mode. To get to this menu, repeatedly tap the F8 key as the computer is starting up.

After you have fixed your account, log into it and disable the built-in Administrator again for security purposes:

Press Start --> Search box --> type: cmd

When cmd appears in Results above, right-click it and choose "Run as administrator". Now you will get the command prompt. At the command prompt type:

net user administrator /active:no

For reference, this information was taken from answers.microsoft.com but edited by me.

share|improve this answer

There is a tool called Offline NT Password & Registry Editor.
I have used it several times and would highly recommend it.
Below is a link to an easy to follow tutorial with screenshots that should be able to help you remove the administrator password.

http://pcsupport.about.com/od/toolsofthetrade/ss/ontpre-screenshot-guide.htm

Good luck!

share|improve this answer

Quoting from MCTS "configuring windows 7"

After the computer reboots, you need to specify a user name and a computer name.
The user name you specify is the default administrator account for that computer.
The account named Administrator, used in previous versions as the default administrative account, is disabled by default. It is possible to enable this account only by modifying Group Policy.

This means:

  1. Your boss is correct. She does not remember setting an administrator account because she was not asked for one.
  2. The username she entered is the default administrator account for that computer.
    (Which is why there is an option when you right click which reads 'run as administrator')
  3. This account is not named administrator, even though such a named account exists.


All that aside: I read this not as a question of "I need to asministrator password" but as "I need to access network drives and occasionally install or uninstall a program".

For the first part: I need access to network shares:

  • If there is an IT person in the office she solve do that for for you.
  • If there is no such person then someone configured the netowk shares. He or she will (should) have documented that and can grant access to that. That person can (and should) grant access to the relevant folders for your user account. (I guess this was done previously to an account admin which is really a bad setup).

For the second part you need an account which can elevate its right to administrator. This is not the same as with older (e.g. 10+ years old XP). These days and account runs as a normal user. Some account (e.g. the default user created during installation and the default disabled account named administrator) have these rights. But those elevated rights are not 'on' by default.

share|improve this answer

protected by Community Dec 22 '14 at 10:11

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.