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
demandé il y a un mois92 vues
1 réponse
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
EXPERT
répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions