How to enable enhanced session mode in Hyper-V Virtual Machine (VM) Turn Off your virtual machine and run the command on the physical Hyper-V host: Set-VM -VMName "Your VM Name" -EnhancedSessionTransportType HvSocket Start the virtual machine.