# Installing the agent manually

You may need to install the RAS RD Session Host Agent manually if the automatic push installation cannot be performed. For instance, an SMB share may not be available or the firewall rules may interfere with the push installation, etc.

## **Installing RAS RD Session Host Agent manually**

1. Log in to the server where the RAS RD Session Host Agent is to be installed using an administrator account and close all other applications.
2. Copy the Parallels RAS installation file (`RASInstaller.msi`) to the server and double-click it to launch the installation.
3. Follow the onscreen instructions and proceed to the installation type page. Select **Custom** and click **Next**.
4. Click on **RAS RD Session Host Agent** and select **Entire Feature will be installed on local hard drive** from the drop-down list.
5. Ensure that all other components are deselected and click **Next**.
6. Click **Install** to start the installation.
7. Click **Finish** once the installation is finished.

The RAS RD Session Host Agent doesn't require any configuration. Once the agent is installed, highlight the server name in the RAS Console and click **Troubleshooting** > **Check Agent** in the **Tasks** drop-down list to update the server status.

## **Uninstalling RAS RD Session Host Agent**

To uninstall RAS RD Session Host Agent from a server:

1. Navigate to **Start** > **Control Panel** > **Programs** > **Uninstall a Program**.
2. Find **Parallels Remote Application Server** in the list of installed programs.
3. If you don't have any other Parallels RAS components on the server that you want to keep, right-click **Parallels Remote Application Server** and then click **Uninstall**. Follow the instructions to uninstall the program. You may skip the steps below.
4. If you have other RAS components that you want to keep on the server, right-click **Parallels Remote Application Server** and then click **Change**.
5. Click **Next** on the Welcome page.
6. On the **Change, repair, or remove** page, select **Change**.
7. On the next page, select **Custom**.
8. Select **RAS RD Session Host Agent**, then click the drop-down list in front of it, and click **Entire feature will be unavailable**.
9. Click **Next** and complete the wizard.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-21-administrators-guide/rd-session-hosts/add-an-rd-session-host/installing-the-agent-manually.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
