Set-RASClientPolicy
Last updated
Last updated
Set-RASClientPolicy
Modifies settings of a client policy.
Set-RASClientPolicy [-] <uint> [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- {BringToThisComputer | DoNotPlay | LeaveAtRemoteComputer}] [- {AdjustDynamically | UseMediumQuality | UseUncompressedQuality}] [- <bool>] [- {Credentials | SingleSignOn | SmartCard | Web}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {SameTab | NewTab}] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {None | ClientToServer | ServerToClient | Bidirectional}] [- <bool>] [- {Colors256 | HighColor15Bit | HighColor16Bit | TrueColor24Bit | HighestQuality32Bit}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- {SplashWindow | TaskBarToastWindow | None}] [- <string>] [- <uint>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {ViewPDF_ExtApp | EMF | BMP | PrintPDF_ExtApp | PrintPDF}] [- <bool>] [- {None | RasUniversalPrintingTechnology | MicrosoftBasicPrintingTechnology | RasUniversalPrintingAndMsBasicTechnologies}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Primary | All | Selected}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Disable | Enable | Fast}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- {DoNotShow | ShowPinned | ShowUnPinned}] [- <string>] [- {Any | AnyGW | Connected | ConnectedToGWs | NotConnected | NotConnectedToGWs}] [- <bool>] [- <bool>] [- {None | Basic | RemoteFx | RemoteFxAdaptive | AVCAdaptive}] [- <bool>] [- {LocalComputer | RemoteComputer | FullScreenMode}] [- {Default | English | German | Japanese | French | Spanish | Italian | Portuguese | ChineseSimplified | ChineseTraditional | Korean | Dutch}] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <DateTime>] [- {Extended | Standard | Verbose}] [- {AnyMAC | AllowedMACs | NotAllowedMACs}] [- <bool>] [- <bool>] [- <bool>] [- {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode}] [- <bool>] [- <bool>] [- <bool>] [- {Modem | LowSpeedBroadband | Satellite | HighSpeedBroadband | WAN | LAN | DetectConnectionQualityAuto}] [- <bool>] [- <string>] [- <bool>] [- <uint>] [- <string>] [- <bool>] [- {ChineseSimplified | ChineseTraditional | Dutch | EnglishUK | EnglishUS | French | FrenchCanada | German | Italian | Japanese | Korean | Maltese | NorwegianNynorsk | PortugueseBrazil | Portuguese | Russian | Spanish | Swedish}] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- {Off | Basic | MachineLearning}] [- <bool>] [- {ServerPrefAllPrinters | ClientPrefAllPrinters | ClientPrefSpecificPrinters}] [- {CompressionDisabled | BestSpeed | BestSize | BasedOnConnectionSpeed}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <uint>] [- {SOCKS4 | SOCKS4A | SOCKS5 | HTTP1_1}] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {All | DefaultOnly | SpecificOnly}] [- <string[]>] [- {None | RasUniversalPrintingTechnology | MicrosoftBasicPrintingTechnology | RasUniversalPrintingAndMsBasicTechnologies}] [- <bool>] [- <string[]>] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- <string[]>] [- {CompressionDisabled | BestSpeed | BestSize | BasedOnConnectionSpeed}] [- <bool>] [- {All | SpecificOnly}] [- {None | WIA | TWAIN | WIAandTWAIN}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- {Connect | DoNotConnect | Warn}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- {Disabled | Scale | Resize}] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Modern | Classic | User}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Nothing | LockWorkstation | LogOff}] [- <bool>] [- <bool>] [- <bool>] [<>] Set-RASClientPolicy [-] <> [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- {BringToThisComputer | DoNotPlay | LeaveAtRemoteComputer}] [- {AdjustDynamically | UseMediumQuality | UseUncompressedQuality}] [- <bool>] [- {Credentials | SingleSignOn | SmartCard | Web}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {SameTab | NewTab}] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {None | ClientToServer | ServerToClient | Bidirectional}] [- <bool>] [- {Colors256 | HighColor15Bit | HighColor16Bit | TrueColor24Bit | HighestQuality32Bit}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- {SplashWindow | TaskBarToastWindow | None}] [- <string>] [- <uint>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {ViewPDF_ExtApp | EMF | BMP | PrintPDF_ExtApp | PrintPDF}] [- <bool>] [- {None | RasUniversalPrintingTechnology | MicrosoftBasicPrintingTechnology | RasUniversalPrintingAndMsBasicTechnologies}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Primary | All | Selected}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Disable | Enable | Fast}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- {DoNotShow | ShowPinned | ShowUnPinned}] [- <string>] [- {Any | AnyGW | Connected | ConnectedToGWs | NotConnected | NotConnectedToGWs}] [- <bool>] [- <bool>] [- {None | Basic | RemoteFx | RemoteFxAdaptive | AVCAdaptive}] [- <bool>] [- {LocalComputer | RemoteComputer | FullScreenMode}] [- {Default | English | German | Japanese | French | Spanish | Italian | Portuguese | ChineseSimplified | ChineseTraditional | Korean | Dutch}] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <DateTime>] [- {Extended | Standard | Verbose}] [- {AnyMAC | AllowedMACs | NotAllowedMACs}] [- <bool>] [- <bool>] [- <bool>] [- {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode}] [- <bool>] [- <bool>] [- <bool>] [- {Modem | LowSpeedBroadband | Satellite | HighSpeedBroadband | WAN | LAN | DetectConnectionQualityAuto}] [- <bool>] [- <string>] [- <bool>] [- <uint>] [- <string>] [- <bool>] [- {ChineseSimplified | ChineseTraditional | Dutch | EnglishUK | EnglishUS | French | FrenchCanada | German | Italian | Japanese | Korean | Maltese | NorwegianNynorsk | PortugueseBrazil | Portuguese | Russian | Spanish | Swedish}] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- {Off | Basic | MachineLearning}] [- <bool>] [- {ServerPrefAllPrinters | ClientPrefAllPrinters | ClientPrefSpecificPrinters}] [- {CompressionDisabled | BestSpeed | BestSize | BasedOnConnectionSpeed}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <uint>] [- {SOCKS4 | SOCKS4A | SOCKS5 | HTTP1_1}] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {All | DefaultOnly | SpecificOnly}] [- <string[]>] [- {None | RasUniversalPrintingTechnology | MicrosoftBasicPrintingTechnology | RasUniversalPrintingAndMsBasicTechnologies}] [- <bool>] [- <string[]>] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- <string[]>] [- {CompressionDisabled | BestSpeed | BestSize | BasedOnConnectionSpeed}] [- <bool>] [- {All | SpecificOnly}] [- {None | WIA | TWAIN | WIAandTWAIN}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- {Connect | DoNotConnect | Warn}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- {Disabled | Scale | Resize}] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Modern | Classic | User}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Nothing | LockWorkstation | LogOff}] [- <bool>] [- <bool>] [- <bool>] [<>] Set-RASClientPolicy [-] <string> [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- {BringToThisComputer | DoNotPlay | LeaveAtRemoteComputer}] [- {AdjustDynamically | UseMediumQuality | UseUncompressedQuality}] [- <bool>] [- {Credentials | SingleSignOn | SmartCard | Web}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {SameTab | NewTab}] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {None | ClientToServer | ServerToClient | Bidirectional}] [- <bool>] [- {Colors256 | HighColor15Bit | HighColor16Bit | TrueColor24Bit | HighestQuality32Bit}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- {SplashWindow | TaskBarToastWindow | None}] [- <string>] [- <uint>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {ViewPDF_ExtApp | EMF | BMP | PrintPDF_ExtApp | PrintPDF}] [- <bool>] [- {None | RasUniversalPrintingTechnology | MicrosoftBasicPrintingTechnology | RasUniversalPrintingAndMsBasicTechnologies}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Primary | All | Selected}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Disable | Enable | Fast}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- {DoNotShow | ShowPinned | ShowUnPinned}] [- <string>] [- {Any | AnyGW | Connected | ConnectedToGWs | NotConnected | NotConnectedToGWs}] [- <bool>] [- <bool>] [- {None | Basic | RemoteFx | RemoteFxAdaptive | AVCAdaptive}] [- <bool>] [- {LocalComputer | RemoteComputer | FullScreenMode}] [- {Default | English | German | Japanese | French | Spanish | Italian | Portuguese | ChineseSimplified | ChineseTraditional | Korean | Dutch}] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <DateTime>] [- {Extended | Standard | Verbose}] [- {AnyMAC | AllowedMACs | NotAllowedMACs}] [- <bool>] [- <bool>] [- <bool>] [- {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode}] [- <bool>] [- <bool>] [- <bool>] [- {Modem | LowSpeedBroadband | Satellite | HighSpeedBroadband | WAN | LAN | DetectConnectionQualityAuto}] [- <bool>] [- <string>] [- <bool>] [- <uint>] [- <string>] [- <bool>] [- {ChineseSimplified | ChineseTraditional | Dutch | EnglishUK | EnglishUS | French | FrenchCanada | German | Italian | Japanese | Korean | Maltese | NorwegianNynorsk | PortugueseBrazil | Portuguese | Russian | Spanish | Swedish}] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- {Off | Basic | MachineLearning}] [- <bool>] [- {ServerPrefAllPrinters | ClientPrefAllPrinters | ClientPrefSpecificPrinters}] [- {CompressionDisabled | BestSpeed | BestSize | BasedOnConnectionSpeed}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <uint>] [- {SOCKS4 | SOCKS4A | SOCKS5 | HTTP1_1}] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {All | DefaultOnly | SpecificOnly}] [- <string[]>] [- {None | RasUniversalPrintingTechnology | MicrosoftBasicPrintingTechnology | RasUniversalPrintingAndMsBasicTechnologies}] [- <bool>] [- <string[]>] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- <string[]>] [- {CompressionDisabled | BestSpeed | BestSize | BasedOnConnectionSpeed}] [- <bool>] [- {All | SpecificOnly}] [- {None | WIA | TWAIN | WIAandTWAIN}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- {Connect | DoNotConnect | Warn}] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- {Disabled | Scale | Resize}] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Modern | Classic | User}] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- {Nothing | LockWorkstation | LogOff}] [- <bool>] [- <bool>] [- <bool>] [<>]
Modifies settings of a client policy.
-NewName <string> The new name of the specified client policy.
-Enabled <bool> Enable or disable the specified client policy.
-Description <string> A user-defined description for the client policy.
-Order <uint> The order of the client policy.
-AllowClientChrome <bool> Allow Chrome OS clients.
-AllowClientAndroid <bool> Allow Android clients.
-AllowClientHTML5 <bool> Allow HTML5 clients.
-AllowClientIOS <bool> Allow IOS clients.
-AllowClientLinux <bool> Allow Linux clients.
-AllowClientMAC <bool> Allow Mac clients.
-AllowClientWindows <bool> Allow Windows clients.
-AllowClientWyse <bool> Allow Wyse clients.
-PrimaryConnectionEnabled <bool> Primary Connection: Whether Primary Connection is enabled or not.
-ConnectionName <string> Primary Connection: The name of the primary connection.
-AutoLogin <bool> Primary Connection: Allow the user to auto login.
-SavePassword <bool> Primary Connection: Password will be saved when user successfully logs in.
-Domain <string> Primary Connection: The name of the domain.
-SecondaryConnectionsEnabled <bool> Secondary Connection: If Secondary Connection is enabled or not.
-ReconnectIfDropped <bool> Reconnection: If Reconnection Flag is enabled or not.
-ReconnectionEnabled <bool> Reconnection: When the connection drops allows for automatic reconnection.
-ConnectionRetries <uint> Reconnection: The amount of connection retries.
-ReconnectionConnectionBannerDelay <uint> Reconnection: If connection is not established after an amount of seconds given, the banner will show.
-ComputerNameEnabled <bool> Computer Name: Whether Computer Name is enabled or not.
-OverrideComputerName <string> Computer Name: The computer name which can be overridden.
-ConnectionAdvancedSettEnabled <bool> Connection Advanced Settings: Whether Connection Advanced Settings is enabled or not.
-ConnectionTimeout <uint> Connection Advanced Settings: The total number of seconds where the connection will timeout.
-ConnectionAdvancedSettConnectionBannerDelay <uint> Connection Advanced Settings: If connection is not established after an amount of seconds given, the banner will show.
-ShowDesktopTimeout <uint> Connection Advanced Settings: If published application does not start after several seconds this will show.
-WebAuthenticationEnabled <bool> Web Authentication: Whether the web authentication is enabled or not.
-DefaultOsBrowser <bool> Web Authentication: If the box is checked the os will use the default browser.
-OpenBrowserOnLogout <bool> Web Authentication: Whether the browser is shown when logging out of web authentication with the internal browser.
-MultiFactorAuthenticationEnabled <bool> Multi Factor Authentication: Whether Multi factor authentication is enabled or not.
-RememberLastUsedMethod <bool> Multi Factor Authentication: Will remember the last used method.
-SessionPreLaunchEnabled <bool> Session Prelaunch: Whether Session PreLaunch was enabled or not.
-LocalProxyAddressEnabled <bool> Local Proxy Address: Whether Local Proxy Address is enabled or not.
-UseLocalHostProxyIP <bool> Local Proxy Address: Whether the 127.0.0.1 IP address is used when using Gateway mode in VPN scenarios or not.
-PreLaunchExclude <string[]> Session Prelaunch: The list of the session prelaunch.
-BrowserEnabled <bool> Browser: Whether Display Settings Browser is enabled or not.
-DesktopOptionsEnabled <bool> Desktop Options: Whether Display Settings Options is enabled or not.
-EmbedDesktop <bool> Desktop Options: If box is checked the desktop will always be fixed.
-SpanDesktops <bool> Desktop Options: If box is checked the desktop will spanned across all other monitors.
-MultiMonitorEnabled <bool> Multi Monitor: Whether Display Settings is enabled or not.
-UseAllMonitors <bool> Multi Monitor: If box is checked the session will use all desktop monitors if it is applicable.
-PublishedApplicationsEnabled <bool>
-UsePrimaryMonitor <bool> Published Applications: Use the primary monitor only.
-UseDynamicDesktopResizing <bool> Published Applications: Use dynamic desktop resizing.
-SettingsEnabled <bool> Settings: Whether Display Settings is enabled or not.
-PrintingEnabled <bool> Printing: Whether Printing Policy is enabled or not.
-RedirectPrintersList <string[]> Printing: List of names of printers that are used to redirect to.
-ScanningEnabled <bool> Scanning: Whether Scanning policy is enabled or not.
-ScanListTwain <string[]> Scanning: The TWAIN scanning List.
-ScanListWia <string[]> Scanning: The WIA scanning List.
-AudioEnabled <bool> Audio: Whether Audio policy is enabled or not.
-AudioRec <bool> Audio: Allow Audio Recording if box is ticked.
-KeyboardEnabled <bool> Keyboard: Whether Keyboard policy is enabled or not.
-SendUnicodeChars <bool> Keyboard: Allow Unicode characters if the box is checked.
-ClipboardEnabled <bool> Clipboard: Whether Local Devices and resources clipboard policy is enabled or not.
-RedirectClipboard <bool> Clipboard: Allow Clipboard redirection if the box is checked (deprecated).
-LimitClipboardToTextOnly <LimitClipboardToTextOnlyMode> Clipboard: Allowed direction to copy file to/from device using the clipboard. Possible values: NoLimit, ClientToServer, ServerToClient, BothDirections
-DevicesEnabled <bool> Devices: Whether Local Devices and resources Devices policy is enabled or not.
-RedirectDevices <bool> Devices: If box is checked allow devices redirection.
-DynamicDevices <bool> Devices: If box is checked allow the use of other devices that are plugged in later.
-UseAllDevices <bool> Devices: Use all devices that are available.
-RedirectToDevices <string[]> Devices: Redirect to all available devices.
-DiskDrivesEnabled <bool> Disk Drives: Whether Disk Drives policy is enabled or not.
-RedirectDrives <bool> Disk Drives: Allow Drives Redirection.
-RedirectReadonlyDrives <bool> Disk Drives: Redirect as read-only drives.
-DynamicDrives <bool> Disk Drives: Allow Drives that are plugged in later on.
-RedirectToDrives <string[]> Disk Drives: The drives to redirect to.
-UseAllDrives <bool> Disk Drives: Will use all the drives that are available.
-AVDMultimediaRedirEnabled <bool> Multimedia redirection for AVD (Experimental): Multimedia redirection for AVD policy is enabled or not.
-AVDMultimediaRedir <bool> Multimedia redirection for AVD (Experimental): Whether Multimedia redirection is enabled for AVD or not.
-FileTransferEnabled <bool> File Transfer: Whether File Transfer policy is enabled or not.
-RedirectFileTrans <bool> Deprecated: use FileTransferMode instead. File Transfer: If box is checked allow the File transfer command.
-PortsEnabled <bool> Ports: Whether Ports policy is enabled or not.
-RedirectCOMPorts <bool> Ports: If box is checked allow the LPT and COM Redirection.
-SmartCardsEnabled <bool> Smart Cards: Smart Card policy is enabled or not.
-RedirectSmartCards <bool> Smart Cards: If box is checked allow the Smart Card Redirection.
-WindowsTouchInputEnabled <bool> Windows Touch Input: Whether Windows Touch Input policy is enabled or not.
-TouchInput <bool> Windows Touch Input: If box is checked allow the window touch redirection.
-VideoCaptureDevicesEnabled <bool> Whether Video Capture Devices policy is enabled or not
-EnableCameras <bool> If box is checked allow devices redirection
-DynamicCameras <bool> If box is checked allow the use of other devices that are plugged in later
-VideoCaptureUseAllDevices <bool> Use all devices that are available
-CamerasIds <string[]> Redirect to all available devices
-PerformanceEnabled <bool> Performance: Whether performance policy is enabled or not.
-DesktopBackground <bool> Performance: If the box is checked allow the desktop background.
-FontSmoothing <bool> Performance: If the box is checked allow font smoothing.
-WindowMenuAnimation <bool> Performance: If the box is checked allow for the window menu animation.
-DesktopComposition <bool> Performance: If the box is checked allow for the desktop composition.
-Themes <bool> Performance: If the box is checked allow for the themes setting.
-BitmapCaching <bool> Performance: If the box is checked allow for bitmap caching.
-MoveSizeFullDrag <bool> Performance: Allow the resizing of windows.
-ShowContent <bool> Performance: Whether show contents of window while dragging is enabled or not.
-CompressionEnabled <bool> Compression: Whether Compression policy is enabled or not.
-Compress <bool> Compression: Allow for RDP compression.
-NetworkEnabled <bool> Network: Whether Network policy is enabled or not.
-UseProxyServer <bool> Network: Check the box if you want to use a proxy server.
-ProxyHost <string> Network: The proxy host.
-ProxyPort <uint> Network: The proxy port.
-ProxyAuthentication <bool> Network: Check the box if the proxy requires any authentication.
-ProxyUseLogonCredentials <bool> Network: Will use the user logon credentials.
-ProxyUsername <string> Network: The proxy username authentication.
-ServerAuthenticationEnabled <bool> Server Authentication: Whether Server Authentication policy is enabled or not.
-AdvancedSettingsEnabled <bool> Advanced Settings: Whether Advanced Settings policy is enabled or not.
-UseClientColors <bool> Advanced Settings: Make use of the system client colours.
-UseClientSettings <bool> Advanced Settings: Make use of the system client settings.
-CreateShrtCut <bool> Advanced Settings: Creates the shortcuts on the configured server.
-RegisterExt <bool> Advanced Settings: Register file extensions associated from the server.
-UrlRedirection <bool> Advanced Settings: Will redirect url to the client device.
-MailRedirection <bool> Advanced Settings: Will redirect the mail to the client devices.
-CredAlwaysAsk <bool> Advanced Settings: Will always ask for the credentials.
-AllowSrvCmd <bool> Advanced Settings: Will allow server commands to be executed by the client.
-PromptSrvCmd <bool> Advanced Settings: Will confirm the server commands before executing them.
-CredSSP <bool> Advanced Settings: Will allow for network level authentication.
-RedirPOS <bool> Advanced Settings: Will redirect POS devices.
-Pre2000Cred <bool> Advanced Settings: Will use pre windows 2000 format.
-DisableRUDP <bool> Advanced Settings: Will disable rdp-udp gateway connections.
-DoNotShowDriveRedirectionDlg <bool> Advanced Settings: Does not show the redirection drive dialog.
-ForceTime <uint> Printing - Default Settings: The time in Seconds to Force the Default Printer for.
-MatchExactPrinterName <bool> Printing - Default Settings: Match Exact Printer Name.
-UpdateRemoteDefPrinter <bool> Printing - Default Settings: Update the remote default printer.
-SpecificPreferredPrinter <string> Printing - Printing Options: The specific preferred printer.
-ClientOptionsEnabled <bool> Client Options: Whether Client Options policy is enabled or not.
-ClientOptionsAppearanceEnabled <bool> Client Options Appearance: Whether Client Options Appearance policy is enabled or not.
-PromptSwitchToModern <bool> Client Options Appearance: Will prompt user to switch to modern UI.
-ClientOptionsConnEnabled <bool> Client Options Connection: Whether Client Options Connection policy is enabled or not.
-AutoRefreshFarms <bool> Client Options Connection: Will automatically refresh the farm every given minutes.
-AutoRefreshTime_Mins <uint> Client Options Connection: The given minutes to refresh the farm.
-ClientOptionsUpdateEnabled <bool> Client Options Update: Whether Client Options Update policy is enabled or not.
-CheckForUpdateOnLaunch <bool> Client Options Update: Will check updates on startup.
-UpdateClientXmlUrl <string> Client Options Update: The url to update the client.
-ClientOptionsPCKeyboardEnabled <bool> Client Options PCKeyboard: Whether Client Options PCKeyboard policy is enabled or not.
-ForcePCKeybd <bool> Client Options PCKeyboard: Will force to use the pc keyboard if applicable.
-SSOEnabled <bool> Client Options SSO: Whether Client Options SSO policy is enabled or not.
-ForceThirdPartySSO <bool> Client Options SSO: Will wrap third party SSO Component.
-SSOProvGUID <string> Client Options SSO: The third party credientials.
-LoggingEnabled <bool> Client Options - Logging: Whether Logging policy is enabled or not.
-LoggingStartDateTime <DateTime> Client Options - Logging: Logging Start DateTime.
-LoggingDuration <uint> Client Options - Logging: Logging Duration (in seconds).
-AllowViewLog <bool> Client Options - Logging: Whether Allow View Log is enabled or not.
-AllowClearLog <bool> Client Options - Logging: Whether Allow Clear Log is enabled or not.
-ClientOptionsAdvancedEnabled <bool> Client Options - Advanced: Whether Advanced policy is enabled or not.
-GlobalEnabled <bool> Client Options - Advanced - Global: Whether Advanced Global policy is enabled or not
-ShowFolders <bool> Client Options - Advanced - Global: Show the connection trees
-MinimizeToTrayOnClose <bool> Client Options - Advanced - Global: Minimize to tray on close or escape
-GraphicsAccel <bool> Client Options - Advanced - Global: Enable the graphics acceleration for the chrome client
-ClientWorkAreaBackground <bool> Client Options - Advanced - Global: Enable the work area background for the chrome client
-SSLNoWarning <bool> Client Options - Advanced - Global: Do not warn if the server certificate is not verified
-SwapMouse <bool> Client Options - Advanced - Global: Swap the mouse buttons
-DPIAware <bool> Client Options - Advanced - Global: Enable the dpi aware
-AutoAddFarm <bool> Client Options - Advanced - Global: Add the RAS Connections automatically when starting web or shortcut items
-DontPromptAutoAddFarm <bool> Client Options - Advanced - Global: No messages are prompted when auto adding ras connections
-SuppErrMsgs <bool> Client Options - Advanced - Global: Close any errors automatically
-ClearCookies <bool> Client Options - Advanced - Global: Clear session cookies on exit.
-TurnOffUDPOnClient <bool> Client Options - Advanced - Global: Turn off UDP on Client.
-LanguageEnabled <bool> Client Options - Advanced - Language: Whether Language policy is enabled or not
-ClientOptionsPrintingEnabled <bool> Client Options - Advanced - Printing: Whether Printing policy is enabled or not.
-PrintInstallFonts <bool> Client Options - Advanced - Printing: Will install any missing fonts automatically.
-PrintRawSupport <bool> Client Options - Advanced - Printing: Will allow for raw printing support.
-AllowEMFRasterization <bool> Client Options - Advanced - Printing: Will convert non distributable fonts data to images.
-PrintUseCache <bool> Client Options - Advanced - Printing: Will cache printer hardware information.
-PrintRefreshCache <bool> Client Options - Advanced - Printing: Will refresh printer hardware information every 30 days.
-PrintUseFontsCache <bool> Client Options - Advanced - Printing: Will allow for the RAS universal printing embedded fonts.
-WindowsClientEnabled <bool> Client Options - Advanced - Windows Client: Whether Windows Client policy is enabled or not.
-AutoHide <bool> Client Options - Advanced - Windows Client: Will hide the launcher when an application is opened.
-AutoLaunch <bool> Client Options - Advanced - Windows Client: Will launch automatically at windows startup.
-RemoteFxUsbRedirEnabled <bool> Client Options - Advanced - RemoteFX USB Redirection: Whether Remote Fx Usb Redirection policy is enabled or not.
-RemoteFXUSBRedir <bool> Client Options - Advanced - RemoteFX USB Redirection: Will allow redirection of other supported remotedfx usb devices.
-ClientOptionsCEPEnabled <bool> Client Options - Advanced - Customer Experience Program: Whether Remote Fx Usb Redirection policy is enabled or not.
-ParticipateInCEP <bool> Client Options - Advanced - Customer Experience Program: Will allow redirection of other supported remotedfx usb devices.
-ControlSettingsConnectionEnabled <bool> Control Settings Connection: Whether Control Settings Connections policy is enabled or not.
-DontAddNewASXGConns <bool> Control Settings Connection: Will not be able to add a new ras connection.
-DontAddNewStdConns <bool> Control Settings Connection: Will not be able to add a new rdp connection.
-ControlSettingsCredentialsEnabled <bool> Control Settings Credentials: Whether Control Settings Credentials policy is enabled or not.
-DontSaveUsername <bool> Control Settings Credentials: Will not be able to save the username.
-DontSavePwds <bool> Control Settings Credentials: Will not be able to save the password.
-DontChangePwds <bool> Control Settings Credentials: Will not be able to change the password.
-ControlSettingsImportExportEnabled <bool> Control Settings Import Export: Whether Control Settings Import Export policy is enabled or not.
-DontImportExport <bool> Control Settings Import Export: Will not allow any importation or exportation of the connection settings.
-DontImport <bool> Control Settings Import Export: Will not allow any importation of the connection settings.
-DontExport <bool> Control Settings Import Export: Will not allow any exportation of the connection settings.
-RedirectionEnabled <bool> Redirection: Whether Redirection policy is enabled or not
-Gateway <string> Redirection: The gateway address
-ServerPort <uint> Redirection: The server port
-AltGateway <string> Redirection: The alternative gateway address
-Name <string> Name of the client policy to modify. This must be the actual client policy name used in the RAS farm.
-Id <uint> The ID of the client policy to modify. To obtain the ID, use the Get-RASClientPolicy cmdlet.
<CommonParameters>
-none-
---------- EXAMPLE 1 ---------- Set-RASClientPolicy -Name PDFPolicy -NewName UserGroupPolicy Changes the name of the client policy from PDFPolicy to UserGroupPolicy. ---------- EXAMPLE 2 ---------- Set-RASClientPolicy -Name UserGroupPolicy -Enable $False Disables the client policy specified by name.
-GatewayRule <> Gateway criteria. Use one of the following options: 0 = if Client is connected to any gateway 1 = if Client is connected to one of the following gateways 2 = if Client is not connected to one of the following gateways Possible values: Any, AnyGW, Connected, ConnectedToGWs, NotConnected, NotConnectedToGWs
-MACRule <> MAC address criteria. Use one of the following options: 0 = to any MAC address 1 = if the Client's MAC address is one of the following 2 = if the Client's MAC address is not one of the following Possible values: AnyMAC, AllowedMACs, NotAllowedMACs
-AuthenticationType <> Primary Connection: The authentication type which the user will use. Possible values: Credentials, SingleSignOn, SmartCard, Web
-PreLaunchMode <> Session Prelaunch: The Session Prelaunch prelaunch mode. Possible values: Off, Basic, MachineLearning
-BrowserOpenIn <> Browser: Will open the applications depending on what the client selected Possible values: SameTab, NewTab
-SmartSizing <> Desktop Options: The smart-sizing mode. Possible values: Disabled, Scale, Resize
-FullScreenBar <> Desktop Options: Show the connection bar in fullscreen. Possible values: DoNotShow, ShowPinned, ShowUnPinned
-DisplayConfig <> Multi Monitor: The display configuration. Possible values: Primary, All, Selected
-ColorDepths <> Settings: The display color depth. Possible values: Colors256, HighColor15Bit, HighColor16Bit, TrueColor24Bit, HighestQuality32Bit
-GraphicsAcceleration <> Settings: The Chosen mode for the graphics accelerator. Possible values: None, Basic, RemoteFx, RemoteFxAdaptive, AVCAdaptive
-RedirectPrinterTech <> Printing: The Redirect printer technology chosen. Possible values: None, RasUniversalPrintingTechnology, MicrosoftBasicPrintingTechnology, RasUniversalPrintingAndMsBasicTechnologies
-RedirectPrinters <> Printing: Redirection method: To All, To Default Only or To Specific (printer) Only. Possible values: All, DefaultOnly, SpecificOnly
-ScanTech <> Scanning: The scanning technology type used. Possible values: None, WIA, TWAIN, WIAandTWAIN
-ScanRedirect <> Scanning: The scanning redirection used. Possible values: All, SpecificOnly
-AudioModes <> Audio: The Audio Mode Chosen. Possible values: BringToThisComputer, DoNotPlay, LeaveAtRemoteComputer
-AudioQuality <> Audio: The Audio quality which was chosen. Possible values: AdjustDynamically, UseMediumQuality, UseUncompressedQuality
-KeyboardWindow <> Keyboard: Will allow window key combinations. Possible values: LocalComputer, RemoteComputer, FullScreenMode
-ClipboardDirection <> Clipboard: State of clipboard direction. Possible values: None, ClientToServer, ServerToClient, Bidirectional
-DriveCacheMode <> Disk Drives: Sets drive caching mode Possible values: Disable, Enable, Fast
-FileTransferMode <> Specifies if File Transfer option is allowed and if yes, which directions are allowed. Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional
-NetType <> Performance: The type of connection speed which will optimize the performance. Possible values: Modem, LowSpeedBroadband, Satellite, HighSpeedBroadband, WAN, LAN, DetectConnectionQualityAuto
-ScanningCompression <> Compression: Allow for scanning compression. Possible values: CompressionDisabled, BestSpeed, BestSize, BasedOnConnectionSpeed
-PrintingCompression <> Compression: Allow for printing compression. Possible values: CompressionDisabled, BestSpeed, BestSize, BasedOnConnectionSpeed
-ProxyType <> Network: The type of proxy used. Possible values: SOCKS4, SOCKS4A, SOCKS5, HTTP1_1
-SessionAuthFailureAction <> Server Authentication: If authentication fails, perform action. Possible values: Connect, DoNotConnect, Warn
-DefaultPrinterTech <> Printing - Default Settings: The default printing technology chosen. Possible values: None, RasUniversalPrintingTechnology, MicrosoftBasicPrintingTechnology, RasUniversalPrintingAndMsBasicTechnologies
-DataFormat <> Printing - Printing Options: The data format. Possible values: ViewPDF_ExtApp, EMF, BMP, PrintPDF_ExtApp, PrintPDF
-PrinterPreference <> Printing - Printing Options: The client printer preferece. Possible values: ServerPrefAllPrinters, ClientPrefAllPrinters, ClientPrefSpecificPrinters
-UIType <> Client Options Appearance: The type of user interface used. Possible values: Modern, Classic, User
-ConnectionBannerType <> Client Options Connection: The type of connection banner used. Possible values: SplashWindow, TaskBarToastWindow, None
-WhenAllSessionClosedAction <> Client Options Connection: Action performed when all sessions are closed. Possible values: Nothing, LockWorkstation, LogOff
-PCKeybd <> Client Options PCKeyboard: The chosen Language for the keyboard layout. Possible values: ChineseSimplified, ChineseTraditional, Dutch, EnglishUK, EnglishUS, French, FrenchCanada, German, Italian, Japanese, Korean, Maltese, NorwegianNynorsk, PortugueseBrazil, Portuguese, Russian, Spanish, Swedish
-LogLevel <> Client Options - Logging: The log level type. Possible values: Extended, Standard, Verbose
-Lang <> Client Options - Advanced - Language: The Chosen Language Possible values: Default, English, German, Japanese, French, Spanish, Italian, Portuguese, ChineseSimplified, ChineseTraditional, Korean, Dutch
-Mode <> Redirection: The Connection mode Possible values: GatewayMode, GatewaySSLMode, DirectMode, DirectSSLMode
-InputObject <> The client policy object to modify.