> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/hostpoolagentsettings.md).

# HostPoolAgentSettings

## NAMESPACE

RASAdminEngine.Core.OutputModels.HostPool

## DESCRIPTION

Azure Virtual Desktop Host Pool Agent Settings

## INHERITED FROM

[RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md)

⇒

[AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md)

⇒

HostPoolAgentSettings

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                                          | Name                                     | Description                                                                                                                                                                                                                                                                                |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Boolean                                                                                                                                       | AllowRemoteExec                          | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.                                                              |
| [AllowURLAndMailRedirection](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/allowurlandmailredirection.md)     | AllowURLAndMailRedirection               | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies the 'Allow Client URL/Mail Redirection'. Nullable\<Boolean> AppMonitor Specifies if 'Allow Application Monitoring' option is enabled or disabled. |
| UInt32                                                                                                                                        | DisconnectActiveSessionAfter             | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Disconnect active session after (in seconds). 0 for 'Never'.                                                                                                |
| [DragAndDropModeValue](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/draganddropmodevalue.md)                 | DragAndDropMode                          | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies the mode the drag and drop feature will operate.                                                                                                  |
| Boolean                                                                                                                                       | EnableDriveRedirectionCache              | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if the 'Enable Drive Redirection Cache' option is enabled or disabled.                                                                            |
| Boolean                                                                                                                                       | EnableZOrder                             | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if the 'Enable Z-Order' option is enabled or disabled. (Experimental)                                                                             |
| Boolean                                                                                                                                       | FileTransferAutoCloseWindow              | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if the "Close transfer window when complete" option is enabled or disabled.                                                                       |
| [FileTransferExistingFileMode](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/filetransferexistingfilemode.md) | FileTransferExistingFileMode             | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies the behavior when a file with the same name already exists in the destination folder during file transfer.                                        |
| String                                                                                                                                        | FileTransferLocation                     | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Location where the File Transfer takes place, if and where it is allowed.                                                                                   |
| Boolean                                                                                                                                       | FileTransferLockLocation                 | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Lock Location where the File Transfer takes place, if and where it is allowed.                                                                              |
| [FileTransferControlMode](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/filetransfercontrolmode.md)           | FileTransferMode                         | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if File Transfer option is allowed and if yes, which directions are allowed.                                                                      |
| Boolean                                                                                                                                       | FileTransferSuppressPromptForUploadFiles | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if the 'Suppress prompt for upload files' option is enabled or disabled.                                                                          |
| UInt32                                                                                                                                        | LogoffDisconnectedSessionAfter           | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Logoff disconnected session after (in seconds). 0 for 'Never'; 1 for 'Immediate'.                                                                           |
| Boolean                                                                                                                                       | ManageRDPShortpath                       | Specifies if 'Allow RDP Shortpath' option is enabled or disabled.                                                                                                                                                                                                                          |
| [ManageRDPTransportProtocol](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/managerdptransportprotocol.md)     | ManageRDPTransportProtocol               | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Manage RDP transport protocol.                                                                                                                              |
| UInt32                                                                                                                                        | MaxRDPShortpathPort                      | The maximum RDP Shortpath Port.                                                                                                                                                                                                                                                            |
| UInt32                                                                                                                                        | MinRDPShortpathPort                      | The minimum RDP Shortpath Port.                                                                                                                                                                                                                                                            |
| UInt32                                                                                                                                        | SessionReadinessTimeout                  | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Session readiness timeout (in seconds).                                                                                                                     |
| Boolean                                                                                                                                       | SupportShellURLNamespaceObjects          | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.                                                                           |
| Boolean                                                                                                                                       | UseRDPShortpath                          | Specifies if 'Allow RDP Shortpath' option is enabled or disabled.                                                                                                                                                                                                                          |
| Boolean                                                                                                                                       | UseSmallerPortRange                      | Specifies if 'Use Smaller Port' option is enabled or disabled.                                                                                                                                                                                                                             |

## PUBLIC METHODS

| Type                                                     | Name                                                                                                                             | Description                                                                                                                            |
| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Int32                                                    | CompareTo (Object obj)                                                                                                           | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Void                                                     | CopyFrom ([AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) other) | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md)         |
| Boolean                                                  | Equals (Object obj)                                                                                                              | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                    | GetHashCode ()                                                                                                                   | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type                                                     | GetType ()                                                                                                                       | String                                                                                                                                 |
| ToString ()                                              | ### References to Types                                                                                                          |                                                                                                                                        |
| -------------------------------------------------------- |                                                                                                                                  |                                                                                                                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/hostpoolagentsettings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
