Смена пароля
В данном руководстве будет рассмотрена процедура изменения пароля в операционной системе Windows Server 2012
Для того чтобы изменить пароль в своей учетной записи Администратора
Нажмите «Пуск» и на иконку Панель управления как на скриншоте ниже
В окне Панель управление выберите «Учетные записи пользователей» , далее снова нажмите «Учетные записи пользователей» и в новом окне «Управление другой учетной записью»
Выберите одну из учетных записей
Затем Изменить пароль
Далее в окне «Изменение пароля»
- 1. Введите текущий пароль
- 2. Введите новый пароль (не меньше 8 символов и латинскими буквами ) в строке «Подтверждения пароля» — введите новый пароль ещё раз
- 3. Сохраните изменения кнопкой «Сменить пароль»
Таким образом Вы сменили пароль на текущую учетную запись, теперь мы рассмотрим функцию «Срок истечения пароля»
Срок истечения пароля
На сервере функция «Срок истечения пароля» по умолчанию установлена в 42 дня, это говорит о том что через каждые 42 дня Ваша система будет требовать смены пароля.
Где изменить или отключить эту функцию мы рассмотрим ниже
Нажмите «Пуск» далее Администрирование
Открываем окно «Локальная политика безопасности»
В окне «Локальная политика безопасности» слева нажмите на стрелку «Политика учетных записей» далее на папку «Политика паролей»
Затем справа откройте запись «Максимальный срок действия пароля 42 дн.»
В открывшемся окне в значении «Срок истечения действия пароля» введите 0 или нужное Вам значение
Значение «0» — говорит системе о том что — функция «Срок истечения действия пароля» — отключена.
В таком режиме срок действия пароля — бесконечный.
И нажмите кнопку «Применить» , готово.
Если вы регулярно меняете известный пароль администратора, вы можете использовать пользовательский интерфейс Windows. Однако, если вы изменяете неизвестный пароль администратора, вам нужно использовать командную строку.
Изменение пароля администратора сервера Windows Server 2008 R2
Если вы уже знаете текущий пароль администратора и можете войти в Windows Server 2008 R2, изменить пароль так же просто, как перейти к списку пользователей и установить новый пароль.
- Войдите на сервер напрямую или удаленно.
- Щелкните правой кнопкой мыши на Компьютер и выберите пункт Управление (Manage).
- Выберите пункт Конфигурация (Configuration)
- Нажмите Локальные пользователи и группы (Local Users and Groups) -> Пользователи (Users).
- Найдите и щелкните правой кнопкой мыши на пользователе Администратор.
- Нажмите Установить пароль (Set Password) -> Продолжить (Proceed).
- Введите и подтвердите новый пароль.
Как сбросить пароль в Windows Server 2008 R2 или 2012
Что делать, когда вам нужно изменить пароль администратора, потому что вы потеряли старый пароль?
Если у вас нет старого пароля, вы не можете получить доступ к серверу, чтобы изменить пароли пользователей. Вместо этого вам нужно будет использовать командную строку для сброса пароля администратора.
- Вставьте установочный диск в компьютер и загрузите его.
- На экране Язык и другие настройки (Language and other preferences) нажмите Далее.
- Выберите ссылку Восстановить компьютер (Repair your computer).
- Выберите установку ОС и нажмите Далее.
- Нажмите Командная строка (Command Prompt).
- Введите следующее:
MOVE C:WindowsSystem32Utilman.exe C:WindowsSystem32Utilman2.exe
Приведенная выше команда создает резервную копию менеджера утилит.
COPY C:WindowsSystem32cmd.exe C:WindowsSystem32Utilman.exe
Эта команда заменяет
Utilman
командной строкой. Это необходимо для сброса пароля.Упомянутые выше команды могут различаться в зависимости от пути установки Windows. В нашем примере это на диске C. Если ваша установка находится на другом разделе диска, измените команду соответствующим образом.
- Перезагрузите систему.
- Выберите значок Ease of Access.
- Введите следующее:
net user administrator *
- Введите и подтвердите желаемый пароль.
После завершения вы сможете войти в систему как администратор. Однако не забудьте отменить изменения в Utilman
. Для этого:
- Перезагрузите компьютер снова с установочного диска.
- Откройте командную строку.
- Запустите следующее:
MOVE C:WindowsSystem32Utilman2.exe C:WindowsSystem32Utilman.exe
Как восстановить пароль Windows Server 2012 с диска восстановления пароля
Если вы создали диск восстановления пароля (Password Recovery Disk) для своего сервера, вставьте USB-накопитель в сервер и перезагрузите систему.
- При появлении запроса на вход нажмите ссылку Сбросить пароль (Reset Password).
- В мастере забытых паролей нажимайте кнопку Далее, пока вам не будет предложено указать местоположение диска с паролями.
- Выберите диск для сброса пароля и следуйте инструкциям, чтобы установить новый пароль.
- Перезагрузите компьютер и войдите под новым паролем.
Estimated reading: 2 minutes
1580 views
I. Change password Windows Server 2012, 2019, 2022 via Command Line
- First, open an administrator Command Prompt (assuming you have administrator privileges). To do this, type cmd into the Start Menu. Right-click on the Command Prompt entry and choose Run as administrator.
For Windows Server 2019 (or 2022), please click on Start -> Scroll to Windows System -> Command Prompt. - Type the following command: net user Administrator NEWPASS
then press Enter where NEWPASS is the new password, make sure you have uppercase, lowercase and number with at least 8 letters.
II. Change your Server Administrator Password on Windows Server 2012
- Log into your server via Remote Desktop.
- Press your Windows key and type Administrative Tools.
- Double-click on Computer Management.
- Expand Local Users and Groups.
- Click on Users.
- Right-click on Administrator. Click on Set Password > Proceed.
- Type your new password in both fields then press OK.
III. Change your Server Administrator Password on your account
– You can access to your Client Area: Client Area > Services > My Services
– Find the server you want to change the password and Click on it
– Click on Change Password
– Write a new password and then press Save Changes. Make sure you have uppercase, lowercase and number with at least 8 letters.
The password has been changed successfully.
Автор: АлександрОпубликовано: 23 июля, 2018
Задача: изменить пароль у учётной записи Администратор
Решение:
- Откройте Панель Управления и нажмите на пункт «Учётные записи пользователей»
- Нажмите на пункт «Учётные записи пользователей»
- Нажмите на пункт «Управление другой учётной записью»
- Нажмите на пользователя, которому следует изменить пароль
- Нажмите на пункт «Изменить пароль»
- Введите текущий пароль от пользователя и введите новый пароль. Для генерации пароля можете воспользоваться нашим сервисом — mclouds.ru/pass
- После заполнения полей нажмите «Сменить пароль» и новый пароль будет применён.
Наш телеграм-канал
Пишем про облака, кейсы, вебинары
Подписаться
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