Thanks again for your help. I finally found the solution.
Create a local user account (non-Microsoft) on the virtual machine which allows RDP. Start the machine using Hyper-V, and then use RDP to connect to it.
Nick
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a Dell XPS13 laptop running Windows 11 Pro Version 25H2 Build 26200.8039.
I have used Hyper-V to create a virtual machine with a separate Windows licence.
The problem I have is that I cannot get the sound to play through the virtual machine.
I know how to get to the Connect Options screen, but when I set the Sound options on this screen and click Connect it starts up what appears to be a second virtual machine with no logon options.
When I click the Power option to shut it down it tells me someone else is logged on the machine. I close it anyway.
If I try using RDP it prompts me for my MS account password. I have just reset it and saved, but when I enter it tells me it is the wrong one.
Does anyone have any suggestions as to how I can resolve this sound problem
TIA
Nick
Answer recommended by moderator
Thanks again for your help. I finally found the solution.
Create a local user account (non-Microsoft) on the virtual machine which allows RDP. Start the machine using Hyper-V, and then use RDP to connect to it.
Nick
Hi Nick,
You can try this:
Press Ctrl + Alt + End and select "Log out" to completely log out of the VM. Then reconnect using Elevated Session Mode.
If the login prompt still doesn't appear, try completely restarting the VM and reconnecting directly using Elevated Session Mode (don't connect in basic mode first).
Also, make sure:
Hi Nick,
By default, virtual machines do not have direct access to the host’s audio hardware. To get sound working, you need to use Enhanced Session Mode (which uses RDP in the background).
First, make sure Enhanced Session Mode is enabled on the host: Open Hyper-V Manager -> Go to Hyper-V Settings -> Enable both: Enhanced Session Mode Policy and Enhanced Session Mode
Then start the VM again. When connecting, you should see an option to configure local resources (including audio).
If the option appears, select: "Play on this computer"
Important point about your issue:
Regarding the password problem:
If Enhanced Session Mode does not work, you can use Remote Desktop (RDP) as an alternative. First, make sure Remote Desktop is enabled inside the virtual machine. Then, on your host (physical computer), press Windows + R and run: mstsc. Enter the name or IP address of the virtual machine and connect to it. Before connecting, open “Show Options” -> “Local Resources” and set audio to: "Play on this computer". This will redirect the sound from the virtual machine to your host device.
Summary:
If this was helpful, please click "Accept Answer". If you have any further questions, you can leave a comment. I hope this helps and wish you success in resolving your issue.
Have a great day!
TV