Set-RASClientPolicy
SYNOPSIS
Modifies settings of a client policy.
SYNTAX
Set-RASClientPolicy [-Id] <uint> [-AdvancedSettingsEnabled <bool>] [-AllowClearLog <bool>]
[-AllowClipboardClientToServerRedirection {None | Others | Text | RTF | HTML | Images | Files | Default}]
[-AllowClipboardHistory <bool>]
[-AllowClipboardServerToClientRedirection {None | Others | Text | RTF | HTML | Images | Files | Default}]
[-AllowEMFRasterization <bool>] [-AllowSrvCmd <bool>] [-AllowSyncClipboardContent <bool>]
[-AllowViewLog <bool>] [-AltGateway <string>] [-AudioEnabled <bool>]
[-AudioModes {BringToThisComputer | DoNotPlay | LeaveAtRemoteComputer}]
[-AudioQuality {AdjustDynamically | UseMediumQuality | UseUncompressedQuality}] [-AudioRec <bool>]
[-AuthenticationType {Credentials | SingleSignOn | SmartCard | Web | WebCredentials}]
[-AutoAddFarm <bool>] [-AutoHide <bool>] [-AutoLaunch <bool>] [-AutoLogin <bool>]
[-AutoRefreshFarms <bool>] [-AutoRefreshTime_Mins <uint>] [-AVDMultimediaRedir <bool>]
[-AVDMultimediaRedirEnabled <bool>] [-BitmapCaching <bool>] [-BrowserEnabled <bool>]
[-BrowserOpenIn {SameTab | NewTab}] [-CamerasIds <string[]>] [-CheckForUpdateOnLaunch <bool>]
[-ClearCookies <bool>] [-ClientOptionsAdvancedEnabled <bool>]
[-ClientOptionsAppearanceEnabled <bool>] [-ClientOptionsCEPEnabled <bool>]
[-ClientOptionsConnEnabled <bool>] [-ClientOptionsEnabled <bool>]
[-ClientOptionsMacOSKeyboardMappingsEnabled <bool>] [-ClientOptionsPCKeyboardEnabled <bool>]
[-ClientOptionsPrintingEnabled <bool>] [-ClientOptionsUpdateEnabled <bool>]
[-ClipboardEnabled <bool>]
[-ColorDepths {Colors256 | HighColor15Bit | HighColor16Bit | TrueColor24Bit | HighestQuality32Bit}]
[-Compress <bool>] [-CompressionEnabled <bool>] [-ComputerNameEnabled <bool>]
[-ConnectionAdvancedSettConnectionBannerDelay <uint>] [-ConnectionAdvancedSettEnabled <bool>]
[-ConnectionBannerType {SplashWindow | TaskBarToastWindow | None}] [-ConnectionName <string>]
[-ConnectionRetries <uint>] [-ConnectionTimeout <uint>] [-ControlSettingsConnectionEnabled <bool>]
[-ControlSettingsCredentialsEnabled <bool>] [-ControlSettingsImportExportEnabled <bool>]
[-CreateShrtCut <bool>] [-CredAlwaysAsk <bool>] [-CredSSP <bool>]
[-DataFormat {ViewPDF_ExtApp | EMF | BMP | PrintPDF_ExtApp | PrintPDF}] [-DefaultOsBrowser <bool>]
[-DefaultPrinter <string>]
[-DefaultPrinterTech {None | RasUniversalPrintingTechnology | MicrosoftBasicPrintingTechnology | RasUniversalPrintingAndMsBasicTechnologies}]
[-Description <string>] [-DesktopBackground <bool>] [-DesktopComposition <bool>]
[-DesktopOptionsEnabled <bool>] [-DevicesEnabled <bool>] [-DisableRUDP <bool>]
[-DiskDrivesEnabled <bool>] [-DisplayConfig {Primary | All | Selected}] [-Domain <string>]
[-DontAddNewASXGConns <bool>] [-DontAddNewStdConns <bool>] [-DontChangePwds <bool>]
[-DontExport <bool>] [-DontImport <bool>] [-DontPromptAutoAddFarm <bool>] [-DontSavePwds <bool>]
[-DontSaveUsername <bool>] [-DPIAware <bool>] [-DriveCacheMode {Disable | Enable | Fast}]
[-DynamicCameras <bool>] [-DynamicDevices <bool>] [-DynamicDrives <bool>]
[-DynamicPrinterRedir <bool>] [-EmbedDesktop <bool>] [-EnableCameras <bool>] [-Enabled <bool>]
[-EnableTaskbarPreview <bool>] [-FileTransferEnabled <bool>]
[-FileTransferMode {Disabled | ClientToServer | ServerToClient | Bidirectional}]
[-FontSmoothing <bool>] [-ForcePCKeybd <bool>] [-ForceThirdPartySSO <bool>] [-ForceTime <uint>]
[-FullScreenBar {DoNotShow | ShowPinned | ShowUnPinned}] [-Gateway <string>]
[-GlobalEnabled <bool>]
[-GraphicsAcceleration {None | Basic | RemoteFx | RemoteFxAdaptive | AVCAdaptive}]
[-KeyboardEnabled <bool>] [-KeyboardWindow {LocalComputer | RemoteComputer | FullScreenMode}]
[-KybdMapLeftCmd {None | SendLeftCtrlKey | SendCtrlKey | SendLeftWinKey | SendWinKey | SendRightCtrlKey | SendRightWinKey | SendLeftAltKey | SendRightAltKey | SendLeftShiftKey | SendRightShiftKey}]
[-KybdMapLeftCtrl {None | SendLeftCtrlKey | SendCtrlKey | SendLeftWinKey | SendWinKey | SendRightCtrlKey | SendRightWinKey | SendLeftAltKey | SendRightAltKey | SendLeftShiftKey | SendRightShiftKey}]
[-KybdMapLeftOption {None | SendLeftCtrlKey | SendCtrlKey | SendLeftWinKey | SendWinKey | SendRightCtrlKey | SendRightWinKey | SendLeftAltKey | SendRightAltKey | SendLeftShiftKey | SendRightShiftKey}]
[-KybdMapLeftShift {None | SendLeftCtrlKey | SendCtrlKey | SendLeftWinKey | SendWinKey | SendRightCtrlKey | SendRightWinKey | SendLeftAltKey | SendRightAltKey | SendLeftShiftKey | SendRightShiftKey}]
[-KybdMapRightCmd {None | SendLeftCtrlKey | SendCtrlKey | SendLeftWinKey | SendWinKey | SendRightCtrlKey | SendRightWinKey | SendLeftAltKey | SendRightAltKey | SendLeftShiftKey | SendRightShiftKey}]
[-KybdMapRightCtrl {None | SendLeftCtrlKey | SendCtrlKey | SendLeftWinKey | SendWinKey | SendRightCtrlKey | SendRightWinKey | SendLeftAltKey | SendRightAltKey | SendLeftShiftKey | SendRightShiftKey}]
[-KybdMapRightOption {None | SendLeftCtrlKey | SendCtrlKey | SendLeftWinKey | SendWinKey | SendRightCtrlKey | SendRightWinKey | SendLeftAltKey | SendRightAltKey | SendLeftShiftKey | SendRightShiftKey}]
[-KybdMapRightShift {None | SendLeftCtrlKey | SendCtrlKey | SendLeftWinKey | SendWinKey | SendRightCtrlKey | SendRightWinKey | SendLeftAltKey | SendRightAltKey | SendLeftShiftKey | SendRightShiftKey}]
[-Lang {Default | English | German | Japanese | French | Spanish | Italian | Portuguese | ChineseSimplified | ChineseTraditional | Korean | Dutch}]
[-LanguageEnabled <bool>] [-LocalProxyAddressEnabled <bool>] [-LocationEnabled <bool>]
[-LoggingDuration <uint>] [-LoggingEnabled <bool>] [-LoggingStartDateTime <DateTime>]
[-LogLevel {Extended | Standard | Verbose}] [-MailRedirection <bool>]
[-MatchExactPrinterName <bool>] [-MinimizeToTrayOnClose <bool>]
[-Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode}] [-MoveSizeFullDrag <bool>]
[-MultiFactorAuthenticationEnabled <bool>] [-MultiMonitorEnabled <bool>]
[-NetType {Modem | LowSpeedBroadband | Satellite | HighSpeedBroadband | WAN | LAN | DetectConnectionQualityAuto}]
[-NetworkEnabled <bool>] [-NewName <string>] [-OpenBrowserOnLogout <bool>] [-Order <uint>]
[-OverrideComputerName <string>] [-ParticipateInCEP <bool>]
[-PCKeybd {ChineseSimplified | ChineseTraditional | Dutch | EnglishUK | EnglishUS | French | FrenchBelgium | FrenchCanada | FrenchSwitzerland | German | GermanSwitzerland | Italian | Japanese | Korean | Maltese | NorwegianNynorsk | PortugueseBrazil | Portuguese | Russian | Spanish | Swedish}]
[-PerformanceEnabled <bool>] [-PortsEnabled <bool>] [-Pre2000Cred <bool>]
[-PreLaunchExclude <string[]>] [-PreLaunchMode {Off | Basic | MachineLearning}]
[-PrimaryConnectionEnabled <bool>]
[-PrinterPreference {ServerPrefAllPrinters | ClientPrefAllPrinters | ClientPrefSpecificPrinters}]
[-PrintingCompression {CompressionDisabled | BestSpeed | BestSize | BasedOnConnectionSpeed}]
[-PrintingEnabled <bool>] [-PrintInstallFonts <bool>] [-PrintRawSupport <bool>]
[-PrintRefreshCache <bool>] [-PrintUseCache <bool>] [-PrintUseFontsCache <bool>]
[-PromptSrvCmd <bool>] [-PromptSwitchToModern <bool>] [-ProxyAuthentication <bool>]
[-ProxyHost <string>] [-ProxyPort <uint>] [-ProxyType {SOCKS4 | SOCKS4A | SOCKS5 | HTTP1_1}]
[-ProxyUseLogonCredentials <bool>] [-ProxyUsername <string>] [-PublishedApplicationsEnabled <bool>]
[-ReconnectIfDropped <bool>] [-ReconnectionConnectionBannerDelay <uint>]
[-ReconnectionEnabled <bool>] [-RedirectCOMPorts <bool>] [-RedirectDevices <bool>]
[-RedirectDrives <bool>] [-RedirectionEnabled <bool>] [-RedirectLocation <bool>]
[-RedirectPrinters {All | DefaultOnly | SpecificOnly}] [-RedirectPrintersList <string[]>]
[-RedirectPrinterTech {None | RasUniversalPrintingTechnology | MicrosoftBasicPrintingTechnology | RasUniversalPrintingAndMsBasicTechnologies}]
[-RedirectReadonlyDrives <bool>] [-RedirectRemoteKeyboardInput <bool>] [-RedirectSmartCards <bool>]
[-RedirectToDevices <string[]>] [-RedirectToDrives <string[]>] [-RedirectWebAuthn <bool>]
[-RedirPOS <bool>] [-RefreshConnectionOnAppLaunch <bool>] [-RegisterExt <bool>]
[-RememberLastUsedMethod <bool>] [-RemoteFXUSBRedir <bool>] [-RemoteFxUsbRedirEnabled <bool>]
[-SavePassword <bool>] [-ScanListTwain <string[]>] [-ScanListWia <string[]>]
[-ScanningCompression {CompressionDisabled | BestSpeed | BestSize | BasedOnConnectionSpeed}]
[-ScanningEnabled <bool>] [-ScanRedirect {All | SpecificOnly}]
[-ScanTech {None | WIA | TWAIN | WIAandTWAIN}] [-SecondaryConnectionsEnabled <bool>]
[-SendUnicodeChars <bool>] [-ServerAuthenticationEnabled <bool>] [-ServerPort <uint>]
[-SessionAuthFailureAction {Connect | DoNotConnect | Warn}] [-SessionPreLaunchEnabled <bool>]
[-SettingsEnabled <bool>] [-ShowContent <bool>] [-ShowDesktopTimeout <uint>] [-ShowFolders <bool>]
[-SmartCardsEnabled <bool>] [-SmartSizing {Disabled | Scale | Resize}] [-SpanDesktops <bool>]
[-SpecificPreferredPrinter <string>] [-SSLNoWarning <bool>] [-SSOEnabled <bool>]
[-SSOProvGUID <string>] [-SuppErrMsgs <bool>] [-SwapMouse <bool>] [-Themes <bool>]
[-TouchInput <bool>] [-TurnOffUDPOnClient <bool>] [-UIType {Modern | Classic | User}]
[-UpdateAVDClientType {AVDClient | WindowsApp | WindowsAppCustom}]
[-UpdateAVDClientXMLURL <string>] [-UpdateClientXmlUrl <string>] [-UpdateRemoteDefPrinter <bool>]
[-UrlRedirection <bool>] [-UseAllDevices <bool>] [-UseAllDrives <bool>] [-UseClientColors <bool>]
[-UseClientSettings <bool>] [-UseDynamicDesktopResizing <bool>] [-UseLocalHostProxyIP <bool>]
[-UsePrimaryMonitor <bool>] [-UseProxyServer <bool>] [-VideoCaptureDevicesEnabled <bool>]
[-VideoCaptureUseAllDevices <bool>] [-WebAuthenticationEnabled <bool>] [-WebAuthnEnabled <bool>]
[-WhenAllSessionClosedAction {Nothing | LockWorkstation | LogOff}] [-WindowMenuAnimation <bool>]
[-WindowsClientEnabled <bool>] [-WindowsTouchInputEnabled <bool>]
[-ZOrderMode {Disabled | ImprovedHeuristic}] [<CommonParameters>]DESCRIPTION
Modifies settings of a client policy.
EXAMPLES
Example 1
Changes the name of the client policy from PDFPolicy to UserGroupPolicy.
Example 2
Disables the client policy specified by name.
PARAMETERS
-NewName
The new name of the specified client policy.
-Enabled
Enable or disable the specified client policy.
-Description
A user-defined description for the client policy.
-Order
The order of the client policy.
-PrimaryConnectionEnabled
Session - Connection - Primary Connection: Whether Primary Connection is enabled or not.
-ConnectionName
Session - Connection - Primary Connection: The name of the primary connection.
-AutoLogin
Session - Connection - Primary Connection: Allow the user to auto login.
-AuthenticationType
Session - Connection - Primary Connection: The authentication type which the user will use.
Possible values: Credentials, SingleSignOn, SmartCard, Web, WebCredentials
Type reference: AuthType
-SavePassword
Session - Connection - Primary Connection: Password will be saved when user successfully logs in.
-Domain
Session - Connection - Primary Connection: The name of the domain.
-SecondaryConnectionsEnabled
Session - Connection - Secondary Connection: If Secondary Connection is enabled or not.
-ReconnectIfDropped
Session - Connection - Reconnection: If Reconnection Flag is enabled or not.
-ReconnectionEnabled
Session - Connection - Reconnection: When the connection drops allows for automatic reconnection.
-ConnectionRetries
Session - Connection - Reconnection: The amount of connection retries.
-ReconnectionConnectionBannerDelay
Session - Connection - Reconnection: If connection is not established after an amount of seconds given, the banner will show.
-ComputerNameEnabled
Session - Connection - Computer Name: Whether Computer Name is enabled or not.
-OverrideComputerName
Session - Connection - Computer Name: The computer name which can be overridden.
-ConnectionAdvancedSettEnabled
Session - Connection - Advanced Settings: Whether Connection Advanced Settings is enabled or not.
-ConnectionTimeout
Session - Connection - Advanced Settings: The total number of seconds where the connection will timeout.
-ConnectionAdvancedSettConnectionBannerDelay
Session - Connection - Advanced Settings: If connection is not established after an amount of seconds given, the banner will show.
-ShowDesktopTimeout
Session - Connection - Advanced Settings: If published application does not start after several seconds this will show.
-WebAuthenticationEnabled
Session - Connection - Web Authentication: Whether the web authentication is enabled or not.
-DefaultOsBrowser
Session - Connection - Web Authentication: If the box is checked the os will use the default browser.
-OpenBrowserOnLogout
Session - Connection - Web Authentication: Whether the browser is shown when logging out of web authentication with the internal browser.
-MultiFactorAuthenticationEnabled
Session - Connection - Multi Factor Authentication: Whether Multi factor authentication is enabled or not.
-RememberLastUsedMethod
Session - Connection - Multi Factor Authentication: Will remember the last used method.
-SessionPreLaunchEnabled
Session - Connection - Session Prelaunch: Whether Session PreLaunch was enabled or not.
-PreLaunchMode
Session - Connection - Session Prelaunch: The Session Prelaunch prelaunch mode.
Possible values: Off, Basic, MachineLearning
Type reference: SessionMode
-LocalProxyAddressEnabled
Session - Connection - Local Proxy Address: Whether Local Proxy Address is enabled or not.
-UseLocalHostProxyIP
Session - Connection - Local Proxy Address: Whether the 127.0.0.1 IP address is used when using Gateway mode in VPN scenarios or not.
-PreLaunchExclude
Session - Connection - Session Prelaunch: The list of the session prelaunch.
-BrowserEnabled
Session - Display - Browser: Whether Display Settings Browser is enabled or not.
-BrowserOpenIn
Session - Display - Browser: Will open the applications depending on what the client selected
Possible values: SameTab, NewTab
Type reference: OpenApplicationsIn
-DesktopOptionsEnabled
Session - Display - Desktop Options: Whether Display Settings Options is enabled or not.
-SmartSizing
Session - Display - Desktop Options: The smart-sizing mode.
Possible values: Disabled, Scale, Resize
Type reference: SmartSizing
-EmbedDesktop
Session - Display - Desktop Options: If box is checked the desktop will always be fixed.
-SpanDesktops
Session - Display - Desktop Options: If box is checked the desktop will spanned across all other monitors.
-FullScreenBar
Session - Display - Desktop Options: Show the connection bar in fullscreen.
Possible values: DoNotShow, ShowPinned, ShowUnPinned
Type reference: ConnectionBar
-MultiMonitorEnabled
Session - Display - Multi Monitor: Whether Display Settings is enabled or not.
-DisplayConfig
Session - Display - Multi Monitor: The display configuration.
Possible values: Primary, All, Selected
Type reference: DisplayConfig
-PublishedApplicationsEnabled
-UsePrimaryMonitor
Session - Display - Published Applications: Use the primary monitor only.
-UseDynamicDesktopResizing
Session - Display - Published Applications: Use dynamic desktop resizing.
-ZOrderMode
Session - Display - Published Applications: Z-Order mode (Experimental).
Possible values: Disabled, ImprovedHeuristic
Type reference: ZOrderMode
-EnableTaskbarPreview
Session - Display - Published Applications: If set to true, will enable taskbar preview.
-SettingsEnabled
Session - Display - Settings: Whether Display Settings is enabled or not.
-ColorDepths
Session - Display - Settings: The display color depth.
Possible values: Colors256, HighColor15Bit, HighColor16Bit, TrueColor24Bit, HighestQuality32Bit
Type reference: SettingsColorDepth
-GraphicsAcceleration
Session - Display - Settings: The Chosen mode for the graphics accelerator.
Possible values: None, Basic, RemoteFx, RemoteFxAdaptive, AVCAdaptive
Type reference: AccelerationMode
-PrintingEnabled
Session - Printing: Whether Printing Policy is enabled or not.
-RedirectPrinterTech
Session - Printing: The Redirect printer technology chosen.
Possible values: None, RasUniversalPrintingTechnology, MicrosoftBasicPrintingTechnology, RasUniversalPrintingAndMsBasicTechnologies
Type reference: PrintingTechnologyUse
-RedirectPrinters
Session - Printing: Redirection method: To All, To Default Only or To Specific (printer) Only.
Possible values: All, DefaultOnly, SpecificOnly
Type reference: UniversalPrinting
-RedirectPrintersList
Session - Printing: List of names of printers that are used to redirect to.
-ScanningEnabled
Session - Scanning: Whether Scanning policy is enabled or not.
-ScanTech
Session - Scanning: The scanning technology type used.
Possible values: None, WIA, TWAIN, WIAandTWAIN
Type reference: ScanningTechnologyUse
-ScanRedirect
Session - Scanning: The scanning redirection used.
Possible values: All, SpecificOnly
Type reference: RedirectScanner
-ScanListTwain
Session - Scanning: The TWAIN scanning List.
-ScanListWia
Session - Scanning: The WIA scanning List.
-AudioEnabled
Session - Audio: Whether Audio policy is enabled or not.
-AudioModes
Session - Audio: The Audio Mode Chosen.
Possible values: BringToThisComputer, DoNotPlay, LeaveAtRemoteComputer
Type reference: AudioMode
-AudioQuality
Session - Audio: The Audio quality which was chosen.
Possible values: AdjustDynamically, UseMediumQuality, UseUncompressedQuality
Type reference: AudioQuality
-AudioRec
Session - Audio: Allow Audio Recording if box is ticked.
-KeyboardEnabled
Session - Keyboard: Whether Keyboard policy is enabled or not.
-KeyboardWindow
Session - Keyboard: Will allow window key combinations.
Possible values: LocalComputer, RemoteComputer, FullScreenMode
Type reference: KeyboardType
-SendUnicodeChars
Session - Keyboard: Allow Unicode characters if the box is checked.
-RedirectRemoteKeyboardInput
Session - Keyboard: Allow keyboard input and events from remote applications to be sent to the currently active application on the local device. Note: Applicable to Parallels Client for macOS only.
-ClipboardEnabled
Session - Local Devices and Resources - Clipboard: Whether Local Devices and resources clipboard policy is enabled or not.
-AllowClipboardClientToServerRedirection
Session - Local Devices and Resources - Clipboard: Allow clipboard client to server redirection.
Possible values: None, Others, Text, RTF, HTML, Images, Files, Default
Type reference: ClipboardFormats
-AllowClipboardServerToClientRedirection
Session - Local Devices and Resources - Clipboard: Allow clipboard server to client redirection.
Possible values: None, Others, Text, RTF, HTML, Images, Files, Default
Type reference: ClipboardFormats
-AllowClipboardHistory
Session - Local Devices and Resources - Clipboard: Allow remote clipboard content to be saved in local clipboard history.
-AllowSyncClipboardContent
Session - Local Devices and Resources - Clipboard: Allow remote clipboard content to sync across devices.
-DevicesEnabled
Session - Local Devices and Resources - Devices: Whether Local Devices and resources Devices policy is enabled or not.
-RedirectDevices
Session - Local Devices and Resources - Devices: If box is checked allow devices redirection.
-DynamicDevices
Session - Local Devices and Resources - Devices: If box is checked allow the use of other devices that are plugged in later.
-UseAllDevices
Session - Local Devices and Resources - Devices: Use all devices that are available.
-RedirectToDevices
Session - Local Devices and Resources - Devices: Redirect to all available devices.
-DiskDrivesEnabled
Session - Local Devices and Resources - Disk Drives: Whether Disk Drives policy is enabled or not.
-RedirectDrives
Session - Local Devices and Resources - Disk Drives: Allow Drives Redirection.
-RedirectReadonlyDrives
Session - Local Devices and Resources - Disk Drives: Redirect as read-only drives.
-DynamicDrives
Session - Local Devices and Resources - Disk Drives: Allow Drives that are plugged in later on.
-RedirectToDrives
Session - Local Devices and Resources - Disk Drives: The drives to redirect to.
-UseAllDrives
Session - Local Devices and Resources - Disk Drives: Will use all the drives that are available.
-DriveCacheMode
Session - Local Devices and Resources - Disk Drives: Sets drive caching mode
Possible values: Disable, Enable, Fast
Type reference: DriveCacheMode
-AVDMultimediaRedirEnabled
Session - Local Devices and Resources - Multimedia redirection for AVD: Multimedia redirection for AVD policy is enabled or not.
-AVDMultimediaRedir
Session - Local Devices and Resources - Multimedia redirection for AVD: Whether Multimedia redirection is enabled for AVD or not.
-FileTransferEnabled
Session - Local Devices and Resources - File Transfer: Whether File Transfer policy is enabled or not.
-FileTransferMode
Session - Local Devices and Resources - File Transfer: Specifies if File Transfer option is allowed and if yes, which directions are allowed.
Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional
Type reference: FileTransferControlMode
-WebAuthnEnabled
Session - Local Devices and Resources - WebAuthn: Whether WebAuthn policy is enabled or not.
-RedirectWebAuthn
Session - Local Devices and Resources - WebAuthn: Specifies whether WebAuthn (Windows Hello and security keys) redirection is allowed. Note: Applicable to Parallels Client for Windows only.
-LocationEnabled
Session - Local Devices and Resources - Location: Whether Location policy is enabled or not.
-RedirectLocation
Session - Local Devices and Resources - Location: Specifies whether Location redirection is allowed. Note: Applicable to Parallels Client for Windows only.
-PortsEnabled
Session - Local Devices and Resources - Ports: Whether Ports policy is enabled or not.
-RedirectCOMPorts
Session - Local Devices and Resources - Ports: If box is checked allow the LPT and COM Redirection.
-SmartCardsEnabled
Session - Local Devices and Resources - Smart Cards: Smart Card policy is enabled or not.
-RedirectSmartCards
Session - Local Devices and Resources - Smart Cards: If box is checked allow the Smart Card Redirection.
-WindowsTouchInputEnabled
Session - Local Devices and Resources - Pen and Touch Input: Whether Windows Touch Input policy is enabled or not.
-TouchInput
Session - Local Devices and Resources - Pen and Touch Input: If box is checked allow the window touch redirection.
-VideoCaptureDevicesEnabled
Session - Local Devices and Resources - Video Capture Devices - Whether Video Capture Devices policy is enabled or not
-EnableCameras
Session - Local Devices and Resources - Video Capture Devices - If box is checked allow devices redirection
-DynamicCameras
Session - Local Devices and Resources - Video Capture Devices - If box is checked allow the use of other devices that are plugged in later
-VideoCaptureUseAllDevices
Session - Local Devices and Resources - Video Capture Devices - Use all devices that are available
-CamerasIds
Session - Local Devices and Resources - Video Capture Devices - Redirect to all available devices
-PerformanceEnabled
Session - Experience - Performance: Whether performance policy is enabled or not.
-NetType
Session - Experience - Performance: The type of connection speed which will optimize the performance.
Possible values: Modem, LowSpeedBroadband, Satellite, HighSpeedBroadband, WAN, LAN, DetectConnectionQualityAuto
Type reference: NetworkType
-DesktopBackground
Session - Experience - Performance: If the box is checked allow the desktop background.
-FontSmoothing
Session - Experience - Performance: If the box is checked allow font smoothing.
-WindowMenuAnimation
Session - Experience - Performance: If the box is checked allow for the window menu animation.
-DesktopComposition
Session - Experience - Performance: If the box is checked allow for the desktop composition.
-Themes
Session - Experience - Performance: If the box is checked allow for the themes setting.
-BitmapCaching
Session - Experience - Performance: If the box is checked allow for bitmap caching.
-MoveSizeFullDrag
Session - Experience - Performance: Allow the resizing of windows.
-ShowContent
Session - Experience - Performance: Whether show contents of window while dragging is enabled or not.
-CompressionEnabled
Session - Experience - Compression: Whether Compression policy is enabled or not.
-Compress
Session - Experience - Compression: Allow for RDP compression.
-ScanningCompression
Session - Experience - Compression: Allow for scanning compression.
Possible values: CompressionDisabled, BestSpeed, BestSize, BasedOnConnectionSpeed
Type reference: CompressionType
-PrintingCompression
Session - Experience - Compression: Allow for printing compression.
Possible values: CompressionDisabled, BestSpeed, BestSize, BasedOnConnectionSpeed
Type reference: CompressionType
-NetworkEnabled
Session - Network: Whether Network policy is enabled or not.
-UseProxyServer
Session - Network: Check the box if you want to use a proxy server.
-ProxyType
Session - Network: The type of proxy used.
Possible values: SOCKS4, SOCKS4A, SOCKS5, HTTP1_1
Type reference: ProxyType
-ProxyHost
Session - Network: The proxy host.
-ProxyPort
Session - Network: The proxy port.
-ProxyAuthentication
Session - Network: Check the box if the proxy requires any authentication.
-ProxyUseLogonCredentials
Session - Network: Will use the user logon credentials.
-ProxyUsername
Session - Network: The proxy username authentication.
-ServerAuthenticationEnabled
Session - Server Authentication: Whether Server Authentication policy is enabled or not.
-SessionAuthFailureAction
Session - Server Authentication: If authentication fails, perform action.
Possible values: Connect, DoNotConnect, Warn
Type reference: IfAuthenticationFail
-AdvancedSettingsEnabled
Session - Advanced Settings: Whether Advanced Settings policy is enabled or not.
-UseClientColors
Session - Advanced Settings: Make use of the system client colours.
-UseClientSettings
Session - Advanced Settings: Make use of the system client settings.
-CreateShrtCut
Session - Advanced Settings: Creates the shortcuts on the configured server.
-RegisterExt
Session - Advanced Settings: Register file extensions associated from the server.
-UrlRedirection
Session - Advanced Settings: Will redirect url to the client device.
-MailRedirection
Session - Advanced Settings: Will redirect the mail to the client devices.
-CredAlwaysAsk
Session - Advanced Settings: Will always ask for the credentials.
-AllowSrvCmd
Session - Advanced Settings: Will allow server commands to be executed by the client.
-PromptSrvCmd
Session - Advanced Settings: Will confirm the server commands before executing them.
-CredSSP
Session - Advanced Settings: Will allow for network level authentication.
-RedirPOS
Session - Advanced Settings: Will redirect POS devices.
-Pre2000Cred
Session - Advanced Settings: Will use pre windows 2000 format.
-DisableRUDP
Session - Advanced Settings: Will disable rdp-udp gateway connections.
-DefaultPrinter
Session - Printing - Default Settings: The default printer chosen.
-DefaultPrinterTech
Session - Printing - Default Settings: The default printing technology chosen.
Possible values: None, RasUniversalPrintingTechnology, MicrosoftBasicPrintingTechnology, RasUniversalPrintingAndMsBasicTechnologies
Type reference: PrintingTechnologyUse
-ForceTime
Session - Printing - Default Settings: The time in Seconds to Force the Default Printer for.
-MatchExactPrinterName
Session - Printing - Default Settings: Match Exact Printer Name.
-UpdateRemoteDefPrinter
Session - Printing - Default Settings: Update the remote default printer.
-DataFormat
Session - Printing - Printing Options: The data format.
Possible values: ViewPDF_ExtApp, EMF, BMP, PrintPDF_ExtApp, PrintPDF
Type reference: PrintingDataFormat
-PrinterPreference
Session - Printing - Printing Options: The client printer preferece.
Possible values: ServerPrefAllPrinters, ClientPrefAllPrinters, ClientPrefSpecificPrinters
Type reference: ClientPrinterPreference
-SpecificPreferredPrinter
Session - Printing - Printing Options: The specific preferred printer.
-ClientOptionsEnabled
Client Options: Whether Client Options policy is enabled or not.
-ClientOptionsAppearanceEnabled
Client Options - Appearance: Whether Client Options Appearance policy is enabled or not.
-UIType
Client Options - Appearance: The type of user interface used.
Possible values: Modern, Classic, User
Type reference: UIType
-PromptSwitchToModern
Client Options - Appearance: Will prompt user to switch to modern UI.
-ClientOptionsConnEnabled
Client Options - Connection: Whether Client Options Connection policy is enabled or not.
-ConnectionBannerType
Client Options - Connection: The type of connection banner used.
Possible values: SplashWindow, TaskBarToastWindow, None
Type reference: ConnectionBannerType
-AutoRefreshFarms
Client Options - Connection: Will automatically refresh the farm every given minutes.
-AutoRefreshTime_Mins
Client Options - Connection: The given minutes to refresh the farm.
-WhenAllSessionClosedAction
Client Options - Connection: Action performed when all sessions are closed.
Possible values: Nothing, LockWorkstation, LogOff
Type reference: WhenAllSessionClosedAction
-ClientOptionsUpdateEnabled
Client Options - Update: Whether Client Options Update policy is enabled or not.
-CheckForUpdateOnLaunch
Client Options - Update: Will check updates on startup.
-UpdateClientXmlUrl
Client Options - Update: The url to update the client.
-UpdateAVDClientType
Client Options - Update: The AVD client type used to connect to the Azure Virtual Desktop resources.
Possible values: AVDClient, WindowsApp, WindowsAppCustom
Type reference: AVDClientType
-UpdateAVDClientXMLURL
Client Options - Update: The url to update the AVD client.
-ClientOptionsPCKeyboardEnabled
Client Options - PC Keyboard: Whether Client Options PCKeyboard policy is enabled or not.
-ForcePCKeybd
Client Options - PC Keyboard: Will force to use the pc keyboard if applicable.
-PCKeybd
Client Options - PC Keyboard: The chosen Language for the keyboard layout.
Possible values: ChineseSimplified, ChineseTraditional, Dutch, EnglishUK, EnglishUS, French, FrenchBelgium, FrenchCanada, FrenchSwitzerland, German, GermanSwitzerland, Italian, Japanese, Korean, Maltese, NorwegianNynorsk, PortugueseBrazil, Portuguese, Russian, Spanish, Swedish
Type reference: KeyboardLayout
-ClientOptionsMacOSKeyboardMappingsEnabled
Client Options - MacOS Keyboard Mappings: Whether Client Options MacOS Keyboard Mappings policy is enabled or not.
-KybdMapLeftCmd
Client Options - MacOS Keyboard Mappings: The PC key to be sent when the left CMD is pressed on the Mac keyboard.
Possible values: None, SendLeftCtrlKey, SendCtrlKey, SendLeftWinKey, SendWinKey, SendRightCtrlKey, SendRightWinKey, SendLeftAltKey, SendRightAltKey, SendLeftShiftKey, SendRightShiftKey
Type reference: MacOSKeyboardMapping
-KybdMapLeftCtrl
Client Options - MacOS Keyboard Mappings: The PC key to be sent when the left CTRL is pressed on the Mac keyboard.
Possible values: None, SendLeftCtrlKey, SendCtrlKey, SendLeftWinKey, SendWinKey, SendRightCtrlKey, SendRightWinKey, SendLeftAltKey, SendRightAltKey, SendLeftShiftKey, SendRightShiftKey
Type reference: MacOSKeyboardMapping
-KybdMapLeftOption
Client Options - MacOS Keyboard Mappings: The PC key to be sent when the left Option is pressed on the Mac keyboard.
Possible values: None, SendLeftCtrlKey, SendCtrlKey, SendLeftWinKey, SendWinKey, SendRightCtrlKey, SendRightWinKey, SendLeftAltKey, SendRightAltKey, SendLeftShiftKey, SendRightShiftKey
Type reference: MacOSKeyboardMapping
-KybdMapLeftShift
Client Options - MacOS Keyboard Mappings: The PC key to be sent when the left Shift is pressed on the Mac keyboard.
Possible values: None, SendLeftCtrlKey, SendCtrlKey, SendLeftWinKey, SendWinKey, SendRightCtrlKey, SendRightWinKey, SendLeftAltKey, SendRightAltKey, SendLeftShiftKey, SendRightShiftKey
Type reference: MacOSKeyboardMapping
-KybdMapRightCmd
Client Options - MacOS Keyboard Mappings: The PC key to be sent when the right CMD is pressed on the Mac keyboard.
Possible values: None, SendLeftCtrlKey, SendCtrlKey, SendLeftWinKey, SendWinKey, SendRightCtrlKey, SendRightWinKey, SendLeftAltKey, SendRightAltKey, SendLeftShiftKey, SendRightShiftKey
Type reference: MacOSKeyboardMapping
-KybdMapRightCtrl
Client Options - MacOS Keyboard Mappings: The PC key to be sent when the right CTRL is pressed on the Mac keyboard.
Possible values: None, SendLeftCtrlKey, SendCtrlKey, SendLeftWinKey, SendWinKey, SendRightCtrlKey, SendRightWinKey, SendLeftAltKey, SendRightAltKey, SendLeftShiftKey, SendRightShiftKey
Type reference: MacOSKeyboardMapping
-KybdMapRightOption
Client Options - MacOS Keyboard Mappings: The PC key to be sent when the right Option is pressed on the Mac keyboard.
Possible values: None, SendLeftCtrlKey, SendCtrlKey, SendLeftWinKey, SendWinKey, SendRightCtrlKey, SendRightWinKey, SendLeftAltKey, SendRightAltKey, SendLeftShiftKey, SendRightShiftKey
Type reference: MacOSKeyboardMapping
-KybdMapRightShift
Client Options - MacOS Keyboard Mappings: The PC key to be sent when the right Shift is pressed on the Mac keyboard.
Possible values: None, SendLeftCtrlKey, SendCtrlKey, SendLeftWinKey, SendWinKey, SendRightCtrlKey, SendRightWinKey, SendLeftAltKey, SendRightAltKey, SendLeftShiftKey, SendRightShiftKey
Type reference: MacOSKeyboardMapping
-SSOEnabled
Client Options - SSO: Whether Client Options SSO policy is enabled or not.
-ForceThirdPartySSO
Client Options - SSO: Will wrap third party SSO Component.
-SSOProvGUID
Client Options - SSO: The third party credientials.
-LoggingEnabled
Client Options - Logging: Whether Logging policy is enabled or not.
-LogLevel
Client Options - Logging: The log level type.
Possible values: Extended, Standard, Verbose
Type reference: LogLevelsType
-LoggingStartDateTime
Client Options - Logging: Logging Start DateTime.
-LoggingDuration
Client Options - Logging: Logging Duration (in seconds).
-AllowViewLog
Client Options - Logging: Whether Allow View Log is enabled or not.
-AllowClearLog
Client Options - Logging: Whether Allow Clear Log is enabled or not.
-ClientOptionsAdvancedEnabled
Client Options - Advanced: Whether Advanced policy is enabled or not.
-GlobalEnabled
Client Options - Advanced - Global: Whether Advanced Global policy is enabled or not
-ShowFolders
Client Options - Advanced - Global: Show the connection trees
-MinimizeToTrayOnClose
Client Options - Advanced - Global: Minimize to tray on close or escape
-SSLNoWarning
Client Options - Advanced - Global: Do not warn if the server certificate is not verified
-SwapMouse
Client Options - Advanced - Global: Swap the mouse buttons
-DPIAware
Client Options - Advanced - Global: Enable the dpi aware
-AutoAddFarm
Client Options - Advanced - Global: Add the RAS Connections automatically when starting web or shortcut items
-DontPromptAutoAddFarm
Client Options - Advanced - Global: No messages are prompted when auto adding ras connections
-SuppErrMsgs
Client Options - Advanced - Global: Close any errors automatically
-ClearCookies
Client Options - Advanced - Global: Clear session cookies on exit.
-TurnOffUDPOnClient
Client Options - Advanced - Global: Turn off UDP on Client.
-RefreshConnectionOnAppLaunch
Client Options - Advanced - Global: Refresh connection when launching applications from web or shortcut items.
-LanguageEnabled
Client Options - Advanced - Language: Whether Language policy is enabled or not
-Lang
Client Options - Advanced - Language: The Chosen Language
Possible values: Default, English, German, Japanese, French, Spanish, Italian, Portuguese, ChineseSimplified, ChineseTraditional, Korean, Dutch
Type reference: LanguageType
-ClientOptionsPrintingEnabled
Client Options - Advanced - Printing: Whether Printing policy is enabled or not.
-PrintInstallFonts
Client Options - Advanced - Printing: Will install any missing fonts automatically.
-PrintRawSupport
Client Options - Advanced - Printing: Will allow for raw printing support.
-AllowEMFRasterization
Client Options - Advanced - Printing: Will convert non distributable fonts data to images.
-PrintUseCache
Client Options - Advanced - Printing: Will cache printer hardware information.
-PrintRefreshCache
Client Options - Advanced - Printing: Will refresh printer hardware information every 30 days.
-DynamicPrinterRedir
Client Options - Advanced - Printing: When enabled, if any printer configuration which matches the redirection rules is updated, the changes are reflected on the remote virtual printer.
-PrintUseFontsCache
Client Options - Advanced - Printing: Will allow for the RAS universal printing embedded fonts.
-WindowsClientEnabled
Client Options - Advanced - Windows Client: Whether Windows Client policy is enabled or not.
-AutoHide
Client Options - Advanced - Windows Client: Will hide the launcher when an application is opened.
-AutoLaunch
Client Options - Advanced - Windows Client: Will launch automatically at windows startup.
-RemoteFxUsbRedirEnabled
Client Options - Advanced - RemoteFX USB Redirection: Whether Remote Fx Usb Redirection policy is enabled or not.
-RemoteFXUSBRedir
Client Options - Advanced - RemoteFX USB Redirection: Will allow redirection of other supported remotedfx usb devices.
-ClientOptionsCEPEnabled
Client Options - Advanced - Customer Experience Program: Whether Remote Fx Usb Redirection policy is enabled or not.
-ParticipateInCEP
Client Options - Advanced - Customer Experience Program: Will allow redirection of other supported remotedfx usb devices.
-ControlSettingsConnectionEnabled
Control Settings - Connections: Whether Control Settings Connections policy is enabled or not.
-DontAddNewASXGConns
Control Settings - Connections: Will not be able to add a new ras connection.
-DontAddNewStdConns
Control Settings - Connections: Will not be able to add a new rdp connection.
-ControlSettingsCredentialsEnabled
Control Settings - Credentials: Whether Control Settings Credentials policy is enabled or not.
-DontSaveUsername
Control Settings - Credentials: Will not be able to save the username.
-DontSavePwds
Control Settings - Credentials: Will not be able to save the password.
-DontChangePwds
Control Settings - Credentials: Will not be able to change the password.
-ControlSettingsImportExportEnabled
Control Settings - Import and Export: Whether Control Settings Import Export policy is enabled or not.
-DontImport
Control Settings - Import and Export: Will not allow any importation of the connection settings.
-DontExport
Control Settings - Import and Export: Will not allow any exportation of the connection settings.
-RedirectionEnabled
Redirection: Whether Redirection policy is enabled or not
-Gateway
Redirection: The gateway address
-Mode
Redirection: The Connection mode
Possible values: GatewayMode, GatewaySSLMode, DirectMode, DirectSSLMode
Type reference: ConnectionMode
-ServerPort
Redirection: The server port
-AltGateway
Redirection: The alternative gateway address
-Name
Name of the client policy to modify.
This must be the actual client policy name used in the RAS farm.
-Id
The ID of the client policy to modify. To obtain the ID, use the Get-RASClientPolicy cmdlet.
-InputObject
The client policy object to modify.
Type reference: ClientRules
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
ClientRules
OUTPUTS
None
RELATED LINKS
Last updated