EC2 Administrator has been expired - but cannot be changed

0

Administrator password has been expired. During Login I get a message "Your password has expired and mus be changed" I have installed an Active Directory so EC2-Windows ask to change "AD-Domain\Administrator" has to change password. Even if I change to "EC2-AMAC...\Administrator" it don`t allow to change the password.

What can I do?

Frank
질문됨 한 달 전92회 조회
1개 답변
1

2 Options Via a SSM using Fleet Manager

  1. Select the Node
  2. Click Node Actions
  3. Node Settings
  4. Reset node user password
  5. Enter Administrator and reset the password

Alternatively

Using SSM connect via Terminal to the Windows Instance.. You can run these PS commands to reset the password

$Password = Read-Host -AsSecureString
$UserAccount = Get-LocalUser -Name "Administrator"
$UserAccount | Set-LocalUser -Password $Password
profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠