【问题标题】:unable to Retrieve Default Windows Administrator Password of EC2 instance无法检索 EC2 实例的默认 Windows 管理员密码
【发布时间】:2019-01-31 17:24:58
【问题描述】:

当我尝试从密钥对中检索一个 EC2 实例的密码时,出现以下错误,请帮助我如何检索密码。

Password is not available.
This instance was launched from a custom AMI, or the default password has changed. A password cannot be retrieved for this instance. If you have forgotten your password, you can reset it using the Amazon EC2 configuration service.

【问题讨论】:

    标签: amazon-web-services amazon-ec2 ec2-api-tools


    【解决方案1】:

    您可以通过多种方式更改密码,以便重新获得对 Windows 实例的访问权限。这第三种方法现在是推荐的方法 - 使用 AWS Systems Manager。注意:AWS Systems Manager 可能需要一些时间才能理解。完成后,您将拥有许多新的强大命令。

    运行命令以更改 Windows 密码。这个document 将向您展示如何使用实例用户数据。您将需要运行 Windows 命令net user Administrator newpassword。设置脚本,然后重新启动实例。该命令在重新启动时运行。

    Resetting the Windows Administrator Password Using EC2Launch

    Reset Passwords and SSH Keys on Amazon EC2 Instances

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-03
      • 2012-02-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多