Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When you use Enhanced Session Mode in the Virtual Machine Connection (VMConnect) tool, you can connect to Hyper-V virtual machines (VMs) by using Remote Desktop Protocol (RDP). Not only does this capability improve your general VM viewing experience, using RDP also provides a way for the VM and your computer to share devices. This functionality is only available for Windows VMs.
Using RDP in Enhanced Session Mode offers many benefits:
- Makes VMs resizable and high-DPI aware
- Improves VM integration:
- Shared clipboard
- File sharing via dragging or copying and pasting
- Makes device sharing possible:
- Microphone and speakers
- USB devices
- Data disks, including drive C
- Printers
Because RDP is turned on by default in Windows, you probably already use RDP to connect to your Windows VMs. This article highlights some of the benefits and hidden options in the connection settings dialog. It shows you how to see your session type, enter Enhanced Session Mode, and configure your session settings.
Check the session type
You can check your connection type by using the Enhanced Session Mode icon on the VMConnect toolbar. You can also use this button to switch between Basic Session Mode and Enhanced Session Mode.
Configure a VM for Remote Desktop
Enhanced Session Mode requires Remote Desktop to be turned on in the VM. In the Settings app or Start menu, search for Remote Desktop settings. Turn on the Enable Remote Desktop toggle.
Windows 10 (version 2004 and later) and Windows 11 require an extra setting. If the VMConnect window background doesn't display a sign-in prompt, disable Windows Hello sign-in:
Sign in to the VM in basic session mode.
Go to Settings > Accounts > Sign-in options.
Turn off For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device.
Windows 11 Windows 10
Sign out of the VM or reboot it before you close the VMConnect window.
To verify, check that the VMConnect window displays an Enhanced Session Mode sign-in prompt after reconnecting.
Share drives and devices
You can find the device sharing capabilities of Enhanced Session Mode in the connection dialog that opens when you connect to a VM:
By default, Enhanced Session Mode provides VMs with access to the following resources:
- Clipboard
- Printers
- Audio playback (to host speakers)
To share devices with your VM or to change the default settings:
In VMConnect, select the virtual machine that you want to connect to.
Select Show Options.
Select Local Resources, and then adjust the settings.
To verify, check that elected resources are available after connecting to the VM.
Share storage and USB devices
Enhanced Session Mode also supports sharing additional device types, such as:
| Device type | Examples |
|---|---|
| Storage | Local drives (including C:), removable drives |
| USB devices | Flash drives, external storage |
| Security devices | Smart cards, Windows Hello companion devices |
To share these devices with a VM:
Under Local devices and resources, select More.
Select the devices that you want to share with the VM. The system drive, which is drive C on Windows, is especially helpful for file sharing.
To verify, check that shared drives appear under This PC in File Explorer within the VM.
Share audio devices (speakers and microphones)
By default, VMs transfer audio to the host machine using the currently selected audio device. You can configure the following audio settings:
| Setting | Options |
|---|---|
| Remote audio playback | Play on this computer, Play on remote computer, Do not play |
| Remote audio recording | Record from this computer (microphone pass-through), Do not record |
To change audio settings:
Select Settings to configure remote audio settings.
Configure audio and microphone settings.
For local VMs, Play on this computer and Play on remote computer produce the same result.
To verify, check that audio plays through the configured device, and microphone input is detected if recording is enabled.
Reopen the connection settings
If you don't see the connection dialog or the Show Options button, try opening VMConnect independently from either the Windows menu or the command line as an administrator.
vmconnect.exe
VMConnect opens and displays the connection dialog with Show Options available.