Как сменить доменный пароль в windows 10

Смена пользователем доменного пароля

Данная инструкция описывает процедуру смены пароля, в случае если Ваш компьютер не подключен к домену, но Вы используете доменную учетную запись для доступа к различным сервисам.

Видеоинструкция по смене доменного пароля в Windows 10, 7 и для внешних пользователей:

portal.vsmpo.ru nx.vsmpo.ru

Переходим по ссылке: https://rds.vsmpo.ru/RDWeb/Pages/ru-RU/password.aspx

В Домен\пользователь в формате VSMPO-AVISMA\familiya_io

В поле Текущий пароль: действующий («старый») доменный пароль

В полях Новый пароль: и Подтверждение пароля: новый пароль

Новый пароль должен соответствовать требованиям сложности: минимум 8 символов, должны присутствовать и большие, и малые буквы, а также цифры и спецсимволы. Пароль не должен повторять ранее использованные пароли.

Нажимаем Отправить. Если пароль соответствует политике паролей, то он будет изменен

После получения сообщения «Ваш пароль успешно изменен.» — закрываем страницу.

Метаданные статьи

Protecting users’ privacy has always been the aim of every Information Technology company around the globe. Microsoft Windows has done well by allowing users to add security to their Windows servers using a domain admin profile.

With a secured domain admin, intruders or third parties cannot access your Windows server unless they have the login details. In addition to that, you have full control of all admin accounts on your Windows server.

Secured domain admin profiles are highly beneficial. However, there is a dark side attached as users often complain of lost or forgotten passwords. Change/Reset domain admin password following the guide in this article.

Part 1. Who Can Change Domain Admin Passwords?

Before sharing with you the effective ways to reset/change your domain admin password here is a fact you need to know about changing your domain admin password:

  • The domain admin password to a Windows server can only be changed or reset by individuals with admin rights to the server.

If you do not meet the condition above, it means you cannot change the password to the domain admin profile on a Windows server. However, there is a way around it. We will discuss that here in this guide.

Part 2. How to Change Domain Admin Password?

Changing the password to a domain admin profile is easy. However, you must have admin rights to the profile to do so. Here we will share with you 6 techniques to change domain admin passwords.

  • 1. Change Domain Admin Password without Admin Rights
  • 2. Change Domain Admin Password Command Line
  • 3. Change Domain Admin Password Powershell
  • 4. Change Domain Admin Password from DSRM
  • 5. Change Domain Admin Password in Active Directory Users and Computers Console
  • 6. Change Domain Admin Password Ctrl+Alt+Del Shortcut

Way 1. Change Domain Admin Password without Admin Rights

Changing domain admin passwords without admin rights is easy when you have top-quality software like the UnlockGo – Windows Password Recovery. The software program lets you reset/change your domain admin password on your Windows computer server easily and quickly without hassles.

UnlockGo – Windows Password Recovery is well designed with several functionalities. This multipurpose software program is designed to cater to several Windows password recovery issues such as domain admin password resets/removal, Windows guest account creation, or deletion, and many others. It works with all Windows operating systems such as Windows 11/10/8/7/XP/Vista.

UnlockGo – Windows Password Recovery software is easy to use as the web interface is made simple. Change the domain admin password on your Windows computer with UnlockGo for windows by following the instructions below:

Step 1 Download and install UnlockGo for windows on another accessible  Windows computer. Wait for the installation to complete, launch the software, and then click on Start.

Next, insert either a CD/USB Drive into the computer, select the appropriate media type, and then click on Next. UnlockGo for Windows will automatically burn into the CD/USB Drive to create a bootable disk.

burn disk

Step 2 Next, insert the newly created bootable disk into the Windows computer you want to change its domain password, and then follow the on-screen prompts that pop up to enter the boot menu. After entering it, using arrow key to choose boot tab and then boot device priority and then press F10 to save and exit.

burn password reset disk successful

Step 3 Once your computer boots, it will pop up on your screen to ask for windows system of your windows, then you can select the target account to reset password.

On the next screen, select the target account you want to change/reset the domain password, click on Reset Account Password, and then tap on Next.

type new password

When get the new domain admin password, changing or reseting it can be easy using another ways whenever you want to change it with admin right for different reasons.

Way 2. Change Domain Admin Password Command Line

Running command line is another effective technique you can apply to change the domain admin password on your Windows server. The technique is easy to employ. However, you must have access to the domain admin profile to use the technique.

Should you meet the criteria above, here is a stepwise guide you can follow to change your domain admin password using the command line technique:

    1. Hold down the Windows button and X button and you will be directed to the Power User menu. Select Command Prompt (Admin) from the list of options that pops up underneath the menu.
  1. Enter the following command line: net user Administrator P@ssword123 /domain.
  2. Now replace P@ssword123 with your a password that you can easily recollect. 
change domain admin password command line

Way 3. Change Domain Admin Password Powershell

The use of Powershell is another amazing technique to change your domain admin password on a Windows server. It’s very similar to the command line technique but advanced. Like the command line technique, you need to have admin rights to change the domain password.

If you’ve got admin right, kindly follow the instructions below to change/reset your domain admin password  using Powershell:

  1. Navigate your cursor to the Windows Start Menu icon and then right-click on it.
  2. Select Windows Powershell (Admin) from the list of options that pops up. 
  3. Next, you will be directed to the Powershell command line panel. 
  4. Enter the command line below:

$NewPassword = ConvertTo-SecureString “******” –AsPlainText –Force

Set-ADAccountPassword Bob –NewPassword $NewPassword -Reset

Here is an image for a better understanding of the instruction:

power shell

Way 4. Change Domain Admin Password from DSRM

With DSRM, you can also change your domain admin password on Windows. DSRM, also known as Directory Services Restore Mode.

    1. Turn on your computer and then tap on the F8 key. A couple of options should pop up on doing that, kindly select Directory Services Restore Mode from the list.
    2. Next, you will be directed to the login screen. Log in as an administrator to proceed. 
    1. On the next screen, copy cmd.exe, Srvany.exe, and Instsrv.exe to a temporary folder and then name it.
change domain admin password farm 2

    1. Now double-click the newly named folder to open a command prompt. Once the command prompt opens, type: instsrv PWRESET “C:\temp\servant.exe”. 
    2. Next, launch the Registry Editor, and then scroll to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\P.
    3. Establish a new subkey and name it Parameters and then include the values below:

name: Application

type: REG_SZ (string)

value: c:\temp\cmd.exe

name: AppParameters

type: REG_SZ (string)

value: /k net user administrator P@ssword/domain

change domain admin password dsrm

    1. Now, click on Control Panel > Administrative Tools > Services > PWRESET Services. Ensure the following are properly set:  
    2. General >Startup Type: Automatic.
    3. Log On >Allow Service to Interact with Desktop: Checked.
    1. Now click on OK and then reboot your computer. Once the log-in screen pops up, type Administrator in the user field and then enter P@ssword in the password field to gain access into the server. 
    2. Next, launch the command prompt to delete the PWRESET services by entering the following command:

net stop PWRESET

sc delete PWRESET

Way 5. Change Domain Admin Password in Active Directory Users and Computers Console

To change your domain admin password on Windows using Active Directory Users and Computers Console, follow the instructions below:

    1. Simultaneously hold the Windows button and R key to launch the Run box.
    2. Enter dsa.msc in the Open field and then click on OK to open the Active Directory Users and Computers (AUDC) console.
change domain admin password active directory user and computer console

    1. On the left-hand panel of the AUDC page, scroll down and click on Users.
    2. On the right-hand panel, right-click on the domain admin account you want to reset, and then select Reset.
change domain admin password active directory user and computer console 2

  1. Enter a strong password that you can easily remember in the fields provided, uncheck the User must change password at next logon tab, and then click on OK.

Way 6. Change Domain Admin Password Ctrl+Alt+Del Shortcut

Lastly, we have the use of the hotkeys, Ctrl+Alt+Del to change domain admin passwords on Windows. This technique works perfectly only on Windows 2012 servers. Also, you must be logged on to the server to use the technique.

Change domain admin password using the hotkeys, Ctrl+Alt+Del by following the guide below:

    1. On your Windows Server domain controller page, press the keys Ctrl+Alt+Del, and the page below will pop up. 
    2. Select Change a password.
change domain admin password ctrl alt del 1

  1. Enter your previous password and then type your new password in the appropriate field. Confirm your new password in the field given and then click on the Arrow key to validate the process. 
change domain admin password ctrl alt del 2

People Also Asked: Domain Admins vs Administrators in Windows

Domain Admin is an account created on a Windows server. This account has the administrative rights to control all other domain admin accounts created subsequently.

Administrator on the other hand  is the default account you find on your computer when you launch your Windows operating system. This account has admin access to the domain accounts you created, however, there is no administrative access to control the accounts.

Conclusion

With the tutorial guide given above, resetting or changing your domain admin password on Windows is easier than ever before. Employ any of the techniques given and see the magic.

Mind you, asides from the use of UnlockGo for Windows, the other techniques require you to have admin rights to the domain account before you can reset/change the passwords.

UnlockGo (Windows)

Change/Reset Domain Admin Password in Easy Steps

  • Change Domain Admin Password in Easy 3 Steps.
  • Reset Domain Admin Password with 100% Working Success Rate, 0% Data Loss.
  • Support All Windows OS and Windows Server versions.
  • Remove Domain Admin Password, Delete/Remove Domain Admin Account with Ease.

Skip to content

Change a domain user password using the command line

Change a domain user password using the command line

Would you like to learn how to change a domain user password using the command line? In this tutorial, we will show you how to use the command line to set the password of a domain user account on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 2022
• Windows 10
• Windows 11

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.

Windows Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Windows.

Tutorial Windows — Changing a domain user password

As an Administrator, start an elevated command line.

Windows - Elevated command prompt

List the domain user accounts.

Here is the command output:

Change the password of a domain user.

Optionally, use this command.

Enter the requested information.

In our example, we configured the password of a domain account named GOHAN.

Congratulations! You are able to change a domain user password using the command-line.

VirtualCoin CISSP, PMP, CCNP, MCSE, LPIC22022-07-27T23:05:23-03:00

Related Posts

Page load link

This website uses cookies and third party services.

Ok

Изменение пароля у доменной корпоративной учетной записи

С помощью следующих способов можно изменить пароль только у учетных записей, от которых известен текущий пароль.

Если срок действия Вашего пароля ещё не истек:

  • Если Ваш рабочий компьютер работает под управлением ОС семейства Windows и является членом домена at.urfu.ru, то Вам требуется воспользоваться первым способом.
  • Если Ваш рабочий компьютер не является членом домена at.urfu.ru, то Вам требуется воспользоваться вторым способом.

Если срок действия Вашего пароля уже истек:

  • Если Ваш рабочий компьютер работает под управлением ОС семейства Windows и является членом домена at.urfu.ru, то при очередной загрузке компьютера форма смены пароля откроется автоматически. Можете сразу переходить к пункту 6 Способа 1.
  • Если Ваш рабочий компьютер не является членом домена at.urfu.ru, то Вам требуется воспользоваться вторым способом. С одним замечанием: при входе в «Профиль пользователя», сразу после ввода текущего логина-пароля, диалоговое окно смены пароля откроется автоматически, значит пункт 3 Способа 2 Вы можете пропустить.

Способ 1.

  1. Включите компьютер.
  2. После загрузки Windows, введите логин и пароль учетной записи, у которой хотите сменить пароль.
  3. Откроется рабочий стол Windows пользователя, соответствующего этой учетной записи.
  4. Нажмите одновременно три кнопки на клавиатуре Ctrl, Alt и Delete.
  5. Выберите пункт «Изменить пароль». В различных версиях ОС Windows этот пункт может называться по-другому: «Сменить пароль пользователя», «Смена пароля».
  6. Откроется форма смены пароля. В первое поле нужно вписать старый пароль текущей учетной записи.
  7. Во второе поле нужно вписать новый(желаемый) пароль. Пароль должен соответствовать минимальным требованиям к паролям учетных записей в домене.
  8. В третье поле нужно вписать новый пароль, т.е. то что Вы вписали во второе поле.
  9. После заполнения полей нажмите на клавиатуре клавишу «Enter».
  10. Будет выдано информационное сообщение об успешности изменения пароля. Старый пароль больше не действителен, после следующей перезагрузке компьютера, для входа нужно использовать новый пароль.

Способ 2.

  1. Зайдите на сайт самообслуживания, в «Профиль пользователя»: https://id.urfu.ru/ProfileManagement/Profile .
  2. Введите логин и пароль учетной записи, у которой хотите сменить пароль.
  3. Откроется профиль пользователя. Нажмите на ссылку смена пароля.
  4. Откроется диалоговое окно смены пароля.
  5. В поле «старый пароль» впишите текущий пароль от учетной записи.
  6. В поле «новый пароль» впишите новый(желаемый) пароль. Пароль должен соответствовать минимальным требованиям к паролям учетных записей в домене.
  7. В поле «подтверждение пароля» впишите новый пароль, т.е. то что Вы вписали в поле «Новый пароль».
  8. Нажмите «Изменить».
  9. Откроется страница «Профиль пользователя». Это значит, Ваш текущий пароль сменен на новый. Старый пароль больше не действителен. Для входа в корпоративные системы используйте новый пароль.
  10. Если Вы используете Outlook для подключения к корпоративной почте, то после смены пароля Outlook, возможно, запросит ввести новый пароль. При следующем запуске Outlook, будет выведено диалоговое окно, в которое надо ввести Ваши логин и новый пароль. После установки галочки «Запомнить пароль», Outlook больше не будет выводить это диалоговое окно.

Приложение 1

Минимальные требования к паролям учетных записей в домене

~14 кБ, *.docx
(Размещен
25.02.2016)

В этой статье мы рассмотрим, как изменить (сбросить) пароль одного или нескольких пользователей Active Directory с помощью графической оснастки Active Directory Users and Computers, из командной строки, а также с помощью PowerShell командлета Set-ADAccountPassword.

Содержание:

  • Изменить пароль пользователя домена из графической консоли Active Directory
  • Как сбросить пароль пользователю Active Directory с помощью PowerShell?
  • PowerShell скрипт для сброса пароля нескольких пользователей AD
  • Изменить пароль пользователя в домене из командной строки

Изменить пароль пользователя домена из графической консоли Active Directory

Для сброса пароля пользователя Active Directory можно использовать графическую оснастку
dsa.msc
(Active Directory Users & Computers — ADUC). Воспользуйтесь поиском в консоли ADUC и найдите учетную запись пользователя, которому нужно изменить пароль. Щелкните по нему правой кнопкой и выберите пункт “Смена пароля” (Reset password).

консоль active directory users and computers изменить пароль пользователя

Укажите новый пароль (дважды). Здесь можно включить две опции:

  • User must change password at next logon – если вы хотите, чтобы пользователь сам задал себе новый пароль при следующем входе;
  • Unlock user’s account – включите эту опцию, если вы хотите разблокировать пользователя (если учетная запись заблокирована политикой безопасности AD из-за многократных попыток входа с неверным паролем).

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

Также в свойствах пользователя на вкладке редактора атрибутов AD вы можете найти информацию о дате последней смены пароля. Это значение хранится в атрибуте пользователя pwdLastSet.

Для сброса пароля ваша учетной запись должна обладать соответствующими правами. По-умолчанию обычные пользователи AD не могут сбросить пароль других аккаунтов. Такие права есть только у учетных записей с правами администратора домена (Domain Admins), или Account Operators. Вы можете предоставить другим группам пользователям право на сброс паролей в определенных OU с помощью делегирования. По ссылке доступен пример делегирования прав на сброс паролей и разблокировку пользователей группе HelpDesk.

Чтобы проверить, что у вашей учетной записи есть право на сброс пароля определенного пользователя, откройте его свойства, перейдите на вкладку Security -> Advanced -> Effective Access -> укажите имя своей учетной записи -> убедитесь, что у вас есть разрешение Reset Password.

Active Directory эффективные разрешения на сброс пароля пользователяeffektivnie_rasresheniya_reset_password

Как сбросить пароль пользователю Active Directory с помощью PowerShell?

Вы можете использовать команды PowerShell для сброса пароля пользователя в AD. Для этого можно использовать используется командлет Set-ADAccountPassword, входящий в модуль Active Directory для Windows PowerShell (в десктопых версиях Windows он входит в состав RSAT, а в серверных редакциях устанавливается в виде отдельного компонента AD DS Snap-Ins and Command-Line Tools). Перед использованием модуля его необходимо импортировать в сессию PowerShell:

Import-module ActiveDirectory

Чтобы сбросить пароль для пользователя dakimov и установить новый пароль SuperStr0n@p1, выполните команду:

Set-ADAccountPassword dakimov -Reset -NewPassword (ConvertTo-SecureString -AsPlainText “SuperStr0n@p1” -Force -Verbose) –PassThru

Set-ADAccountPassword сброс пароля в Active Directory из Powershell

alert]Для автоматической генерации сложный паролей пользователям вы можете использовать метод GeneratePassword, описанный в статье Генерация случайных паролей с помощью PowerShell. [/alert]

По умолчанию командлет возвращает объект и ничего не отображает в консоли. Чтобы вывести информацию об объекте пользователя в AD мы используем параметр –PassThru.

В качестве имени пользователя можно указать sAMAccountName (как в нашем случае), objectGUID, SID пользователя, или его DN (Distinguished Name, например CN=Akimov,OU=Users,DC=winitpro,DC=ru).

Если при смене пароля пользователя не указывать параметр –Reset, необходимо указать старый и новый пароль учетной записи.

Примечание. Если при сбросе пароля с помощью командлета Set-ADAccountPassword появляется ошибка:

Set-ADAccountPassword : The password does not meet the length, complexity, or history requirement of the domain.

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

Результирующие настройки парольной политики пользователя в домене можно вывести так:

Get-ADUserResultantPasswordPolicy -Identity a.novak

Если у вас включено ведение истории PowerShell команд, и вы не хотите, чтобы пароли в открытом виде сохранялись в сессии PoSh, пароль как и при создании пользователя нужно преобразовать в безопасную строку (подробнее о защите паролей в скриптах PowerShell здесь):

$NewPasswd=Read-Host "Введите новый пароль пользователя" –AsSecureString

задать новый пароль пользователя в ad из powershell

Теперь можно задать новый пароль пользователю:

Set-ADAccountPassword dakimov -Reset –NewPassword $NewPasswd –PassThru

При сбросе пароля можно принудительно снять блокировку ученой записи, если она была заблокирована ранее (как найти с какого компьютера блокируется учетная запись, смотрите в статье Поиск источника блокировки пользователя в Active Directory):

Unlock-ADAccount –Identity dakimov

Чтобы пользователь при следующем входе в домен самостоятельно сменил данный пароль на новый, нужно изменить его свойства в AD, выполнив команду:

Set-ADUser -Identity dakimov -ChangePasswordAtLogon $true

Вы можете совместить в одной строке команду смены пароля и включение требования сменить пароль (атрибут userAccountControl):

Set-ADAccountPassword dakimov -NewPassword $NewPasswd -Reset -PassThru | Set-ADuser -ChangePasswordAtLogon $True

С помощью командлета Get-ADUser вы можете убедиться, что пароль сброшен успешно. Выведите время последней смены пароля аккаунта:

Get-ADUser dakimov -Properties * | select name, pass*

Get-ADUser время последней смены пароля

При сбросе пароля на контроллере домена (DC) регистрируется событие EventID 4724. Это событие помогает определить учетную запись, которая выполнила сброс пароля пользователя.

Вы можете узнать, когда истекает срок действия пароля пользователя согласно текущим настройкам политики паролей с помощью PowerShell команды:

Get-ADUser -Identity avivanov -Properties msDS-UserPasswordExpiryTimeComputed | select-object @{Name="ExpirationDate";Expression= {[datetime]::FromFileTime($_."msDS-UserPasswordExpiryTimeComputed") }}

PowerShell скрипт для сброса пароля нескольких пользователей AD

Выше мы показали, как из PowerShell сбросить пароль одного пользователя в AD. Рассмотрим теперь другой сценарий – когда вам нужно сменить пароли сразу нескольких пользователей.

Например, вы хотите сбросить пароль всем сотрудникам департамента Sales на одинаковый и заставить сменить его при следующем входе. Вы можете использовать параметр –Filter для выбора пользователей с определенным значением в одном из атрибутов:

get-aduser -filter "department -eq 'Sales Dept' -AND enabled -eq 'True'" | Set-ADAccountPassword -NewPassword $NewPasswd -Reset -PassThru | Set-ADuser -ChangePasswordAtLogon $True

Рассмотрим еще один пример. Допустим, у вас есть CSV/Excel файл, в котором содержится список пользователей, которым нужно сбросить пароли и уникальный пароль для каждого пользователя. Формат файла users.csv:

sAMAccountName;NewPassword
aivanov;PaSSde0r1
bpetrov;New$isde01
ssidorov;k@nndj!223

С помощью следующего скрипта PowerShell можно сбросить пароль для каждой учетной записи пользователя из CSV файла:

Import-Csv users.csv -Delimiter ";" | Foreach {
$NewPass = ConvertTo-SecureString -AsPlainText $_.NewPassword -Force
Set-ADAccountPassword -Identity $_.sAMAccountName -NewPassword $NewPass -Reset -PassThru | Set-ADUser -ChangePasswordAtLogon $false
}

После выполнения данного кода всем пользователям в файле будет установлен новый уникальный пароль.

Изменить пароль пользователя в домене из командной строки

Если на компьютере не установлена консоль ADUC, или модуль RSAT-AD-PowerShell, вы можете использовать консольную команду net use для сброса пароля. Чтобы получить информацию о пользователе в домене, выполните команду:

net user a.novak /domain

В командной строке показана базовая информацию о пароле пользователя в домене:

Password last set            4/20/2022 2:10:05 AM
Password expires             Never
Password changeable          4/21/2022 2:10:05 AM
Password required            Yes
User may change password     Yes
Last logon                   4/20/2022 2:58:47 AM
Logon hours allowed   All

net user: команда просмотр информация о пользователе домена и его пароле

Из значения Last Logon можно узнать, когда пользователь входит в домен последний раз. Чтобы получить более подробную информацию об истории входа пользователя в домен, смотри статью.

Чтобы сбросит пароль этого пользователя, выполните команду:

net user a.novak /domain *

net user domain сбросить пароль пользователя

Укажите новый пароль и подтвердите его:

Type a password for the user: xx
Retype the password to confirm: xx
The command completed successfully.

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Kaspersky отключить проверку обновлений windows
  • Как создать образ windows 7 на флешку через rufus
  • Не отображаются иконки в трее windows 10
  • Как сделать скриншот экрана на ноутбуке леново на windows 10
  • Ошибка 00000e windows 10