Reset forgotten Windows Administrator password: Difference between revisions

From roonics
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
1.  Boot the server from a Windows installer ISO
1.  Boot the server from a Windows installer ISO
2.  Select "Repair" and "Troubleshooting" then click to open a command prompt
2.  Select "Repair" and "Troubleshooting" then click to open a command prompt
3.  At the command prompt type:
3.  At the command prompt type:
<pre>
<pre>
move d:\windows\system32\utilman.exe d:\windows\system32\utilman.exe.bak
move d:\windows\system32\utilman.exe d:\windows\system32\utilman.exe.bak
copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe
copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe
</pre>
</pre>
4.  Reboot the server
4.  Reboot the server
5.  When at the login screen click the below icon:
5.  When at the login screen click the below icon:


Line 12: Line 17:


6.  This will open a command prompt, at the command prompt type:
6.  This will open a command prompt, at the command prompt type:
<pre>net user <username> <password></pre>
<pre>net user <username> <password></pre>
7.  Type "exit" to close the command prompt
7.  Type "exit" to close the command prompt



Revision as of 07:38, 24 April 2020

1. Boot the server from a Windows installer ISO

2. Select "Repair" and "Troubleshooting" then click to open a command prompt

3. At the command prompt type:

move d:\windows\system32\utilman.exe d:\windows\system32\utilman.exe.bak
copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe

4. Reboot the server

5. When at the login screen click the below icon:

6. This will open a command prompt, at the command prompt type:

net user <username> <password>

7. Type "exit" to close the command prompt

You should not be able to login to the administrator account with the password you just set