Questions tagged [hyper-v]
Type-1 hypervisor developed by Microsoft. Included in Windows Server 2008 R2 and later, as well as Pro editions of Windows since Windows 8.
1,399
questions
0
votes
0
answers
15
views
will Windows Server datacenter(or pro) 2019+ activate a server 2016 hyper-v vm
I have access to azure for education being that I both work for and attend a college that is enrolled in that program, so getting new versions of server are but a few clicks and some download time.
I ...
0
votes
1
answer
19
views
Disk2vhd.exe not showing a connected disk
I have a weird problem on Disk2vhd.exe, while the disk is connected via a SATA cable for sure (That I can boot it without touching the computer lid proves it) and also the disk is recognized in Disk ...
1
vote
1
answer
20
views
Hyper-V Default Switch DHCP long lease time
I need to create VMs (on Windows 10 and 11) that can talk to each other, and to the public internet. The machines on which I need to do this may have Docker Desktop for Windows and WSL2 installed. ...
0
votes
0
answers
7
views
In Server 2022 Hyper-V, how to fix partition alignment inside VM after Veeam restore? [migrated]
Recently I converted a bare-metal Server 2022 machine to a Hyper-V guest VM. I used Veeam Windows Agent 6.0 (Free) to back up the bare metal machine and restore it as a virtual machine. I created two ...
0
votes
1
answer
40
views
Hyper-V Switch separate WIFI NIC Kali Linux
Situation:
I have a Hyper-V external switch connected to my Wi-Fi network adapter. I have also opted to NOT allow network adapter sharing in the switch manager for the Wi-Fi network adapter, since I ...
-1
votes
0
answers
53
views
Host machine loses wireless connection when virtual machine is on
I work remotely using a virtual machine on my personal computer since I don't have a company laptop. Initially, the virtual machine was created on VirtualBox and worked fine until a few weeks ago. ...
0
votes
0
answers
40
views
Extremely slow transfer speed through IPsec tunnel between 2 locations
I have 2 location with fibre connection. Location A has ~400M down/up whereas Location B has 1Gbps (up/down) shared pipe between 4 offices (total of 15 computers).
Location A has a Windows 2019 Hyper-...
0
votes
1
answer
143
views
How to utilize all processors in WSL?
I am using HP Z6 G4 workstation. It has two processors each with 20 physical cores in it, but lscpu command on WSL only detects one processor. Due to that, I am not able to fully utilize all the ...
1
vote
1
answer
28
views
I installed Hyper-V in my virtual machine. I restarted my machine for the installation to get completed, and it is not working ever since
It required a restart so I did that and since then my machine has asked for an installation twice and even after doing that, my device shows this:
what should I do to move further with Hyper-V?
This ...
0
votes
0
answers
27
views
Freshly created Hyper-V images (linux and win11) disappeared after first shutdown
I used the Hyper-V Quick create tool, to create a win11 dev image.
(it was offered automatically by the app).
After downloading, it installed automatically,
and the Win11 image automatically opened ...
0
votes
1
answer
42
views
Missing button for disconnect in Hyper-V
Server machine MS Server 2019 Standard, 1 virtual Hyper-V MS Server 2019 Standard edition. In the Hyper-V environment session, I am missing the Disconnect button under the power button to lock and ...
0
votes
0
answers
60
views
Making the resolution of Ubuntu 22.04 changeable in HyperV
I use Hyper-V to host Ubuntu 22.04 and Debian 11 Machines. I need the possibility to change the resolution on the fly via the display menu. Ubuntu Mate gives me this possibility right after ...
1
vote
0
answers
186
views
WSL2 Routing and NAT Rules
I recently installed WSL2 on my Windows 10 PC and I'm trying to understand how traffic is handled to and from WSL2. The below article states that WSL2 is running as a managed Hyper-V VM and uses a NAT ...
1
vote
0
answers
59
views
Multiple disks on different locations in Vagrant
I have a Windows Server on which I want to create 3 virtual machines with Vagrant. Each one should have two disks attached: the primary one - SSD with 50GB of storage space and another one - HDD with ...
0
votes
0
answers
21
views
How to disable Hibernation to be able to re-enable dynamic memory on a Hyper-V Windows 10 box?
I tried the instructions from the question below, but it did not quite work as expected. I wanted to revert but I am now unable to set the VM back to dynamic memory even though I have run powercfg -h ...
1
vote
0
answers
121
views
Error 0x80070005: Access Denied when running "Hyper-V Host Compute Service"
I am using Windows 11 Pro version 22H2 with OS Build 22621.1555
I have a working WSL2 but suddenly after booting up the WSL would not start. So I dig up and checked the Hyper-V services.
Apparently ...
2
votes
1
answer
37
views
How to retrieve inbound/outbound network traffic value from "Measure-VM" command of Hyper-V?
I want to monitor the internet traffic from a Hyper-V Android VM.
By running Measure-VM Android I can retrieve statics from the VM including network traffic
VMName AvgCPU(MHz) AvgRAM(M) MaxRAM(M) ...
0
votes
1
answer
38
views
Can't access the enhanced session menu after setting it for the first time
I am trying to get the "Connect to" prompt in Hyper-V after I have set some shared folders.
Image: Connect to VM prompt.
Current shared folders are mapped with tsclient. The mapping was done ...
0
votes
1
answer
56
views
All available processors to Hyper-V VM
My host has 4 cores and 8 logical processors (hyper-threading).
I'm going to run a single VM in Hyper-V and want it to use all processor power available.
How many virtual processors should I set?
...
0
votes
0
answers
41
views
Choppy YouTube in Windows 11 in Hyper-V on Windows 11
I'm connecting to a Windows 11 Pro VM using Hyper-V Manager on Windows 11 Pro. It seems to use RDP, but my YouTube playback is pretty bad compared to play on the host Windows 11.
The host has i7 ...
0
votes
0
answers
18
views
Hyper-V: Exclude Hypervisor from VM network
I need to run virtual machines on a Windows Server Hypervisor in a different IP network than the hypervisor itself. It is mandatory that the VMs cannot communicate with their hypervisor, but they ...
0
votes
1
answer
556
views
Windows sandbox won't open executables. ("You need to install an app for this task")
I am using the Windows sandbox feature, that comes with Windows Pro and Enterprise systems (Using Hyper-V). It worked for months, but now I always get the same error when I try to run an .exe file. ...
0
votes
0
answers
95
views
Windows Update continuous failing on Server 2019
I have an on-prem Server 2019 Hyper-V VM and ever since January 2023, the "Cumulative" Windows Updates have been failing. It's been about 3 months now and there are about 3 different KB ...
0
votes
0
answers
151
views
Can we run old games in a Hyper-V XP VM?
They're really old games that used to run on XP or earlier systems. And of course, many of them don't work as expected when running on newer systems.
I created a Gen1 XP VM with Hyper-V Manager and ...
0
votes
0
answers
9
views
Hyper-V Virtual Machine not recovering scsi drives after external storage outage
I am using Hyper-V on Windows Server 2022, I created a VM with RHEL7.9 and added 4 scsci drives which live in D:, E:, F: and G:. They show up as sdb, sdc, sde and sdf. Those drives are provisioned ...
0
votes
0
answers
37
views
Registry key to stop removing HyperV after windows update [duplicate]
I have HyperV installed on Windows 11 Home. I know it's for Pro users only, but it can be installed on home as well.
Actual Behaviour
Every time there is a Windows update, hyperV gets removed and the ...
0
votes
0
answers
62
views
Hyper-V: Nat blocking guest access to host ports on internal network
I have been trying to get this to work for some time.
Hyper-V switch myswitch is created as internal virtual network and an IP is configured for the switch adapter
Get-NetAdapter
# choose switch ...
1
vote
1
answer
38
views
Access win10 host desktop from linux guest vm?
I have the specific use case, that I want to run stuff mainly from inside the guest VM (pop os 22.04 currently, but I'm open to switching distro if the use case is easier elsewhere), without tabbing ...
0
votes
0
answers
86
views
Unable to copy vhdx file (Hyper-v)
(Windows 10 Pro)
I am unable to copy and paste a vhdx file from my current drive (1TB Samsung NVME) to my new drive (2TB Samsung NVME).
I have tried:
Copy/Paste Windows explorer
Robobopy
'Move' ...
15
votes
2
answers
2k
views
Doesn't Windows Sandbox require Hyper-V to run? How is it working with Hyper-V not enabled?
If my knowledge is correct, Windows Sandbox requires Hyper-V to run right? But when I enable Windows Sandbox on the Windows Features window, Hyper-V did not get enabled so I wanted to know what was up?...
0
votes
1
answer
170
views
Windows 10 became slower (+ weird display) after WSL2-Ubuntu install
Edit :
Okay I retried to install WSL and I finally got it. Enabling wsl/hyper-v has changed the display settings, I don't know why. It changed the resolution, and it added non-physical screens (there ...
0
votes
1
answer
86
views
Is there a way to have a shared 'Base Image' in Hyper-V?
I don't know if my terminology is correct, but I want to create a base image for some of my Hyper-V instances. To be clear, I'm not asking how to create a gold image or template, but instead I want ...
0
votes
1
answer
37
views
Hyper-V - Network Switch when travelling?
I use a laptop that runs some VMs (in Hyper-V) e.g. SQL Server.
I need the host (laptop) to have persistent network connectivity to the VMs, even when traveling, and might not have an internet ...
2
votes
2
answers
808
views
Remote Desktop can't connect to Hyper-V Ubuntu v22.04 guest
My host system is Win 11 Pro with Hyper-V enabled, also using "Enhanced session mode".
I have a few Ubuntu versions installed manually (I downloaded the ISO and ran install), but they always ...
0
votes
2
answers
145
views
How to turn off Lenovo laptop VirtualBox Snail execution mode?
Configuration: Lenovo ThinkPad X1 Yoga 3rd Generation Core i7vPro, 16GB main memory, 1TB SSD, Windows 10 Pro 22H2, VirtualBox VM 7.0.6 r155176.
In the above configuration, I have set up a Windows 11 ...
0
votes
2
answers
306
views
How to disable promiscuous mode in hyper-v?
I enable promiscuous mode on hyper-V system(windows 11) following by
hypervPromiscuousModeSetUp
I test wireshark on hyper-v running Kali linux OS, It works well.
But, I want to disable promiscuous ...
0
votes
1
answer
45
views
How can I setup my Hyper-V virtual machine to have the convenience features of Windows Sandbox?
The Windows Sandbox (a feature of Windows 10 Pro) provides a temporary virtual machine instance that has these nice convenience features:
Resizing the Window to automatically adjust the display size/...
0
votes
0
answers
19
views
how to connect hyper-v management tool to a nested virtualization server which is a virtual machine
i am experimenting with nested virtualization in hyper-v, the setup is hyper-v windows server core virtual machine with a windows server core machine virtual machine inside it. while trying to connect ...
2
votes
0
answers
42
views
Hyper-V: my custom virtual switch disappears from time to time
On my Windows 10 Pro x64 PC, I have Hyper-V with multiple VMs. Some VMs use a custom virtual switch (let's call it "MySwitch"), which I need so that I can set it to type "External" ...
0
votes
2
answers
91
views
run 2 windows VMs on bare metal or one as guest on top of the other?
I am cureently running a windows 11 vm in hyper v as guest on win11 host - this is on a laptop (ryzen 2500u, 20gb RAM) - I use this as server withh desktop to run some software that reuires gui access ...
0
votes
0
answers
383
views
Windows server 2019 VM (Hyper-V) no access to internet
I have a Windows server 2012 computer hosting a Windows server 2019 server with Hyper-V but the Virtual Machine can't connect to the internet. The guest adapter is set up as External. I have other VMs ...
1
vote
0
answers
214
views
Open Hyper-V Linux VM Full Screen
I have a Centos 7 Linux VM running in Hyper-V. I have adjusted the kernel line to set it to the host's resolution of 1920x1080. This works well, in the sense that the VM opens in a window of that size....
0
votes
2
answers
303
views
How to share folders in Hyper-V with guest Ubuntu server & desktop 22.04
I have checked many guides that use XRDP to start a remote desktop service on Ubuntu desktop for getting the "Enhanced Session" to work.
https://4sysops.com/archives/activate-enhanced-...
0
votes
0
answers
144
views
IPv6 behind Hyper-V external switch doesn't work
I've setup a an (L)Ubuntu VM under Hyper-V Win11 Pro machine with external virtual switch but I can't get IPv6 to work...
The network connections tab shows 3 (relevant) interfaces: Wifi (the actual ...
0
votes
0
answers
160
views
Ubuntu 22.04 on Hyper-V with static ip
I set up a Ubuntu 22.04 server on a Hyper-V and then installed nginx. In the Hyper-V manager I created a Virtual Switch with an "Internal Network" connection type. I then went to Network ...
1
vote
1
answer
79
views
Hyper-V host virtual switch preference
Couldn't find any decent info online, may be my lack of searching skills.
Situation:
Hyper-V host with external virtual switch (shared with host) and internal virtual switch. IP's received in both ...
0
votes
0
answers
105
views
Step to use a GPU NVIDIA AX4000 that is configured in Window 10 PRO in a ubuntu 20.04 VM on Hyper Visor?
UPDATED QUESTION
My host Os is Window10 Pro which has an Nvidia AX4000 GPU.
I want to create the Ubuntu20.04 virtual machine by using an Hypervisor of type 1 (Hyper-V) and be able to use that GPU.
...
0
votes
0
answers
203
views
Hyper-V Won’t Start VM
I am using Hyper-V on my windows 10 pro laptop, inside of it I am created a Windows Server 2019 Datacenter Evaluation VM. Later on, inside of this I put AD DS on this as well as Hyper-V (inside the ...
0
votes
1
answer
405
views
Hyper-VM Won’t Connect to Internet
I am using Hyper-V on my windows 10 pro laptop, inside of it I am creating a Windows Server 2019 Datacenter Evaluation VM. Later on, inside of this I will need to put AD DS on this as well as Hyper-V (...
2
votes
1
answer
336
views
VirtualBox “ failed to start the virtual machine because one of the hyper-v component is not running”
For my class I am running a Windows 2019 datacenter server with AD DS and Hyper-V. The goal is to create a windows 10 consumer virtual machine in hyper-v and start it, however it currently will not ...