This article describes how to reset the administrator account password on Microsoft Windows Server 2022. However, it also works with earlier editions.
The built-in Windows application, Utilman.exe, allows users to configure accessibility options like magnifier, high contrast theme, narrator, and on-screen keyboard, even before logging into the system. The trick is temporarily replacing the original Utilman.exe file with a copy of cmd.exe, making it possible to run a command to change the password.
The procedure works on virtual and physical servers as long as you can boot from installation media. In this example, we will use our VMware VPS platform, which supports boot from CD/DVD.
First, log in to GleSYS Cloud and navigate to the desired VMware VPS.
Click on the CD/DVD tab and mount the following ISO:
SW_DVD9_Win_Server_STD_CORE_2022_2108.9_64Bit_English_DC_STD_MLF_X23-14506.iso
If the server doesn't shut down within a few minutes, try Power off (forced) instead. It's important to note that this method is equivalent to holding the power button and should be avoided whenever possible.
To make the DVD accessible, we need to change the boot order in the BIOS. Click Actions -> Power on into BIOS, then open the console by clicking Actions -> Console.
In the console window, choose Enter setup, then Configure boot options, and select Change boot order.
Press Enter to edit the boot order, then go to EFI VMware Virtual IDE CDROM Drive (IDE 0:0) and move it to the top by pressing + on your keyboard.
Press Enter to save, then go down to Commit changes, exit, and press Enter again.
Exit the Boot Maintenance Manager, press Enter, and finally, Reset the system.
When the message "Press any key to boot from CD or DVD" appears, press a key to start booting from the ISO.
The command prompt opens.
c:
cd Windows
cd System32
ren Utilman.exe Utilman.exe.old
diskpart
in the command prompt and press Enter
.list volume
.select volume <number>
.assign letter=c
.exit
and try again.
copy cmd.exe Utilman.exe
exit
The server will then be restarted. Wait until the boot process is complete.
The Administrator: C:\Windows\System32\Utilman.exe window opens. In some circumstances, this may take some time.
net user Administrator MYNEWPASSWORD
The password is changed.
c:
cd Windows
cd System32
del Utilman.exe
ren Utilman.exe.old Utilman.exe
exit
Switch to GleSYS Cloud. Select the server in the control panel and eject the mounted DVD by deselecting the ISO.
Perform a reboot of the server.
After the server restarts, you must log in to the server with the new password.
Kontakta oss gärna för mer information. Vi hjälper dig att komma fram till den bästa lösningen för dina behov.