RDS Default Settings

Get

get

Retrieve the RD Session Host Default settings.

Query parameters
SiteIdinteger · int32Optional

Site ID for which to retrieve RD Session Host Default settings (optional)

Responses
chevron-right
200

Success

application/json; api-version=1.0

RDS Default Site Settings

portinteger · int32Optional

The port number of RD Session Host agent.

maxSessionsinteger · int32Optional

Maximum number of session a RDS can have.

disconnectActiveSessionAfterinteger · int32Optional

Disconnect active session after (in seconds). 0 for 'Never'.

logoffDisconnectedSessionAfterinteger · int32Optional

Logoff disconnected session after (in seconds). 0 for 'Never'; 1 for 'Immediate'.

allowURLAndMailRedirectionstring · enumOptional

URL and Mail Redirection values.

Possible values:
supportShellURLNamespaceObjectsbooleanOptional

Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.

preferredBrokerIdinteger · int32Optional

The preferred Connection Broker ID.

enableDriveRedirectionCachebooleanOptional

Specifies if the 'Enable Drive Redirection Cache' option is enabled or disabled.

allowRemoteExecbooleanOptional

Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.

enableAppMonitoringbooleanOptional

Specifies if 'Application Monitoring' option is enabled or disabled.

useRemoteAppsbooleanOptional

Specifies if 'Use RemoteApps if available' option is enables or disabled.

allowFileTransferbooleanOptional

Specifies if 'Allow file transfer' option is enables or disabled. (deprecated)

fileTransferModestring · enumOptional

File Transfer Control modes.

Possible values:
fileTransferLocationstring · nullableOptional

Location where the File Transfer takes place, if and where it is allowed.

fileTransferLockLocationbooleanOptional

Lock Location where the File Transfer takes place, if and where it is allowed.

allowDragAndDropbooleanOptional

Specifies if 'Allow local to remote drag and drop' option is enables or disabled. (deprecated)

dragAndDropModestring · enumOptional

Drag and drop redirection values.

Possible values:
manageRDPTransportProtocolstring · enumOptional

Manage RDP transport protocol.

Possible values:
printerNameFormatstring · enumOptional

Printer Name Format

Possible values:
removeClientNameFromPrinterNamebooleanOptional

Specifies if 'Remove client name from printer name' option is enabled or disabled.

removeSessionNumberFromPrinterNamebooleanOptional

Specifies if 'Remove session number from printer name' optionis enabled or disabled.

technologystring · enumOptional

User Profile Technology values.

Possible values:
updModestring · enumOptional

User Profile Disk Mode.

Possible values:
maxUserProfileDiskSizeGBinteger · int32Optional

Specifies the max user profile disk size (in GB).

diskPathstring · nullableOptional

Specifies the User Profile Disk path.

roamingModestring · enumOptional

User Profile Disk Roaming Mode.

Possible values:
includeFolderPathstring[] · nullableOptional

Specifies the UPD 'Include' folder paths.

includeFilePathstring[] · nullableOptional

Specifies the UPD 'Include' file paths.

excludeFolderPathstring[] · nullableOptional

Specifies the UPD 'Exclude' folder paths.

excludeFilePathstring[] · nullableOptional

Specifies the UPD 'Exclude' file paths.

restrictDesktopAccessbooleanOptional

Specifies if 'Restrict direct desktop access to the following users' option is enabled or disabled.

restrictedUsersstring[] · nullableOptional

Specifies the list of users for the RestrictDesktopAccess option (the option should be enabled). The list can contain user account names and user SIDs.

siteIdinteger · int32Optional

Site ID

get
/api/RDSDefaultSettings

Update

put

Modify the RD Session Host server default settings. For each setting, the request has a corresponding parameter. To modify a setting, specify a matching parameter and its value.

Query parameters
SiteIdinteger · int32Optional

Site ID for which to update the RD Session Host Default settings (optional)

Body

Update RD Session Hosts default settings

portinteger · int32 · nullableOptional

Specifies the RD Session Host agent port number.

maxSessionsinteger · int32 · nullableOptional

Specifies the 'Maximum Sessions' option.

disconnectActiveSessionAfterinteger · int32 · nullableOptional

Disconnect active session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'.

logoffDisconnectedSessionAfterinteger · int32 · nullableOptional

Logoff disconnected session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'; 1 for 'Immediate'.

allowURLAndMailRedirectionstring · enumOptional

URL and Mail Redirection values.

Possible values:
supportShellURLNamespaceObjectsboolean · nullableOptional

Enable or disable the 'Support Shell URL Namespace Objects' option.

autoPreferredBrokerbooleanOptional

Set the 'Preferred Connection Broker' option to 'Automatically".

Default: false
preferredBrokerIdinteger · int32 · nullableOptional

The preferred Connection Broker.

enableDriveRedirectionCacheboolean · nullableOptional

Enable or disable the 'Enable Drive Redirection Cache' option.

allowRemoteExecboolean · nullableOptional

Enable or disable the 'Allow 2XRemoteExec to send command to the client' option.

enableAppMonitoringboolean · nullableOptional

Enable or disable the 'Enable application monitoring' option.

useRemoteAppsboolean · nullableOptional

Enable or disable the 'Use RemoteApps if available' option.

allowFileTransferboolean · nullableOptionalDeprecated

Deprecated: use FileTransferMode instead. Enable or disable the 'Allow file transfer' option.

fileTransferModestring · enumOptional

File Transfer Control modes.

Possible values:
fileTransferLocationstring · nullableOptional

Location where the File Transfer takes place, if and where it is allowed.

fileTransferLockLocationboolean · nullableOptional

Lock Location where the File Transfer takes place, if and where it is allowed.

allowDragAndDropboolean · nullableOptionalDeprecated

Enable or disable the 'Allow local to remote drag and drop' option. (deprecated)

dragAndDropModestring · enumOptional

Drag and drop redirection values.

Possible values:
manageRDPTransportProtocolstring · enumOptional

Manage RDP transport protocol.

Possible values:
printerNameFormatstring · enumOptional

Printer Name Format

Possible values:
removeClientNameFromPrinterNameboolean · nullableOptional

Enable or disable the 'Remove client name from printer name' option.

removeSessionNumberFromPrinterNameboolean · nullableOptional

Enable or disable the 'Remove session number from printer name' option.

technologystring · enumOptional

User Profile Technology values.

Possible values:
updModestring · enumOptional

User Profile Disk Mode.

Possible values:
updRoamingModestring · enumOptional

User Profile Disk Roaming Mode.

Possible values:
upDiskPathstring · max: 255 · nullableOptional

Specifies the User Profile Disk path.

maxUserProfileDiskSizeGBinteger · int32 · nullableOptional

Specifies the max user profile disk size (in GB).

includeFolderPathstring[] · nullableOptional

Specifies the UPD 'Include' folder paths.

includeFilePathstring[] · nullableOptional

Specifies the UPD 'Include' file paths.

excludeFolderPathstring[] · nullableOptional

Specifies the UPD 'Exclude' folder paths.

excludeFilePathstring[] · nullableOptional

Specifies the UPD 'Exclude' file paths.

restrictDesktopAccessboolean · nullableOptional

Enable or disable the 'Restrict direct desktop access to the following users' option. To specify the list of users, use the RestrictedUsers parameter.

restrictedUsersstring[] · nullableOptional

Specifies the list of users for the RestrictDesktopAccess option (the option should be enabled). The list can contain User account names and User SIDs.

Responses
put
/api/RDSDefaultSettings

No content