It can happen to anyone: we have an old Windows PC we haven't used for a while, and we can't remember the administrator password. However, not all is lost, and we have more options than formatting the hard drive and reinstalling the OS. Gaining Administrator access in Windows is easy, and we can do it in a few minutes on Windows 7, Windows 8.1, and Windows 10.
Unblock any international website, browse anonymously, and download movies and Mp3 with complete safety with CyberGhost, just for $2.75 per month:
This guide is purely for educational purposes. Never attempt to gain Administrator access to a device you do not own unless you have the explicit permission of the owner.
Local or Microsoft Account?
The following methods will only work for local accounts. If we use our Microsoft account to log in the PC on Windows 8.1 and Windows 10, we can reset our password through Microsoft.
How to gain administrator access with a Windows Boot DVD/USB
There are several applications to help us gain administrator access to Windows. If, however, we already have a Windows installation DVD or USB, we don't need any third-party applications, we can use the installation medium to do a clever hack.
Even if we don't have a Windows installation medium readily available, it's easy and legal to download Windows 7, download Windows 8.1 or download Windows 10 as an ISO on a different PC.
We can then create a Windows Installation Disc or USB.
We have created this guide using a Windows 10 installation DVD. It should work the same with a Windows 8.1 DVD or USB, but Windows 7 is slightly different, we will point out the differences through the guide.
Boot with a Windows DVD/USB
It doesn't matter on which version of Windows we want to gain administrator access; any installation medium will do. A Windows 7 DVD can be used to gain administrator access to Windows 10 and vice versa.
The next step is to change the BIOS or UEFI settings or use a boot menu to boot from the installation medium.
If you've never done that on your PC, you can check out our detailed guide:
Change the Boot Order to Boot from USB or DVD on BIOS / UEFI
Open the Windows -> System 32 Folder
After we boot from the installation medium, we need to press any key on the keyboard when prompted, to enter the Windows Installation environment.
On the "Install now" screen, we select the "Repair your computer" option.
There, we click on Troubleshoot...
...and System Image Recovery.
Don't worry if you have never created a System Image, we won't use this feature to gain administrator access.
We select the target operating system.
Since we don't have a System Image to recover, we cancel the initial prompt.
Then, we click next with "Select a system image".
We click on "Advanced"...
...select "Install a driver"...
...and then OK.
By the way, if we used a Windows 7 DVD or USB, we would get the same "Install a driver" option right after we clicked on "Repair your Computer".
That's Microsoft for you, making the simple complex.
The "Load Drivers" button will open a Windows Explorer Window, which will give us access to any and all of the system files.
We just double click "This PC" and then open the Local Disk containing Windows.
If our PC has a System Reserved Partition, the correct Local Disk containing Windows might be (D:).
Inside the Local Disk, we navigate to Windows -> System32
Modify the proper files
At this point, we need to be careful. If we mess with the wrong files, we could make the Windows installation unbootable.
In the System32 folder, we look for the cmd application. The fastest way to find it is to type "cmd".
We make a copy of the file with Ctrl+C, paste a copy of it with Ctrl+V and then press F5 to refresh. If we did it correctly, we get a "cmd - Copy" file.
After that, we need to find the "Utilman" application and press F2 to rename it.
We rename it to "Utilman 1", "Utilman Bac", or anything else, and confirm with "Enter". We must again press F5 to refresh and see the change.
Finally, we go back to "cmd - Copy", press F2 to rename it, change its name to "Utilman" and press F5 to refresh. If we get any error, it probably means that we haven't renamed the original Utilman correctly.
After that, we can reset our PC from the reset button most PC towers have. If it is a laptop, we can press the power button until it shuts down. Don't worry, this will have no adverse effects on your system.
Gaining administrator access
We boot from the hard drive to the installed Windows. At the login screen, we click on the Ease of Use icon.
On Windows 7 and Windows 8.1, we will find it on the left side.
The "Ease of Access" panel uses Utilman.exe to run. But since we have replaced Utilman.exe with a cmd.exe file, the Ease of Access button will open the command line. Neat.
Now, to gain administrator access, we must use the username of an administrator account. We just type:
net localgroup Administrators
Remember, we can only gain administrator access to a local account. So accounts that also show their email on Windows 8.1 and Windows 10 are off-limits.
In our example, we can gain administrator access only with the PCsteps account, not with my personal Microsoft account.
On Windows 7, where there is no option to log in with a Microsoft account, we won't have such a problem.
Now, the only thing left to do is type:
net user (user name) *
If the username is two words, we need to have it inside quotation marks " ". The system will prompt us for a new password.
We can leave the new password blank, by just pressing Enter twice, for the password and confirmation.
We now just have to click on the administrator account and Sign in without a password.
And that's it. We have successfully gained Administrator access in Windows.
If we are not using the Ease of Access features, there is no haste to change the system files back.
Whenever we want, we can repeat the process, delete the Utilman CMD executable, and rename the Utilman 1 back to Utilman.
How to gain administrator access with Lazesoft "Recover My Password"
We first posted this guide on April 2015, and one of our readers in the comments section suggested an alternative method to gain administrator access to Windows, using Lasesoft's "Recover My Password" software.
So, since we updated this guide, we decided to add this method too.
We have also used Lazesoft "Recover My Password" in the past, to get the Windows 8.1 product key from the BIOS. It is an exceptional application.
Install "Recover My Password"
On another PC than the one we need Administrator access on, we download the latest version of Lazersoft's software from
http://www.lazesoft.com/forgot-windows-admin-password-recovery-freeware.html
The installation is safe; it won't attempt to trick us into installing toolbars, adware, spyware, or browser hijackers.
Create bootable media
After the installation, we run the program and click on "Burn Bootable CD/USB Disk Now!".
We can leave the default "DO NOT Specify the Windows version" option.
The app gives us three choices: immediately burn a CD or DVD, create a bootable USB flash, or create an ISO image to use later. For the example, we will create a bootable USB flash.
The Recover My Password application will first download the WinPE components from Microsoft.
Then, it will ask to format the USB drive. This procedure will delete any files on the USB, so make sure to check before you click on "Yes".
After that, the Lazesoft app will begin creating the bootable drive. It shouldn't take more than a couple of minutes.
Soon, the disk will be ready.
It's best to remove it safely, so we avoid any chance of data corruption.
The Recover My Password bootable environment
Back on the PC where we need administrator access, we must set up the BIOS or UEFI to boot from the bootable medium and boot from the Lazesoft installation media.
We will get a "Windows Boot Manager" screen, where we select the Lazesoft Live CD or Lazesoft Live USB option, depending on the medium.
On the recovery environment, we leave the default "Reset Windows Password" option.
If Lazesoft doesn't recognize our hard drive, we need to download our motherboard's SATA drivers and load them with the Load Drivers button.
The Recover My Password Home Edition is free only for non-commercial use, so we have to confirm that we aren't using it in a production environment.
Lazesoft will ask us to select the Windows installation - in case we are multibooting - and will give us the option to reset the local password.
On the next screen, we can select one of the Windows accounts.
As with the Windows Installation DVD / USB method to gain Administrator access, we can't reset the password on a Microsoft Live ID account.
The best course of action is to select the Administrator account, which is disabled by default.
Recover My Password will enable the Administrator account, and reset its password to a blank password.
With this, we are done, and we now have administrator access on the current PC. We just have to reboot the computer.
Remember to remove the bootable media, so the system doesn't reboot back into the Lazesoft environment.
On the next boot, we will find the "Administrator" user.
We just click on it, wait for a couple of seconds for Windows 8.1 or Windows 10 to set up the account...
...and we now have administrator access.
We can go to Local Disk (C:) -> Users -> (our main account username) and copy anything from our personal folders and files.
Did you have any trouble gaining administrator access?
If any of the above steps didn't work for you as described, and you weren't able to gain administrator access to your Windows installation, leave us a comment.
Support PCsteps
Do you want to support PCsteps, so we can post high quality articles throughout the week?
You can like our Facebook page, share this post with your friends, and select our affiliate links for your purchases on Amazon.com or Newegg.
If you prefer your purchases from China, we are affiliated with the largest international e-shops:
K.S S.K says
Do we have after we finish to change again the name of the file and delete cmd-copy???
Angelos Kyritsis says
If you aren't using the "ease of access" features, it's not really necessary.
kevin freels says
If you rename the folders back where they were, does it put the original password back? My issue is getting to some folders on my daughter's computer to install some monitoring software. We had an agreement that she would allow this but she keeps temporarily disabling it because she knows it's there. This is a last ditch effort other than simply taking her laptop but that will impact her school work. I know there are dozens of alternatives but for a dozen reasons I feel this is the best for this particular situation.
Tiffany Gopal says
Yeah! that was the part that messed me up I had to dig through the folders to fix it.
George (Γιώργος) says
Angelos,
Recover My Password Home Edition by Lazeoft enables you to create a root acount and accees windows without a password. So you can save your files and delete yourold acount. For that reason, I think that you should include it. (είμαι Έλληνας)
Angelos Kyritsis says
Since it's easy enough to reset the current administrator's password, creating a new account seems unnecessary. In which way do you consider it a better solution?
George (Γιώργος) says
I consider it's a better solution, because you just have to create a bootable disk and boot from this. The entire method you suggest can be easily avoided. Finally, you save the files you want and everythink is like before.
George says
P.S. Additionally, you can access windows even if you use a microsoft acount.
kevin freels says
Od you mean that the previous password can be preserved?
boi says
it didn't let me change the cmd name without a admin password
Linda says
Cmd is a system file that you might need to change its name from outside of Windows box. Usually I would like to use PCUnlocker and Ophcrack to reset a forgotten Windows password.
naima says
hello ive been trying to do as the post says. but after changing the boot option, my pc is not picking up the boot device i used to set up lazesoft on. Bot menu doesnt show.
please help?
Glen Foster says
Does this work on computers with deep freeze?
Ben says
Nice easy step by step. I have done this before but I forgot how easy it was! Thanks!
Ben says
oh, I didn't have a local admin by the way, I had to enable the built in administrator account by setting a password and then activating it:
Net User Administrator P@$$w0RD
Net User Administrator Active:yes
Then I logged in as the pcnameadministrator with the password I just set and could manipulate the user accounts with no restrictions.
PatriotOne11 says
Thank you for the informative articles. Is there are way to use this technique with an encrypted boot drive? I'm using Sophos Safeguard
Angelos Kyritsis says
Hey @PatriotOne11:disqus
Unfortunately, this technique won't work with encrypted drives.
Blackbeard says
I followed these steps up to the point where you open the local disk in order to rename the cmd and the other file, but it does not allow me to open the local disk. Does this mean I have an encrypted disk?
Angelos Kyritsis says
Which Windows version are you using?
Mick says
The method using Utilman.exe modification failed because the command prompt did not load upon hitting the ease of access button on a Windows 10 Pro x64 machine.
Mick says
Lazesoft "Recover My Password" method did work. I tried several utilities including isumsoft Password Refixer Personal and Spower Windows Password Reset to create a bootable flash that would reset or change local user passwords. The isumsoft created media would not even show in BIOS, the Spower created media was listed in BIOS but was not bootable on my machine.
I used Lazesoft Recover My Password utility to create an ISO (being thorough here since I had all of the boot issues prior) and then used Rufus 3.3 to create a bootable flash drive with the aforementioned ISO. Showed up in BIOS and booted like a charm and I was able to reset a local user account's password and go from there to regain access to the machine.
Thank you for the link and taking the time to update the article to include the user suggested Lazesoft software.
Angelos Kyritsis says
Thank you for your input, Mick.