Remote Desktop Services Default Connection



If you look after multiple servers, keeping track of remote connections gets challenging as the number of your managed servers grows. Using a remote desktop connection manager can help you take back control of your remote desktops. In this article, you will learn about five remote desktop connection managers to consider using. Apr 24, 2012 Warning while accessing RemoteApp and Desktop Connection via GPO on VDI collection. 'The installation of the default connection has been cancelled. A default connection cannot be used on a system that is part of a Remote Desktop Services deployment.' Did you guys get any workaround or fix for this know issue. See full list on docs.microsoft.com.

  1. Remote Desktop Services Default Connection Mac
  2. Remote Desktop Services Default Connection Password
Remote desktop services default connection-->

If you can't connect to a Windows virtual machine (VM), you can reset your local administrator password or reset the Remote Desktop Services configuration (not supported on Windows domain controllers). To reset the password, use either the Azure portal or the VM Access extension in Azure PowerShell. After you've signed in to the VM, reset the password for that local administrator.
If you're using PowerShell, make sure that you have the latest PowerShell module installed and configured and are signed in to your Azure subscription. You can also perform these steps for VMs created with the classic deployment model.

You can reset Remote Desktop Services and credentials in the following ways:

Reset by using the Azure portal

First, sign in to the Azure portal and then select Virtual machines on the left menu.

Reset the local administrator account password

  1. Select your Windows VM and then select Reset password under Support + Troubleshooting. The Reset password window is displayed.

  2. Select Reset password, enter a username and a password, and then select Update.

  3. Try connecting to your VM again. Opera gx adguard.

Desktop

Reset the Remote Desktop Services configuration

This process will enable Remote Desktop service in the VM, and create a firewall rule for the default RDP port 3389.

Default
  1. Select your Windows VM and then select Reset password under Support + Troubleshooting. The Reset password window is displayed.

  2. Select Reset configuration only and then select Update.

  3. Adobe acrobat pro for mac os catalina. Try connecting to your VM again.

Reset by using the VMAccess extension and PowerShell

First, make sure that you have the latest PowerShell module installed and configured and are signed in to your Azure subscription by using the Connect-AzAccount cmdlet.

Reset the local administrator account password

  • Reset the administrator password or user name with the Set-AzVMAccessExtension PowerShell cmdlet. The typeHandlerVersion setting must be 2.0 or greater, because version 1 is deprecated.

    Note

    If you enter a different name than the current local administrator account on your VM, the VMAccess extension will add a local administrator account with that name, and assign your specified password to that account. If the local administrator account on your VM exists, the VMAccess extension will reset the password. If the account is disabled, the VMAccess extension will enable it.

Reset the Remote Desktop Services configuration

  1. Reset remote access to your VM with the Set-AzVMAccessExtension PowerShell cmdlet. The following example resets the access extension named myVMAccess on the VM named myVM in the myResourceGroup resource group:

    Tip

    At any point, a VM can have only a single VM access agent. To set the VM access agent properties, use the -ForceRerun option. When you use -ForceRerun, ensure you use the same name for the VM access agent that you might have used in any previous commands.

  2. If you still can't connect remotely to your virtual machine, see Troubleshoot Remote Desktop connections to a Windows-based Azure virtual machine. If you lose the connection to the Windows domain controller, you will need to restore it from a domain controller backup.

Next steps

  • If the Azure VM access extension fails to install you can troubleshoot VM extension issues.

  • If you're unable to reset the password using the VM access extension then you can reset the local Windows password offline. This method is more advanced and requires you to connect the virtual hard disk of the problematic VM to another VM. Follow the steps documented in this article first, and attempt the offline password reset method only if those steps don't work.

  • Learn about Azure VM extensions and features.

  • Connect to an Azure virtual machine with RDP or SSH.

  • Troubleshoot Remote Desktop connections to a Windows-based Azure virtual machine.

-->

The following table includes the list of supported RDP file settings that you can use with the Remote Desktop clients. When configuring settings, check Client comparisons to see which redirections each client supports.

The table also highlights which settings are supported as custom properties with Windows Virtual Desktop. You can refer to this documentation detailing how to use PowerShell to customize RDP properties for Windows Virtual Desktop host pools.

Connection information

RDP settingDescriptionValuesDefault valueWindows Virtual Desktop support
full address:s:valuePC Name:
This setting specifies the name or IP address of the remote computer that you want to connect to.
This is the only required setting in an RDP file.
A valid name, IPv4 address, or IPv6 address.No
alternate full address:s:valueSpecifies an alternate name or IP address of the remote computer.A valid name, IPv4 address, or IPv6 address.No
username:s:valueSpecifies the name of the user account that will be used to sign in to the remote computer.Any valid username.No
domain:s:valueSpecifies the name of the domain in which the user account that will be used to sign in to the remote computer is located.A valid domain name, such as 'CONTOSO'.No
gatewayhostname:s:valueSpecifies the RD Gateway host name.A valid name, IPv4 address, or IPv6 address.No
gatewaycredentialssource:i:valueSpecifies the RD Gateway authentication method.- 0: Ask for password (NTLM)
- 1: Use smart card
- 2: Use the credentials for the currently logged on user.
- 3: Prompt the user for their credentials and use basic authentication
- 4: Allow user to select later
- 5: Use cookie-based authentication
0No
gatewayprofileusagemethod:i:valueSpecifies whether to use default RD Gateway settings.- 0: Use the default profile mode, as specified by the administrator
- 1: Use explicit settings, as specified by the user
0No
gatewayusagemethod:i:valueSpecifies when to use an RD Gateway for the connection.- 0: Don't use an RD Gateway
- 1: Always use an RD Gateway
- 2: Use an RD Gateway if a direct connection cannot be made to the RD Session Host
- 3: Use the default RD Gateway settings
- 4: Don't use an RD Gateway, bypass gateway for local addresses
Setting this property value to 0 or 4 are effectively equivalent, but setting this property to 4 enables the option to bypass local addresses.
0No
promptcredentialonce:i:valueDetermines whether a user's credentials are saved and used for both the RD Gateway and the remote computer.- 0: Remote session will not use the same credentials
- 1: Remote session will use the same credentials
1No
authentication level:i:valueDefines the server authentication level settings.- 0: If server authentication fails, connect to the computer without warning (Connect and don't warn me)
- 1: If server authentication fails, don't establish a connection (Don't connect)
- 2: If server authentication fails, show a warning and allow me to connect or refuse the connection (Warn me)
- 3: No authentication requirement specified.
3No
enablecredsspsupport:i:valueDetermines whether the client will use the Credential Security Support Provider (CredSSP) for authentication if it is available.- 0: RDP will not use CredSSP, even if the operating system supports CredSSP
- 1: RDP will use CredSSP if the operating system supports CredSSP
1Yes
disableconnectionsharing:i:valueDetermines whether the client reconnects to any existing disconnected session or initiate a new connection when a new connection is launched.- 0: Reconnect to any existing session
- 1: Initiate new connection
0No
alternate shell:s:valueSpecifies a program to be started automatically in the remote session as the shell instead of explorer.Valid path to an executable file, such as 'C:ProgramFilesOfficeword.exe'Yes

Remote Desktop Services Default Connection Mac

Session behavior

RDP settingDescriptionValuesDefault valueWindows Virtual Desktop support
autoreconnection enabled:i:valueDetermines whether the client will automatically try to reconnect to the remote computer if the connection is dropped, such as when there's a network connectivity interruption.- 0: Client does not automatically try to reconnect
- 1: Client automatically tries to reconnect
1Yes
bandwidthautodetect:i:valueDetermines whether or not to use automatic network bandwidth detection. Requires bandwidthautodetect to be set to 1.- 0: Disable automatic network type detection
- 1: Enable automatic network type detection
1Yes
networkautodetect:i:valueDetermines whether automatic network type detection is enabled- 0: Don't use automatic network bandwidth detection
- 1: Use automatic network bandwidth detection
1Yes
compression:i:valueDetermines whether bulk compression is enabled when it is transmitted by RDP to the local computer.- 0: Disable RDP bulk compression
- 1: Enable RDP bulk compression
1Yes
videoplaybackmode:i:valueDetermines if the connection will use RDP-efficient multimedia streaming for video playback.- 0: Don't use RDP efficient multimedia streaming for video playback
- 1: Use RDP-efficient multimedia streaming for video playback when possible
1Yes

Device redirection

RDP settingDescriptionValuesDefault valueWindows Virtual Desktop support
audiocapturemode:i:valueMicrophone redirection:
Indicates whether audio input redirection is enabled.
- 0: Disable audio capture from the local device
- 1: Enable audio capture from the local device and redirection to an audio application in the remote session
0Yes
encode redirected video capture:i:valueEnables or disables encoding of redirected video.- 0: Disable encoding of redirected video
- 1: Enable encoding of redirected video
1Yes
redirected video capture encoding quality:i:valueControls the quality of encoded video.- 0: High compression video. Quality may suffer when there is a lot of motion.
- 1: Medium compression.
- 2: Low compression video with high picture quality.
0Yes
audiomode:i:valueAudio output location:
Determines whether the local or remote machine plays audio.
- 0: Play sounds on the local computer (Play on this computer)
- 1: Play sounds on the remote computer (Play on remote computer)
- 2: Do not play sounds (Do not play)
0Yes
camerastoredirect:s:valueCamera redirection:
Configures which cameras to redirect. This setting uses a semicolon-delimited list of KSCATEGORY_VIDEO_CAMERA interfaces of cameras enabled for redirection.
- * : Redirect all cameras
- List of cameras, such as camerastoredirect:s:?usb#vid_0bda&pid_58b0&mi
- One can exclude a specific camera by prepending the symbolic link string with '-'
Don't redirect any camerasYes
devicestoredirect:s:valuePlug and play device redirection:
Determines which devices on the local computer will be redirected and available in the remote session.
- *: Redirect all supported devices, including ones that are connected later
- Valid hardware ID for one or more devices
- DynamicDevices: Redirect all supported devices that are connected later
Don't redirect any devicesYes
drivestoredirect:s:valueDrive/storage redirection:
Determines which disk drives on the local computer will be redirected and available in the remote session.
- No value specified: don't redirect any drives
- * : Redirect all disk drives, including drives that are connected later
- DynamicDrives: redirect any drives that are connected later
- The drive and labels for one or more drives, such as 'drivestoredirect:s:C:;E:;': redirect the specified drive(s)
Don't redirect any drivesYes
keyboardhook:i:valueDetermines when Windows key combinations (WIN key, ALT+TAB) are applied to the remote session for desktop connections.- 0: Windows key combinations are applied on the local computer
- 1: Windows key combinations are applied on the remote computer when in focus
- 2: Windows key combinations are applied on the remote computer in full screen mode only
2Yes
redirectclipboard:i:valueClipboard redirection:
Determines whether clipboard redirection is enabled.
- 0: Clipboard on local computer isn't available in remote session
- 1: Clipboard on local computer is available in remote session
1Yes
redirectcomports:i:valueCOM ports redirection:
Determines whether COM (serial) ports on the local computer will be redirected and available in the remote session.
- 0: COM ports on the local computer are not available in the remote session
- 1: COM ports on the local computer are available in the remote session
0Yes
redirectprinters:i:valuePrinter redirection:
Determines whether printers configured on the local computer will be redirected and available in the remote session
- 0: The printers on the local computer are not available in the remote session
- 1: The printers on the local computer are available in the remote session
1Yes
redirectsmartcards:i:valueSmart card redirection:
Determines whether smart card devices on the local computer will be redirected and available in the remote session.
- 0: The smart card device on the local computer is not available in the remote session
- 1: The smart card device on the local computer is available in the remote session
1Yes
usbdevicestoredirect:s:valueUSB redirection- *: Redirect all USB devices that are not already redirected by another high-level redirection
- {Device Setup Class GUID}: Redirect all devices that are members of the specified device setup class
- USBInstanceID: Redirect a specific USB device identified by the instance ID
Don't redirect any USB devicesYes

Display settings

RDP settingDescriptionValuesDefault valueWindows Virtual Desktop support
use multimon:i:valueDetermines whether the remote session will use one or multiple displays from the local computer.- 0: Don't enable multiple display support
- 1: Enable multiple display support
1Yes
selectedmonitors:s:valueSpecifies which local displays to use from the remote session. The selected displays must be contiguous. Requires use multimon to be set to 1.
Only available on the Windows Inbox (MSTSC) and Windows Desktop (MSRDC) clients.
Comma separated list of machine-specific display IDs. IDs can be retrieved by calling mstsc.exe /l. The first ID listed will be set as the primary display in the session.All displaysYes
maximizetocurrentdisplays:i:valueDetermines which display the remote session goes full screen on when maximizing. Requires use multimon to be set to 1.
Only available on the Windows Desktop (MSRDC) client.
- 0: Session goes full screen on the displays initially selected when maximizing
- 1: Session dynamically goes full screen on the displays touched by the session window when maximizing
0Yes
singlemoninwindowedmode:i:valueDetermines whether a multi display remote session automatically switches to single display when exiting full screen. Requires use multimon to be set to 1.
Only available on the Windows Desktop (MSRDC) client.
- 0: Session retains all displays when exiting full screen
- 1: Session switches to single display when exiting full screen
0Yes
screen mode id:i:valueDetermines whether the remote session window appears full screen when you launch the connection.- 1: The remote session will appear in a window
- 2: The remote session will appear full screen
2Yes
smart sizing:i:valueDetermines whether or not the local computer scales the content of the remote session to fit the window size.- 0: The local window content won't scale when resized
- 1: The local window content will scale when resized
0Yes
dynamic resolution:i:valueDetermines whether the resolution of the remote session is automatically updated when the local window is resized.- 0: Session resolution remains static for the duration of the session
- 1: Session resolution updates as the local window resizes
1Yes
desktop size id:i:valueSpecifies the dimensions of the remote session desktop from a set of pre-defined options. This setting is overridden if desktopheight and desktopwidth are specified.-0: 640×480
- 1: 800×600
- 2: 1024×768
- 3: 1280×1024
- 4: 1600×1200
1Yes
desktopheight:i:valueSpecifies the resolution height (in pixels) of the remote session.Numerical value between 200 and 8192Match the local computerYes
desktopwidth:i:valueSpecifies the resolution width (in pixels) of the remote session.Numerical value between 200 and 8192Match the local computerYes
desktopscalefactor:i:valueSpecifies the scale factor of the remote session to make the content appear larger.Numerical value from the following list: 100, 125, 150, 175, 200, 250, 300, 400, 500100Yes

RemoteApp

Remote Desktop Services Default Connection Password

RDP settingDescriptionValuesDefault valueWindows Virtual Desktop support
remoteapplicationcmdline:s:valueOptional command-line parameters for the RemoteApp.Valid command-line parameters.No
remoteapplicationexpandcmdline:i:valueDetermines whether environment variables contained in the RemoteApp command-line parameter should be expanded locally or remotely.- 0: Environment variables should be expanded to the values of the local computer
- 1: Environment variables should be expanded to the values of the remote computer
1No
remoteapplicationexpandworkingdir:i:valueDetermines whether environment variables contained in the RemoteApp working directory parameter should be expanded locally or remotely.- 0: Environment variables should be expanded to the values of the local computer
- 1: Environment variables should be expanded to the values of the remote computer.
The RemoteApp working directory is specified through the shell working directory parameter.
1No
remoteapplicationfile:s:valueSpecifies a file to be opened on the remote computer by the RemoteApp.
For local files to be opened, you must also enable drive redirection for the source drive.
Valid file path.No
remoteapplicationicon:s:valueSpecifies the icon file to be displayed in the client UI while launching a RemoteApp. If no file name is specified, the client will use the standard Remote Desktop icon. Only '.ico' files are supported.Valid file path.No
remoteapplicationmode:i:valueDetermines whether a connection is launched as a RemoteApp session.- 0: Don't launch a RemoteApp session
- 1: Launch a RemoteApp session
1No
remoteapplicationname:s:valueSpecifies the name of the RemoteApp in the client interface while starting the RemoteApp.App display name. For example, 'Excel 2016.'No
remoteapplicationprogram:s:valueSpecifies the alias or executable name of the RemoteApp.Valid alias or name. For example, 'EXCEL.'No