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
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 | 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

Last updated

Was this helpful?