Hyper-V Enhanced Mode Hardware mapping under Win 10

Jabiru

Member
Local time
5:44 AM
Posts
12
Location
Maryland USA
I'm having some issues with running Hyper-V in Enhanced mode. I have successfully set up a Gen 2 VM under Win 10 21H1 (Build 19043.1110) and have successfully installed and can run Win 11 21H2 (Build 22000.100) in that VM. I can run the VM in either Basic or Enhanced mode, but when I first spawn the VM in Enhanced mode I don't get the popup asking me what resources I want to select. In the Enhanced VM the only "resource" I get from the host is "Remote Audio" I don't see any other hardware resources from the host such as USB drives etc. I've checked all the Host Hyper V settings and have "Enhanced session mode policy" enabled on the server and "Enhanced session mode" enabled for the user. I also have all the boxes checked for the guest integration services to include guest services. A check of the device manager in the host shows a plethora of hardware available including dual monitors, bluetooth, DVD drive, Printer, Sound and video controllers, and numerouse USB devices (controllers, hubs etc). None of these are found in the device manager of the guest VM. From the documentation it sounds like many of these hardware devices are mapped into the host from the VM in the initial popup when connecting to the enhanced VM, but that never pops up to select them so I'm guessing that's why they aren't showing up in the Guest VM.

Anyone have any ideas of how to fix this?
 
Windows Build/Version
Win 10 21H1 Build 19043.1110

My Computer

System One

  • Operating System
    Windows 10 Pro X64, (Windows 11 running under Hyper-V and VMWare Workstation Player 16)
    Computer type
    PC/Desktop
    Manufacturer/Model
    User Build
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    ASUS Prime X570-P
    Memory
    2X CMK32GX4M2B3200C16 16GB 1066.7 MHz (DDR4-2133 / PC4-17000) (32GB)
    Graphics Card(s)
    AMD Radeon WX2100 Workstation
    Sound Card
    Integrated Realtek S1200A 8-Channel High Definition Audio CODEC
    Monitor(s) Displays
    2X Samsung S24D360
    Screen Resolution
    1920x1080
    Hard Drives
    3X WD Blue 500GB NVMe
    PSU
    Corsair CX550M
    Case
    Corsair 110R
    Cooling
    Corsair iCUE H115i RGB PRO XT Liquid CPU Cooler
    Keyboard
    Logitech S510 KB/Mouse Combo
    Mouse
    Logitech S510 KB/Mouse Combo
    Internet Speed
    800Mb
    Browser
    Firefox, Edge, Edge Chromium
    Antivirus
    MalwareBytes, MS Defender

Bree

Well-known member
Power User
VIP
Local time
10:44 AM
Posts
846
From the documentation it sounds like many of these hardware devices are mapped into the host from the VM in the initial popup when connecting to the enhanced VM, but that never pops up to select them so I'm guessing that's why they aren't showing up in the Guest VM.

Anyone have any ideas of how to fix this?
You are correct, the options are in the initial popup, hidden several layers down in More options > Local Resources > More > Drives.

Hyper-V enhanced session - local resources.PNG


Once you have connected with an Enhanced Session I have found no reliable way to get that initial popup to reappear, though it has done so (more by luck than judgment) on some of my VMs. Perhaps @Kari knows a reliable way to get it to reappear?

Meanwhile, there are alternative ways to transfer files that don't need an enhanced session.
 

My Computers

System One System Two

  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. Now 11 has been released it has been re-imaged back to 10 and awaits the upgrade to be offered in Windows Update.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

johnlgalt

Antidisestablishmentarianistentarianist
Power User
VIP
Local time
5:44 AM
Posts
1,873
Location
3rd Rock
I think you can simply remove the Enhanced session support from the VM properties with the VM shut down, then power cycle the VM (this may not be actually necessary) and add it back and you will get the popup again as Bree shows in the screenshot.

Not so sure if just simply disabling Enhanced session while the VM is running and then enabling it again will work or not.

I'll try to see if I can force it to show without having to go through so many steps.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * Corsair Vengeance 32 GB 3600 MHz
    Graphics Card(s)
    eVGA GeForce GTX 970 SSC ACX 2.0 (04G-P4-3979-KB)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2 * Lenovo LT2323pwA Widescreeen
    Screen Resolution
    2* 1920*1080
    Hard Drives
    3x Sabrent Rocket PCIe Gen4 NVMe M.2 1 TB SSD (SB-ROCKET-NVMe4-1TB)
    SanDisk Ultra SDSSDHII-960G-G25 960 GB SATA III SSD
    Crucial MX100 CT256MX100SSD1 256GB SATA III SSD
    2 * Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM --> RAID1
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
  • Operating System
    Windows 10 x64 Pro build 21H1
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryvill 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master (shared) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex
    Browser
    Edge Chromium | Chrome | Firefox Nightly | Brave
    Antivirus
    Defender + MB4

Bree

Well-known member
Power User
VIP
Local time
10:44 AM
Posts
846
I think you can simply remove the Enhanced session support from the VM properties with the VM shut down, then power cycle the VM (this may not be actually necessary) and add it back and you will get the popup again as Bree shows in the screenshot.
No, well not a reliable fix. I tried that first to generate a screenshot - and failed. Fortunately I still had another VM where it still did pop up. As I said, once you have set up the enhanced session I know of no reliable way to go back to that popup.
 

My Computers

System One System Two

  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. Now 11 has been released it has been re-imaged back to 10 and awaits the upgrade to be offered in Windows Update.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

johnlgalt

Antidisestablishmentarianistentarianist
Power User
VIP
Local time
5:44 AM
Posts
1,873
Location
3rd Rock
I'm installing in a VM now - I have a small bit of time before I have to leave. I know there is a way I could reliably get that setting to show again.

Post back with results.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * Corsair Vengeance 32 GB 3600 MHz
    Graphics Card(s)
    eVGA GeForce GTX 970 SSC ACX 2.0 (04G-P4-3979-KB)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2 * Lenovo LT2323pwA Widescreeen
    Screen Resolution
    2* 1920*1080
    Hard Drives
    3x Sabrent Rocket PCIe Gen4 NVMe M.2 1 TB SSD (SB-ROCKET-NVMe4-1TB)
    SanDisk Ultra SDSSDHII-960G-G25 960 GB SATA III SSD
    Crucial MX100 CT256MX100SSD1 256GB SATA III SSD
    2 * Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM --> RAID1
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
  • Operating System
    Windows 10 x64 Pro build 21H1
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryvill 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master (shared) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex
    Browser
    Edge Chromium | Chrome | Firefox Nightly | Brave
    Antivirus
    Defender + MB4

cereberus

Well-known member
Power User
VIP
Local time
10:44 AM
Posts
373
I have the hidden folder that stores the config files pinned to the shortcuts, and I just delete the relevant config, then next time you run it, it pops up. Also, enhanced mode doesn't coexist well with Windows Hello.
 

My Computer

System One

  • Operating System
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

Kari

PhD in Malt Based Liquids
Power User
VIP
Local time
11:44 AM
Posts
569
Location
Expat from Finland in Leipzig Germany
1.) If the Enhanced Mode settings are not saved:

To get the Enhanced Mode (Remote Desktop) dialog shown again, simply close the VMConnect (virtual machine) window, and reopen it. The dialog will be shown.

In screenshot the "correct" way, but at least in my W11 build 22000.100, when in Enhanced Mode, to change settings / re-open Enhanced Mode dialog will not work. Closing and reopening VMConnect window is an easy workaround:

2021-07-30_21h58_06.png

2.) If the Enhanced Mode settings are saved:

You can save the Enhanced Mode settings:

2021-07-30_21h52_06.png

If saved, Hyper-V creates a configuration file in %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Hyper-V\Client\1.0 folder. Unfortunately, these config files are labelled vmconnect.rdp.%virtual machine hexadecimal ID%.config, so if you have saved settings for multiple virtual machines, it requires a bit detective work to find out which config file belongs to which VM:

2021-07-30_21h54_57.png


The config files can be opened and edited in Notepad. Here's a typical one:

XML:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <Microsoft.Virtualization.Client.RdpOptions>
        <setting name="AudioCaptureRedirectionMode" type="System.Boolean">
            <value>False</value>
        </setting>
        <setting name="EnablePrinterRedirection" type="System.Boolean">
            <value>True</value>
        </setting>
        <setting name="FullScreen" type="System.Boolean">
            <value>False</value>
        </setting>
        <setting name="SmartCardsRedirection" type="System.Boolean">
            <value>True</value>
        </setting>
        <setting name="RedirectedPnpDevices" type="System.String">
            <value />
        </setting>
        <setting name="ClipboardRedirection" type="System.Boolean">
            <value>True</value>
        </setting>
        <setting name="DesktopSize" type="System.Drawing.Size">
            <value>1366, 768</value>
        </setting>
        <setting name="VmServerName" type="System.String">
            <value>AGM-W11PRO5</value>
        </setting>
        <setting name="RedirectedUsbDevices" type="System.String">
            <value />
        </setting>
        <setting name="SavedConfigExists" type="System.Boolean">
            <value>True</value>
        </setting>
        <setting name="UseAllMonitors" type="System.Boolean">
            <value>False</value>
        </setting>
        <setting name="AudioPlaybackRedirectionMode" type="Microsoft.Virtualization.Client.RdpOptions+AudioPlaybackRedirectionType">
            <value>AUDIO_MODE_REDIRECT</value>
        </setting>
        <setting name="PrinterRedirection" type="System.Boolean">
            <value>True</value>
        </setting>
        <setting name="RedirectedDrives" type="System.String">
            <value />
        </setting>
        <setting name="VmName" type="System.String">
            <value>Windows 11 PRO x64 (activated)</value>
        </setting>
        <setting name="SaveButtonChecked" type="System.Boolean">
            <value>True</value>
        </setting>
    </Microsoft.Virtualization.Client.RdpOptions>
</configuration>

Simply closing the VMConnect window, and deleting respective config file, will show the dialog next time VM is opened (and started) in VMConnect window.

Kari
 

My Computers

System One System Two

  • Operating System
    Windows 11 PRO x64 Dev
    Manufacturer/Model
    Hyper-V Virtual Machine (host in System 2 specs)
    CPU
    Intel Core i7-8550U
    Memory
    6 GB
    Graphics Card(s)
    Microsoft Hyper-V Video
    Monitor(s) Displays
    Laptop display (17.1") & Samsung U28E590 (27.7")
  • Operating System
    Windows 11 PRO x64 Dev Channel
    Computer type
    Laptop
    Manufacturer/Model
    HP HP ProBook 470 G5
    CPU
    Intel Core i7-8550U
    Motherboard
    HP 837F KBC Version 02.3D.00
    Memory
    16 GB
    Graphics card(s)
    Intel(R) UHD Graphics 620 & NVIDIA GeForce 930MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    Laptop display (17.1") & Samsung U28E590 (27.7")
    Hard Drives
    128 GB SSD & 1 TB HDD
    Mouse
    Wireless Logitech MSX mouse
    Keyboard
    Wireless Logitech MK710 keyboard
    Internet Speed
    100 Mbps down, 20 Mbps up
    Browser
    Edge Chromium Dev Channel
    Antivirus
    Windows Defender
    Other Info
    2 * 3 TB USB HDD
    6 TB WD Mirror NAS

Jabiru

Member
Local time
5:44 AM
Posts
12
Location
Maryland USA
Thanks all, Cereberus' and Kari's suggestion worked like a charm. Fortunately I had only one VM, so finding the correct config file was easy.
 

My Computer

System One

  • Operating System
    Windows 10 Pro X64, (Windows 11 running under Hyper-V and VMWare Workstation Player 16)
    Computer type
    PC/Desktop
    Manufacturer/Model
    User Build
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    ASUS Prime X570-P
    Memory
    2X CMK32GX4M2B3200C16 16GB 1066.7 MHz (DDR4-2133 / PC4-17000) (32GB)
    Graphics Card(s)
    AMD Radeon WX2100 Workstation
    Sound Card
    Integrated Realtek S1200A 8-Channel High Definition Audio CODEC
    Monitor(s) Displays
    2X Samsung S24D360
    Screen Resolution
    1920x1080
    Hard Drives
    3X WD Blue 500GB NVMe
    PSU
    Corsair CX550M
    Case
    Corsair 110R
    Cooling
    Corsair iCUE H115i RGB PRO XT Liquid CPU Cooler
    Keyboard
    Logitech S510 KB/Mouse Combo
    Mouse
    Logitech S510 KB/Mouse Combo
    Internet Speed
    800Mb
    Browser
    Firefox, Edge, Edge Chromium
    Antivirus
    MalwareBytes, MS Defender

cereberus

Well-known member
Power User
VIP
Local time
10:44 AM
Posts
373
Thanks all, Cereberus' and Kari's suggestion worked like a charm. Fortunately I had only one VM, so finding the correct config file was easy.
If you pin the config folder to quick access, you can still see files even though the actual folder is normally hidden. Re. name, look at @Kari's post, and look for this string in the cfg file

<setting name="VmName" type="System.String">
<value>Windows 11 PRO x64 (activated)</value>
 

My Computer

System One

  • Operating System
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

GaryW

Active member
Local time
5:44 AM
Posts
36
Location
Central Florida
I enter the following into cmd (admin) to bring up the settings box. I learned the trick from someone on the W10 sister forum, but don't remember who.


vmconnect localhost "Name of VM here" /edit
 

My Computers

System One System Two

  • Operating System
    Windows 11 Insider Preview (VM on Hyper-V), Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home brew
    CPU
    i5-8500
    Motherboard
    Gigabyte B360M DS3H
    Memory
    32 GB
    Graphics Card(s)
    System
    Sound Card
    System
    Monitor(s) Displays
    Asus 27" on KVM switch
    Screen Resolution
    1920x1080
    Hard Drives
    Kingston 120 GB SSD system dr., 1TB Gigabyte M.2 MVNe data and 1 TB M.2 PCie @ 20 Gb/s virtual drive storage, 2 TB WD HDD
    PSU
    Thermatake 500w
    Case
    Mid Tower
    Cooling
    fans
    Keyboard
    Logitech on KVM
    Mouse
    Logitech on KVM
    Internet Speed
    30 - 40 down, 4 up
    Browser
    Usually Chrome, Edge On insider Preview
    Antivirus
    Defender
    Other Info
    3'rd system is a Kodlux mini that is 11 capable, running W10 pro.
  • Operating System
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel i5-7600
    Motherboard
    Asus H270-Plus
    Memory
    16 GB
    Graphics card(s)
    System
    Sound Card
    System
    Monitor(s) Displays
    Asus 27 inch on KVM
    Screen Resolution
    1920 x 1080
    Hard Drives
    SPCC 120 GB SSD, 1TB and 2TB WD Sata III
    PSU
    Thermaltech 500w
    Case
    Mid Tower
    Cooling
    fans
    Mouse
    Logitech on KVM
    Keyboard
    Logitech on KVM
    Internet Speed
    30 - 40 down, 4 up
    Browser
    Usually Chrome, occasionally Edge
    Antivirus
    Windows
    Other Info
    Also have 2 seldom used laptops: HP Pavilion 11M-AD113DX Laptop (W11 Capable), W10 Home, Dell Inspiron 13-5368 Laptop, W10 Home + Apple mini, circa 2012
Top Bottom