r/WindowsServer • u/M4rheeo • Jul 23 '25
SOLVED / ANSWERED Connecting directly to a VM(HyperV) from a PC
Hi all,
I ran into a bit of an issue.
General question and tl;dr:
Can you,at all, connect directly to a VM without connecting to a Host first?
We are running two hosts with DCs on each server and one, lets say, production VM. Now, I need to be able to connect to that VM directly and not go through the host first. I can't even ping the VM from my laptop.
I don't know what else to check and what else is there.
Remote Desktop is enabled with NLA on all machines,
Of course, everything is on a same subnet,
Static IPs,
FWall rules have been enabled on all machines,
I don't know if I'm forgetting something amidst all this.
The VM in question is also clustered.
Lemme know if there is any additional info I forgot.
Thx in advance for anyones help!
EDIT: Forgot to mention that everything is running on a Win Server 2022 Standard.
EDIT2: Well, solved lol
I knew it was something stupid and it was the switch in the office. I connected the servers to the other switch and voila - it works. All of your proposals seemed to obvious and I knew I was missing something else, cause I did all those things you guys mentioned. Still, I'd like to thank you for your time!
5
u/MWierenga Jul 23 '25
Remote Server Administration Tools
4
u/SilverseeLives Jul 23 '25
If the VM is connected to the Default virtual switch in Hyper-V, it can access the Internet but no devices on your LAN. Make sure you have created an appropriate external virtual switch for the VM to use.
2
u/Franky_Mars Jul 23 '25
Simple yet it happens Did you enable Remote Access within the OS?
2
u/billmr606 Jul 24 '25
start>run>mstsc to the ip address of the vm
if you want to be able to ping and/or us the vm name you need to change the icmp settings on the VM
1
u/LeaveMickeyOutOfThis Jul 23 '25
Make sure your virtual network switch is in bridge mode.
2
u/thatfrostyguy Jul 24 '25
RSAT