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
401
Unauthorized
application/json; api-version=1.0
404
Not Found
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)
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.