Прочитано: 50 738
Данную заметку должен иметь каждый уважающий себя системный администратор, как приходящий в организацию, где всё уже настроено, но пароли не оставлены.
Сейчас я покажу пошагово, как сбросить пароль локального Администратора на сервере под управлением Windows Server 2008 R2.
Имеем систему под управлением – Windows Server 2008 R2 Standard SP1 English.
Задача: сбросить пароль на локальную учётную запись Administrator (Администратора)
Бывало, что к Вам переходила система, а доступ к ней отсутствовал. Под локальным администратором пароль не известен.
Окно входа:
И не всеми любимый отказ зайти:
Для решения поставленной задачи проделаем ниже следующие действия.
Загружаемся с установочного диска:
(Вставить установочный диск и выставить в BIOS первым загружаться, с CD)
В окне выбора меню инсталляции и раскладки клавиатуры оставляем всё как есть, то есть English, нажимаем Next.
Теперь в левом углу выбираем пункт “Repair your computer“:
В появившемся окне “System Recovery Options” выбираем пункт по дефолту “Use recovery tools“, продолжаем, выбрав “Next“.
Далее выбираем инструмент, который будет использоваться для восстановления – это Command Prompt (Командная строка – cmd.exe):
В открывшимся окне командной строки проделываем следующие манипуляции:
X:\Sources>cd /d d:\ D:\cd Windows D:\Windows\cd System32 D:\Windows\System32\move Utilman.exe Utilman.exe.backup D:\Windows\System32\copy cmd.exe utilman.exe
Для справки, исполняемый файл utilman.exe – это Центр специальных возможностей.
Перезагружаем систему доходим до того момента где нужно ввести учётную записи и пароль на вход в систему, но пока этого делать не нужно. Обратим внимание на левый нижний угол:
Выбираем “Ease of access“, щелкаем по нему левой кнопкой мыши:
См. скриншот.
Запуститься окно командной строки:
Теперь у нас доступ к системе с правами NT Authority\SYSTEM:
Whoami
Теперь меняем пароль на локальную учётную запись Администратора:
Net user Administrator Aa1234567 (теперь пароль на локальную учётную запись Administrator будет указанный нами, к примеру Aa1234567):
И возвращаем utilman.exeобратно, в текущей запущенной командной строке сделать это невозможно. Следует проделать точно такие же шаги как мы делали выше.
В окне командной строке вводим:
X:\Sources>cd /d d:\Windows\System32 D:\Windows\System32\copy utilman.exe.backup utilman.exe Overwrite utilman.exe? (Yes/No/All): y 1 file(s) copied.
Снова перезагружаем систему и заходим уже под изменённым паролем для учётной записи Администратора. Данная заметка палочка выручалочка самому себе и разъяснение другим, как решить поставленную задачу.
How to Reset Administrator Password on Windows Server 2008 (R2) — Two Options
Alex Griffith Updated on Mar 19, 2025 10:37 AM
I have a standard install of Windows Server 2008 Enterprise on Hyper-V virtual machine, but I lost the admin password on this Server. I tried to type in all possible passwords I remember but failed. There is no original Windows Server 2008 password reset DVD going along with my pc when I bought it. I would like to ask if there is any ways to get me back?
Sometimes we face this problem that we forget administrator password on Windows Server 2008 (r2) and cannot sign into the system. Unless there is another administrator exists in this Windows domain, you can do nothing but wait for help.
Thankfully, chances are that you don’t have to perform a clean installation of the system, there are ways available for you to recover or reset password in Windows Server 2008 (r2), regardless of a domain admin account or a local user account.
Option 1: Reset Windows Server 2008 password with installation CD
Forgetting Windows 2008 R2 Admin password is not the end of the world. A Windows server 2008 R2 installation CD/DVD could save your life in an emergency. All you need is insert the Server 2008 installation disc in the machine, and then follow these steps:
- Boot from the Windows Server 200 8 installation disk.
- From the Install Windows menu, click «Next».
- Select «Repair your computer», and then «Next».
- Click «Command prompt» to open a window, run the following commands:
- Reboot the Windows Server 2008 r2 system to let Windows load as normal
- At the logon screen, press Windows Key + U.
- Command prompt will show, enter the following command:
- Reboot.
C:
CD C:\Windows\System32
MOVE Utilman.exe Utilman.exe.bak
COPY cmd.exe Utilman.exe
net user administrator New_PASSWORD
(replace with the password you want)
Done! You’ve successfully reset administrator password on Windows Server 2008 r2. Once you have verified you can log on to the server with the new password, don’t forget to repeat the steps above and run the command prompt again to delete the new created Utilman.exe and rename Utilman.exe.bak back to Utilman.exe.
Option 2: Windows Server 2008 password reset software
Software can also help solve the problem of Windows server 2008 r2 password reset without CD. The Windows Password Recovery, which is rather simple and efficient, is an example of a program that can help with such task.
It is capable of creating a password reset disk that you can use to reset admin password for Windows Server 2008, 2012, 2016, and as well reset the password on other Windows operating systems including Windows 10, 8, 7, Vista and XP. Also, it enables you to create a new account with administrative rights and add to your computer.
Follow steps below for resetting the administrator password for a Windows 2008 R2. Related Article: How to reset lost password for Windows 7 on computer
Step 1: Create a Windows server 2008 password reset disk
Since your computer that’s running Windows Server 2008 (R2) is inaccessible, please click the link above to download the program on a second computer, and install it.
Open up the program, insert a blank USB flash drive or CD/DVD media disc onto the computer.
Click the USB device or CD/DVD on the main screen and let the program burn its ISO images files onto the disk you just insert to create a password reset disk.
Once done, remove the disc from the PC and insert your server 2008 R2 machine.
Step 2: Set the server to boot from the disk you just made
Normally, a computer will boot from the hard drive which has Windows installation when it starts, so here we need to adjust the boot sequence settings in BIOS to boot first from the password reset disk.
- How to boot from a USB drive in Windows
- How to boot from CD/DVD-ROM in Windows
Step 3: Reset administrator password on Windows Server 2008 (R2)
After the BIOS configuration, your computer should restart and boot from the Windows Server 2008 reset password disk. Wait until it finished its loading, then you will be presented with the resetting screen of the program.
Now, select your Windows Server 2008 system, as well as the user name that you want to reset the password for, and click the Reset button. The tool will set the password for that account to be Spower@2011.
Note: As you can see in the screenshot, aside from resetting passwords in Windows 2008 Server (R2), the program also gives you ability to add a new account with admin privileges, or delete an existing account on the machine.
Once done, click the Reboot button at the bottom of the screen to restart your computer. Wait for Windows to boot to the Server 2008 (R2) login screen.
IMPORTANT! You will have to remove the disk from the computer after you press the «Reboot» in case the machine will boot from it again.
Congratulations! Now you should now be able to log back onto the Windows server 2008 with the password the tool provided above. Be sure to change the default password to a new password – one you can remember a little easier!
That’s it!
Home » KB » SysAdmin » How to Change or Reset Administrator Password on Windows Server
There may come a time when you need to change the admin password on your Windows Server. Your recovery options depend on whether you remember the old password or not.
If you are routinely changing a known administrator password, you can use the Windows user interface. However, when changing an unknown administrator password, you need to use the command prompt.
Changing Server Administrator Password Windows Server
If you already know the current administrator password, log into your Windows Server, and simply change the password. The steps on how to do so differ depending on the version of Windows you are running.
How to Change the Password on Windows Server 2008 R2/2012
The steps outlined below apply to Windows server versions 2008 R2 and 2012. The only difference between them are steps 2 and 3.
- Log into the server either directly or by using Remote Desktop.
- Windows server 2008 R2: Right-click Computer and then select Manage.
Windows server 2012: Press the Windows key, type Administrative Tools and open the app. - Windows server 2008 R2: Select Configuration.
Windows server 2012: Navigate to Computer Management. - Click Local Users and Groups > Users.
- Find and right-click the Administrator user.
- Click Set Password > Proceed.
- Type in and confirm the new password.
How to Change the Password on Windows Server 2016 or 2019
If you are running Windows server 2016 or 2019, change the admin password by following the steps below:
- Log into the server either directly or by using Remote Desktop.
- Press the Windows key + i to open Windows Settings.
- Navigate to Accounts and open the Sign-in Options.
- Scroll to the Password section and click Change.
- Provide the current password and click Next.
- Type in and confirm the new password.
How to Reset Password on Windows Server
What happens when you need to change the admin password because you have lost the old password?
If you don’t have the old password, you can’t access the server to change it. Instead, use the command prompt to reset your administrator password. The following steps can be used on Windows version 2008 R2, 2012, 2016, and 2019.
- Insert a DVD or USB with the installation and boot the system.
- On the Language and other preferences screen, click Next.
- Select the Repair your computer link.
- The next steps differs according to your Windows version.
Windows server 2008: Select your OS installation and click Next.
Windows server 2012/2016/2019: Select Troubleshoot.
- Click Command Prompt.
- Type in the following:
MOVE C:WindowsSystem32Utilman.exe C:WindowsSystem32Utilman2.exe
The command above makes a backup of the utility manager.
COPY C:WindowsSystem32cmd.exe C:WindowsSystem32Utilman.exe
This command replaces Utilman with the Command Prompt. That is necessary to reset the password.
The commands mentioned above may vary based on the path of your Windows install. In our example, it is on the C drive. In case your install is located on another disk partition, modify the command accordingly.
- Reboot the system.
- Select the Ease of Access icon.
- Type in the following:
net user administrator *
- Type in and confirm your desired password.
Once completed, you will be able to log in as admin. However, don’t forget to revert your changes to Utilman. To do so,
- Reboot the computer again from the installation disk.
- Open the Command Prompt.
- Run the following:
MOVE C:WindowsSystem32Utilman2.exe C:WindowsSystem32Utilman.exe
Restart your server once again and you’re done.
How to Recover Windows Server Password With Password Recovery Disk
If you have created a password recovery disk for your server, insert the USB stick into the server and then reboot the system.
- When prompted to log in, click the Reset Password link.
- In the Forgotten Password wizard, click Next until you are prompted for the location of the password disk.
- Select the password reset disk and then follow the instructions to set a new password.
- Reboot your computer and log in with the new password.
Conclusion
This how-to article covered three distinct use cases:
- Changing an admin password you know. If you already know your administrator password, changing it is as simple as navigating to the Users area on your server and selecting to change the admin password.
- Resetting an admin password you don’t know. If you don’t remember your administrator password, you can use the Command Prompt window to reset it. Resetting works for both Windows Server 2008 R2 and Windows Server 2012.
- Using a Password Recovery Disk. If you don’t remember your administrator password, but you previously created a password recovery disk, you can use that disk to reset a forgotten password.
Whatever your use case may be, by following this guide, you will be able to reset a Windows Server admin password.
Was this article helpful?
YesNo
Войдите в панель управления Virtualizor https://virtualizor.hoster.kz:4083/
Перейдите в управление нужного сервера.
Перейдите во вкладку Настройки — Конфигурация VPS.
Нажмите на выпадающее меню Выберите ISO и выберите trinity-rescue-kit.3.4-build-397.iso
В блоке Порядок загрузки выберите CDROM1 и нажмите на стрелку, указывающую вверх, чтобы CDROM1 оказался первым в порядке загрузки.
Нажмите Отправить, чтобы сохранить выбранные настройки.
Подключитесь к серверу по VNC (инструкция), оставьте окно открытым.
Перезагрузите сервер (инструкция)
Перейдите в окно VNC, у вас загрузится меню trinity-rescue-kit
Нажмите Enter, чтобы запустить утилиту в режиме по умолчанию Run Trinity Rescue Kit 3.4 (default mode, with text menu). Или подождите 10 секунд, утилита загрузится автоматически.
Управляя стрелками вниз, вверх, выберите Windows Password Resetting, нажав Enter.
В следующем меню выберите Reset password on built-in Administrator (default action)
Утилита сообщит, что была найдена установка Windows в разделе «1» и вам надо сделать выбор — «q» для выхода или 1 для того, чтобы продолжить работу в найденном разделе.
Введите «1» и подтвердите выбор, нажав Enter.
Далее будет предложено 4 опции, первая из которых — это рекомендуемый пункт сброса пароля. Именно его мы и выберем.
Введите «1» и подтвердите выбор, нажав Enter.
После этого вы увидите сообщение, что пароль сброшен.
На этом шаге работа с утилитой закончена.
Следующим действием надо убрать подключенный нами ранее образ утилиты и перезагрузить сервер.
Вернитесь к управлению сервером во вкладку Настройки. В выпадающем меню Выберите ISO установите Нет.
После того, как вы уберете ISO образ, из порядка загрузки автоматически пропадет CDROM1 и останется только ваш основной диск — DISK1, с которого будет загружаться сервер.
Нажмите Отправить, чтобы сохранить изменения.
Перезагрузите сервер. Вход будет выполнен автоматически, т.к. пароль был сброшен.
Чтобы задать новый пароль, перейдите в Панель управления (Control Panel), открыв меню Пуск (Start).
Перейдите в Учетные записи пользователей (User accounts)
Еще раз перейдите в Учетные записи пользователей (User accounts), нажмите Создать пароль для учетной записи (Create a password for your account).
Введите Новый пароль (New password) и его подтверждение (Confirm new password), нажмите Создать пароль (Create password)
На этом смена пароля для Windows Server 2008r2 завершена.