Updated on 2024-04-15 GMT+08:00

Installing an Agent on Windows

To enable workload protection for cloud servers, install the agent first.

This topic describes how to install the agent on a server running a Windows OS. For details about how to install an agent on the Linux OS, see Installing an Agent on Linux.

CentOS 6.x is no longer updated or maintained on the Linux official website, and HSS no longer supports CentOS 6.x or earlier.

Default Installation Path

The agent installation path on servers running the Windows OS cannot be customized. The default path is:

C:\Program Files\HostGuard

Prerequisites

  • Ensure the server runs Windows OS and can access the Internet.
  • A remote management tool, such as mstsc and RDP, has been installed on your PC.

Installation Precautions

  • For details about the OSs supported by the agent, see Supported OSs.
  • Ensure the outbound rule of your security group allows access to the port 10190 on the 100.125.0.0/16 network segment. (This is the default setting.)
  • If any third-party security software has been installed on your server, the HSS agent may fail to be installed. In this case, disable or uninstall the software before installing the agent.
  • The available capacity of the disk where the agent is installed must be greater than 300 MB. Otherwise, the agent installation may fail.
  • After the installation, it takes 5 to 10 minutes to update the agent status. You can check it on the "Servers" tab of the "Asset Management > Servers & Quota" page.

Procedure

  1. Log in to the management console.
  2. In the upper left corner of the page, click , select a region, and choose Security > Host Security Service.
  3. In the navigation pane, choose Installation & Configuration.
  4. Click the Agents tab. Click Offline. In the Operation column of a server, click Install Agent.
  5. In the displayed dialog box, copy the agent download link suitable for your system architecture and OS.
  6. Remotely log in to the server where the agent is to be installed.

    You can log in to the ECS management console and click Remote Login in the ECS list.

    If an EIP has been bound to the server, you can use Windows Remote Desktop Connection or a third-party remote management tool, such as mstsc or RDP, to log in to the server and install the agent on the server as an administrator.

  7. On the server where the agent is to be installed, use Internet Explorer to download the agent installation package from the copied agent download address and decompress it.
  8. Run the agent installation program as an administrator.
  9. Check the HostGuard.exe and HostWatch.exe processes in the Windows Task Manager.

    If the processes do not exist, the agent installation fails. In this case, reinstall the agent.

    It takes 3 to 5 minutes for the console to update the agent status after agent installation.