Reset windows server administrator password

Восстановление доступа к системе может стать актуальной задачей для администраторов и пользователей Windows Server 2022, 2019 и 2016, а также других версий Windows. Если вы столкнулись с необходимостью сброса забытого пароля, этот процесс можно выполнить с помощью загрузочного образа операционной системы. В зависимости от того, работаете ли вы с физическим сервером или виртуальной машиной, вам потребуется записанный на USB-флешку образ системы или его ISO-версия соответственно. Ниже приведены шаги, которые помогут вам сбросить пароль и восстановить доступ к системе:

  1. Подготовка и подключение образа: Подключите загрузочный образ операционной системы к физическому серверу или виртуальной машине (ВМ). Это может быть образ на USB-флешке или ISO-файл.
  2. Загрузка с образа: Перезагрузите сервер или ВМ и настройте его на загрузку с подключенного образа операционной системы, аналогично процессу установки новой ОС.
  3. Доступ к командной строке: Сразу после начала загрузки системы с образа нажмите сочетание клавиш Shift + F10, чтобы открыть командную строку. Если доступ к командной строке не получен через Shift + F10, следуйте дальнейшим инструкциям: выберите опцию «Далее», затем «Восстановление системы», перейдите к разделу «Поиск и устранение неисправностей» и выберите «Командная строка».

После того как вы получили доступ к командной строке, следующим шагом будет попытка перейти на диск, обычно используемый под системный раздел, то есть на диск «C». Введите команду C:. Если система выдает сообщение об ошибке, указывая, что диск не найден, необходимо назначить этому разделу букву диска. Используйте для этого утилиту diskpart, следуя приведенным ниже инструкциям:

  1. Введите команду diskpart для запуска утилиты.
  2. Введите lis dis, чтобы отобразить список всех доступных дисков. Обычно системный диск обозначается как диск 0, но вам следует проверить, что это действительно тот диск, на котором установлена операционная система.
  3. Выберите диск с помощью команды sel dis 0, где 0 — номер диска с установленной ОС.
  4. Чтобы увидеть разделы на выбранном диске, используйте lis par. Это поможет определить номер системного раздела.
  5. Выберите нужный раздел, введя sel par X, где X — номер соответствующего раздела. Например, если системный раздел — это раздел 3, используйте sel par 3.
  6. Назначьте букву разделу командой assign letter=C, чтобы раздел стал доступен под буквой C.
  7. Проверьте, что буква успешно назначена, с помощью lis vol. Раздел должен отображаться с новой буквой диска.
  8. Завершите работу с diskpart, введя exit.

В командной строке это выглядит так:

После успешного доступа к нужному разделу и назначения ему буквы, перейдите к следующим шагам для подготовки к сбросу пароля:

  1. Изменение файла вспомогательной утилиты:

a) Сначала переименуйте существующий файл утилиты вспомогательной доступности, чтобы сохранить его для последующего восстановления. Введите следующую команду:

move C:\Windows\System32\Utilman.exe C:\Windows\System32\Utilman.exe.bak

Это переименует файл Utilman.exe в Utilman.exe.bak. Этот шаг необходим для того, чтобы вы могли восстановить оригинальный файл после сброса пароля.

b) Затем создайте копию файла командной строки (cmd.exe) с именем Utilman.exe, чтобы получить прямой доступ к командной строке с экрана входа в систему. Используйте команду:

copy C:\Windows\System32\cmd.exe C:\Windows\System32\Utilman.exe

Это позволит запустить командную строку перед входом в систему, используя иконку вспомогательных технологий на экране блокировки.

В командной строке выглядит так:

После внесения необходимых изменений через командную строку в среде установочного образа Windows, следуйте этим шагам для безопасной перезагрузки вашего сервера:

  1. Закрытие командной строки:
    • Закройте командную строку, нажав на крестик в углу окна или введя команду exit.
  2. Выход из установщика Windows:
    • После закрытия командной строки, если вы находитесь в установщике Windows или в среде восстановления, закройте все открытые окна, нажимая на крестики или выбирая опцию «Отмена» при появлении запросов о продолжении установки. Система может предложить вам опции действий перед закрытием, включая возможность перезагрузки.
    • Если представляется возможность выбора, используйте опцию «Выключить компьютер». Это самый безопасный способ завершить работу с установочным образом и гарантировать, что изменения, внесенные в систему, не приведут к нежелательным последствиям.
  3. Перезагрузка сервера:
    • После выключения сервера включите его снова, используя физическую кнопку питания. Это обеспечит его загрузку с системного диска в обычном режиме.
    • Убедитесь, что установочный носитель (например, USB-флешка или диск) удален или не выбран в качестве приоритетного устройства загрузки в настройках BIOS или UEFI, чтобы сервер загрузился с жесткого диска.
  4. Доступ к командной строке через экран блокировки:
    • После перезагрузки и загрузки операционной системы обратите внимание на экран входа. На этом этапе, вместо стандартного ввода пароля, нажмите на иконку «Специальные возможности», которая теперь должна активировать командную строку. В зависимости от скорости вашей системы, возможно, потребуется подождать несколько минут, пока командная строка не станет доступной.

  5. Сброс пароля пользователя:

    • В открытой командной строке введите net user, чтобы увидеть список учетных записей пользователей на вашем компьютере. Это поможет вам определить точное имя учетной записи, для которой вы хотите сбросить пароль.
    • Затем используйте команду net user имя_пользователя новый_пароль, заменив имя_пользователя на имя учетной записи, для которой вы сбрасываете пароль, и новый_пароль на пароль, который вы хотите установить. Например, если имя пользователя «admin» и вы хотите установить новый пароль «password123», введите:

net user admin password123

    • После успешного выполнения команды закройте командную строку, введя exit.

   6. Проверка нового пароля:

  • Теперь попробуйте авторизоваться в системе, используя новый пароль для выбранной учетной записи.

После успешного сброса пароля важно восстановить первоначальное состояние системных файлов, чтобы закрыть доступ к возможности сброса пароля через экран блокировки. Для этого необходимо вернуть файл Utilman.exe на его исходное место:

  1. Повторный доступ к системе через образ:
    • Перезагрузите ваш сервер, используя установочный образ Windows, как вы делали это ранее.
    • Снова откройте командную строку на этапе выбора языка установки, используя сочетание клавиш Shift + F10.
  2. Переход на системный раздел:
    • Если необходимо, используйте diskpart и соответствующие команды, как описано в предыдущих шагах, чтобы обеспечить доступ к диску C.
  3. Восстановление файла Utilman.exe:
    • Введите следующую команду для восстановления оригинального файла вспомогательной утилиты доступности:

move C:\Windows\System32\Utilman.exe.bak C:\Windows\System32\Utilman.exe

Это действие заменит модифицированную версию файла Utilman.exe его оригинальной копией, восстанавливая стандартное поведение системы на экране блокировки.

  4. Завершение работы:

    • После восстановления файла введите exit для выхода из командной строки.
    • Закройте все окна установщика Windows и отмените процесс установки, если система запросит подтверждение. Это должно привести к автоматической перезагрузке системы.

Мы надеемся, что это руководство помогло вам сбросить пароль. В заключение, хотим напомнить, что наша компания предлагает широкий спектр услуг, связанных с серверами. Независимо от того, нужен ли вам новый или б/у сервер, или вы ищете надежное решение для аренды выделенного сервера (Dedicated Server) или виртуального (VPS), мы готовы предложить оптимальные варианты, соответствующие вашим бизнес-потребностям. Свяжитесь с нами Контакты | OLP.kz  для получения дополнительной информации о наших продуктах и услугах.


If you’ve forgotten the Administrator password for your Windows Server or need to reset it, this guide provides a step-by-step process to regain access through the VPS management portal. By mounting an ISO and using the command prompt, you can securely reset the password without reinstalling the operating system, ensuring that all server data remains intact. Follow these instructions carefully to successfully reset your password while preserving all data on your server.

Access the VPS Management Portal

  1. Activate VNC access for VPS

  2. Open launch noVNC or VNC client

  3. Mount ISO in the Server management section.

  4. In the drop-down list choose for example: Windows Server 2019

  5. Check the box force reset & boot from the selected ISO then click on the Mount ISO button

  6. Open the noVNC tap in your browser or VNC client.

  7. Press 2 to boot from mounted .iso (DVD/CD), For example:

Windows Installation Setup

  1. Wait until the Windows installation is loaded and on the Windows Setup window click to Next button.

  2. Press Install now button on the center of the new window.

  3. Choose Windows Server 2019 Standard Evaluation (Desktop Experience) and click Next:

  4. Check the box to accept the license terms, then click the Next button.

  5. Choose Custom: Install Windows only(advanced) option:

  6. On the new window click on the Load Driver:

Load the Virtio Driver

  1. On the Load driver window, click to Browse button

  2. Select the drive labeled “virtio-win-0.1.215” to load the necessary Virtio drivers for the installation.

  3. Choose viostor directory -> 2k19 -> amd64, and click to OK:

  4. When the driver is loaded, click on the Next button:

Open Command Prompt via Windows Setup

  1. When drives are displayed, do not click on the next button! Otherwise, you will start the reinstall process of the system and all the data will be wiped!
    Enter the combination SHIFT+F10 using a keyboard to open the command terminal, after that, you will see the console window:

  2. Enter diskpart command to console:

  3. Enter the list volume command. The Windows operating system is located on the F drive, identified by its large allocated space—in this example, 44 GB. Now that we know the Windows drive name, type exit to close diskpart.

  4. Enter the command F: to follow on disk F (where located Windows OS)

  5. Navigate to the directory by typing cd Windows/System32, then make a backup of Utilman.exe by entering move Utilman.exe Utilman.exe.bak and press Enter.

  6. Run the command — copy cmd.exe Utilman.exe

Reset the Administrator Password

  1. Come back to KVM Manager panel and Umount Windows Server drive. Make sure the disk is unmounted and return to VNC. Run the command wpeutil reboot to restart VPS.

  2. Once Windows loads, press **CTRL+ALT+DELETE **to access the login screen. Click the Ease of Access icon at the bottom right, which should open a new terminal window.

  3. In the terminal window that opens, run the command
    net user Administrator newstrongpassword
    Where:
    Administrator is the Administrator account in Windows that has full system control —newstrongpassword is a new password.

Revert the changes to Ease of Access

  1. Close the console window and connect to the server using the new password.
    Once connected, reopen Command Prompt and follow the steps below to revert your changes, restoring the original functionality of the Ease of Access utility.
  • Click the Start button or press the Windows key on your keyboard.

  • Type cmd or Command Prompt in the search bar.

  • Right-click Command Prompt from the search results and select Run as administrator.

  • Run as administrator

  • Run command copy c:\windows\system32\utilman.exe.bak c:\windows\system32\utilman.exe /y

Congratulations, you have successfully changed the administrator password for Windows Server.

  1. Way 1. Use EaseUS Partition Master — Easiest and Fastest
  2. Way 2. Use Windows Server Password Reset Disk
  3. Way 3. Use Command Prompt

Resetting Windows Server passwords can become necessary in various situations, whether someone has forgotten the password or wants to update it for security purposes. Whatever reasons have led you to learn how to reset the Windows Server password, y. Follow this guide from EaseUS to easily reset the password for Windows Server in no time.

Tip
These methods apply to all versions of Windows Server, including 2022, 2019, 2018, 2016, and 2012. So, there’s no need to worry — you won’t face any complexity, as the steps are similar.

If you’re locked out and have forgotten the password, you’ll find the entire process with proper step-by-step instructions in this part. If you are a beginner, the first method might be an ideal option.

Way 1. Use EaseUS Partition Master — Easiest and Fastest

The easiest way is to use EaseUS Partition Master Server and its «Password Reset» feature to avoid the hassle and complexity of resetting the Windows Server, especially if you’re locked out and don’t remember the password. EaseUS Partition Master is easy to use and can create a password reset USB on another PC to unlock the server PC.

Download the Windows Server password reset tool and follow the steps below to unlock your Windows Server PC.

  24/7 Tech Chat

Free Inquiry

Follow these steps:

Step 1. Insert the target USB disk into the computer, download and run EaseUS Partition Master, and click «Toolkit» > «Password Reset.»

click password reset feature

Step 2. A small window will pop up. After reading it carefully, click «Create».

click create

Step 3. Select the correct USB flash drive or external mobile hard disk and click «Create» again. Wait patiently. After the password reset USB flash drive is created, click «Finish.»

create bootable disk

Step 4. Remove the password reset USB, insert it into the locked PC, and restart. You will be asked to change the boot drive to boot the PC from USB. Once completed, the system will automatically boot from USB.

Step 5. After restarting, find EaseUS Partition Master again and go to «Password Reset.» All accounts on the PC will be displayed in the interface; click on the target account and check «Reset & Unlock.»

select the correct account

Step 6. When you receive this prompt, click «Confirm» to continue. Your password will be erased.

confirm the action

Try EaseUS Partition Master right now to resolve the issue easily and become worry-free from password reset headaches!

  24/7 Tech Chat

Free Inquiry

Let’s find the most appropriate way to reset the Windows server password, whether you’re locked out or logged in. We’ll provide multiple methods for both situations. 

Way 2. Use Windows Server Password Reset Disk

You can use a password reset disk to reset the Windows Server password. However, the premise is that you created the password reset disk before you forgot the Windows Server password. If you have made a password reset disk, follow the guide below to reset the password for Windows Server 2016/2019/2022. If you did not create a password reset disk, turn to EaseUS Partition Master as an alternative.

Follow the steps:

Step 1. Intentionally enter the incorrect password at the login screen. Click the Password reset option.

Step 2. Connect the password reset disk to the locked PC when the password reset Wizard pops up.

Step 3. Choose the password reset disk and click «Next.»

Step 4. Create a new password and password hint, click «Next,» and restart the computer.

password reset disk

Step 5. Log in to Windows Server with the new password.

Share this article with your friends to help them out if they’re facing the same problem.

Way 3. Use Command Prompt

If you lack a password reset disk, there’s still a solution to reset your Windows server password even if you’re locked out. First, you need to create a Windows Server 2019 installation USB to launch the command tool as the built-in administrator and execute a command to reset the password of a local user account.

Follow the steps to reset the Windows server administrator password using Command Prompt:

Step 1. Connect the Windows Server 2019 installation USB to your PC and boot from it.

click install

Step 2. Choose «Repair your computer» from the bottom left corner.

Step 3. Click «Troubleshoot».

click troubleshoot

Step 4. Click «Command Prompt» to open it.

click command prompt

Step 5. Then, type the following commands, pressing Enter after each one.

E:\windows\system32\utilman.exe E:\

type the commands

copy E:\windows\system32\cmd.exe E:\windows\system32\utilman.exe

type the commands

Step 6. Type wpeutil reboot and press Enter.

Step 7. Your PC will be rebooted. Click Ease of Access and in the window, type net user administrator * to reset the password.

Why Reset Windows Server Password?

The password of a Windows Server is different from that of a Windows PC. Resetting a Windows Server password is indeed more complex compared to standard Windows versions. The reasons are as follows:

  1. Single Administrator Account: Windows Server typically defaults to having only one local administrator account. If the password for this account is forgotten, access to the server is lost, making recovery more challenging.
  2. Increased Security Measures: Windows Server is designed with enhanced security features, intentionally making password resets more difficult. This is to protect sensitive data and maintain the integrity of the server environment, unlike standard Windows versions where recovery options are more straightforward.
  3. Password Storage Locations: Passwords in Windows Server are stored in different locations depending on the account type. Domain user passwords are kept in the Active Directory database, while local user passwords are stored in the Security Account Manager (SAM) file. Resetting these passwords requires specialized methods or tools, further complicating the process.

Hence, learning how to reset a Windows Server password is of rather importance. For beginners, EaseUS Partition Master will make the process easier and smoother.

Conclusion

Resetting your Windows Server password, whether you’re locked out or logged in, is a manageable task when you follow the right steps. This guide gave you detailed instructions for many methods. They ensure you can regain access or update your password with ease.

For the quickest and simplest solution, consider using EaseUS Partition Master, a reliable Windows Server 2019/2026 password reset tool. Its «Password Reset» feature can save you time and effort, especially if you’re locked out and don’t remember your password. By following the methods, you can tackle any password reset scenario with confidence.

Share this guide with your friends and colleagues who might find it helpful, and try EaseUS Partition Master to make the process even smoother.

FAQs About Windows Server Password Reset

Do you have more queries about resetting the Windows server password? Check the FAQs below.

1. Where are Windows Server passwords stored?

In Windows Server, there are two types of user accounts: domain user accounts, stored on the domain controller, and local user accounts, stored on the local computer.

The administrator account typically refers to a local user account. When logging in, the computer checks the user list and password file. Microsoft uses different encryption algorithms to protect these passwords, storing domain user accounts in the Active Directory database file (ntds.dit) and local user accounts in the Windows SAM registry hive.

2. How do I reset the Windows Server 2019 administrator password using Command Prompt?

You can reset the Windows Server 2019 administrator password using Command Prompt by creating a Windows Server 2019 installation USB.

  • Create a Windows Server 2019 installation USB.
  • Boot from the USB.
  • Select «Repair your computer» and click «Command Prompt».
  • Type commands to reset the password:
  • E:\windows\system32\utilman.exe E:
  • copy E:\windows\system32\cmd.exe E:\windows\system32\utilman.exe
  • wpeutil reboot
  • net user administrator *

3. How do you reset the Windows Server password with the installation CD?

You can reset the Windows Server password with the installation CD by booting from the CD, selecting the «Repair your computer» option, and then using the Command Prompt (CMD) to reset the password.

Related Articles

  • How to Clone Mac Hard Drive to External SSD (Easy Steps)

    Oliver/2025/04/28

  • How to Format Bitlocker Encrypted Drive Using CMD

    Cici/2025/04/28

  • Top Partition Magic Freeware/Best Partition Software

    Tracy King/2025/04/28

  • How to Remove USB Partition on Windows 10/11

    Tracy King/2025/04/28

INTRODUCTION

This blog will guide you to reset lost Administrator password in Windows Servers 2012R2, 2016, 2019 and 2022.

An administrator account is a user account that grants you the ability to make changes that effect other users. Administrators have access to all data on the computer and can alter security settings, install software and hardware. Administrators can also make modifications to other user accounts, such as creating new local user accounts other than the administrator and giving the local user administrative capabilities.

Step 1. Login to microhost.com reset lost Administrator password

reset lost Administrator password

Step 2. Got to Manage

Step 3. Go to ISO section, and mount any other Windows Server ISO than your current OS version. Let’s say we have Windows Server 2019 OS installed on our VM, so we will be mounting the OS of WIndows Server 2016. You can also do the vice versa.

Then click on Mount and Boot from ISO.

reset lost Administrator password

Step 4. Go to the console of the VM. reset lost Administrator password

Step 5. Power on and off the VM from the Microhost Manage Platform

reset lost Administrator password

Step 6. After powering on the VM from the panel, immediately go to the console and press escape to boot the VM with the ISO we just mounted. On the console we will find OS installation setup of the ISO we just mounted.

Step 7. Click Next on Windows Setup.

reset lost Administrator password

Step 8. Then click on Repair your computer.

Step 9. Click on Troubleshoot

reset lost Administrator password

Step 10. Click on Command Prompt

Step 11. CMD will open. Now type Diskpart, which will tell us which volume does our OS exists on.

reset lost Administrator password

Step 12. exit diskpart and Go to Windows\System32 in the volume where your old OS exists. Volume F in our case.

Step 13. Now we will rename the utiman.exe file.

reset lost Administrator password

Step 14. Now we will copy cmd to utilman. (here we have replaced utilman with the command prompt in order to be able to reset our password)

Step 15. Type exit in cmd and continue to boot the VM with our old Windows OS.

reset lost Administrator password

Step 16. Let the VM boot in our old Windows Server 2019 OS that we already had installed on our VM.

reset lost Administrator password

Step 17. On the console menu, we will go to ease of access. Where cmd will open.

Step 18. Now we will run the following command to reset the Administartor’s password.

net user administrator Passw0rd

reset lost Administrator password

where Passw0rd is the new password that we need to set for the administrator.

The command says “The command completed successfully” means the password was reset successfully.

Step 19. Click exit. And login with the newly reset password of the administrator.

Step 20. Login with the new password. reset lost Administrator password

reset lost Administrator password

And we have successfully reset the lost password of the Administrator in your Windows Server.

Thank You.

1 min read

This guide will help with resetting Administrator’s password on Windows Server 2022

Requirements:

  • Before you start, you need to download Windows Server 2022 ISO from https://info.microsoft.com/ww-landing-windows-server-2022.html
  • Please check our guide – How to access IPMI through VPN:
    https://console.clouvider.co.uk/index.php?cmd=knowledgebase&action=article&id=1
    If you don’t have access to VPN/IPMI to your server, please create a ticket with IPMI/VPN request and our engineers will be happy to create one for you.

Step 1: Please follow the guide – How to access IPMI through VPN – Run Java Console and mount your Windows Server 2022 ISO

Step 2: Reboot your server, and with F11 key, go to boot menu:

bootmenu

Step 3: When the installation window opens, click Next to continue.

Step 4: Select “repair your computer” option.

Step 5: Select “troubleshoot” option.

Step 6: Select “command prompt”.

Step 7: Inside CMD please type:

d:
cd Windows
cd System32
move utilman.exe utilman.exe.bak
copy cmd.exe utilman.exe
net user administrator /active:yes
shutdown -r -t 0

Step 8: After server reboot, on the home login screen, please press the Win+U combination. Inside CMD window, please type:

net user Administrator your-new-password
exit

Step 9: Your password has been reset. However, you need to rollback your changes with utilman.exe.
Just reboot your server, and repeat this guide. Inside CMD window in Windows Recovery mode, please type:

d:
cd Windows
cd System32
del utilman.exe ren utilman.exe.bak utilman.exe
shutdown -r -t 0

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Sms bomber для windows
  • Как удалить windows с ноутбука lenovo
  • Как зайти в контакты windows
  • Нет платформы гаджетов в windows 7
  • Панель администрирования windows server