Help Center> Image Management Service> User Guide> Windows Operations> Installing the One-Click Password Reset Plug-In
Updated on 2023-08-15 GMT+08:00

Installing the One-Click Password Reset Plug-In

Scenarios

You are advised to install the password reset plug-in CloudResetPwdAgent before creating a private image. In this way, you can reset the password of ECSs created from the image by a few clicks.

  • ECSs created from a public image have this plug-in installed by default.
  • For ECSs created from an external image file, install the plug-in by performing the operations in this section.

Precautions

  • You can decide whether to install the CloudResetPwdAgent plug-in.
  • The plug-in has been open-sourced in the GitHub open-source platform according to GNU General Public License V2.0.
  • Table 1 lists the OSs that support this plug-in.
    Table 1 OSs that support the one-click password reset plug-in

    OS Type

    OS Version

    Windows

    Windows Server 2016 Datacenter 64bit

    Windows Server 2012 R2 Standard 64bit

    Windows Server 2012 R2 Datacenter 64bit

    Windows Server 2008 R2 Enterprise 64bit

    Windows Server 2008 SP2 Enterprise 64bit

    Windows Server 2008 R2 Datacenter 64bit

    Windows Server 2008 R2 Standard 64bit

    Windows Server 2008 R2 WEB 64bit

Prerequisites

  • The ECS status is Running.
  • The ECS must have a remaining space of more than 300 MB, and data can be written to its drive C.
  • DHCP must be enabled for the VPC used by the ECS.
  • Networks of the ECS are normal.
  • The outbound security group rule of the ECS must meet the following requirements:
    • Protocol: TCP
    • Port Range: 80
    • Remote End: 169.254.0.0/16

    If you use the default outbound security group rule, preceding requirements can be met, and the ECS can be initialized. The default outbound security group rule is as follows:

    • Protocol: All
    • Port Range: All
    • Remote End: 0.0.0.0/16

Procedure

  1. Log in to the ECS.
  2. Check whether the password reset plug-in CloudResetPwdAgent has been installed on the ECS.

    Start the Task Manager and check whether cloudResetPwdAgent is displayed on the Services tab. As shown in Figure 1, the password reset plug-in has been installed on the ECS.

    Figure 1 Successful plug-in installation
    • If the installation is successful, no further action is required.
    • Otherwise, go to 3.

  3. Download CloudResetPwdAgent.zip and verify its integrity by referring to Obtaining the One-Click Password Reset Plug-in (Linux).

    There is no special requirement for the directory that stores CloudResetPwdAgent.zip.

  4. Decompress CloudResetPwdAgent.zip.

    There is no special requirement for the directory that stores the decompressed CloudResetPwdAgent.zip.

  5. Install the plug-in.

    1. Double-click setup.bat in CloudResetPwdAgent.Windows.

      The password reset plug-in starts to be installed.

    2. View the Task Manager and check whether the installation was successful.

      If cloudResetPwdAgent is displayed in the Task Manager, as shown in Figure 2, the installation was successful. Otherwise, the installation failed.

      Figure 2 Successful plug-in installation

      If the installation failed, check whether the installation environment meets requirements and install the plug-in again.