Reset Windows Server password with Windows PE boot disk

Dur_ga

Banned
If you have ever installed Windows Server 2008 in your computer and set up a password to protect your computer safety, you may have met with the problem of forgetting the password, so this time I will tell you a method which can help you get Windows 2008 password recovery on your own with Windows PE boot disk, but it may take you half an hour or more time.

1. You should download a Windows 2008 PE image from the official site of Microsoft first of all.

2. Download XBurnder and use it to burn the Windows PE image to CD/DVD disc. You should remember that don’t burn the image file to CD/DVD disc as a common file, or you will get failed when boot your computer from Windows PE boot disk.

3. Boot the locked server computer from WinPE boot disk. You must access to BIOS and set your server computer to boot from CD/DVD-ROM. After Windows booting from Windows PE, you can do lots of thing like in windows

4. Write a vb script as below and then safe it as password.vbs.

Code:
Dim user Set user = GetObject("WinNT://" & "." & "/Administrator, user") user.SetPassword "newPassword123" user.SetInfo

5. Load the windows server 2008 registry system file to Windows PE registry, and then add the following key items to it.

Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Current Version \Group Policy\State\Machine\Scripts\Startup]                       
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Current Version \Group Policy\State\Machine\Scripts\Startup\0\0] 
"Script"="C:\\windows\\system32\\password.vbs" // script file path 
"Parameters"="" 
"ExecTime"=hex(b):db,07,0c,00,03,00,0e,00,00,00,21,00,13,00,1f,00 
"LastPolicyTime"=dword:00fd86f8

5. Restart server computer. After computer rebooting, the script will be run and it will reset the administrator password to newPassword123.

Now you could log on server with this new password!
 
Last edited by a moderator:

Top