Windows Server 2016 Choose and option screen every time it reboots (can Continue to OS just FINE)
.avhdx files exist but dont seem to be in use
Hi All,
I'm running HyperV on a Server 2016 cluster.
I have an issue where I have multiple .avhdx files stored with the .vhdx file. I understand that .avhdx files are differential disks when a checkpoint is created. I suspect that this was done by our backup software, but not removed properly.
If I view the VM in Hyper-V manager I see the following:
- No checkpoints exist for the VM
- The VM HDD settings are pointing to the .VHDX file
- The .AVHDX files are not growing in size
- The .VHDX file is growing in size
By all accounts it looks like these .AVHDX files are not in use and can safely be deleted. I would like a way to confirm that this is indeed the case.
Is anyone able to advise?
Thanks
Connecting to Virtual Machine Management service
Hello,
yesterday I decided to install update KB4132216 on my Windows Server 2016 Standard. I'm using Hyper-V with one virtual machine installed and running. I decided to make a restart and I was sure the virtual machine will shutdown automatically as always. Unfortunatelly it took 2 hours to shut down the host and after that I see an error:
"One or more virtual machines were stopped without saving the state because the virtual machine did not respond to attempts to save the state. "
Now I can't run my Hyper-V server because it says "Connecting to Virtual Machine Management service". I was trying to restart that service but after 30 seconds I keep getting an error 1053. I think that's the reason why shutting down the host took so much time. I can only stop the service by deleting the vmms.exe process, but after starting it again, nothing changes. What can I do? Is there any solution without rebooting the host? I suppose the reboot won't help anyway.
Regards, Chris
Nested Virtualization on a Server 2012 R2 Standard running Hyper -V
Hi,<o:p></o:p>
<o:p> </o:p>
I have a Standard 2012 R2 Server with Hyper - V Role installed on it. I have created 3 VMs in the Hyper - V with 2016 Operating System. Now i want to install Hyper - V Role on these 3 VMs and furthure install VMs on them. In other words, i want to do Nested Hyper - V Virtualization in 2012 R2. But when i try to install Hyper - V Role on these VMs then i got an Error. I have enabled MAC Spoofing and disabled Dynamic Memory. <o:p></o:p>
Kindly guide me accordingly as i need to Install VMs in a Nested Environment at the earliest.<o:p></o:p>
Regards,<o:p></o:p>
Vikram.<o:p></o:p>
Hyper-V Virtual Management Service is getting Terminated
Hi All,
I am trying to run Hyper V on my System ( Windows 10 Pro , 1809 ) Build 17763.104 , 16 GB RAM
I cant connect to the Management Service and Getting below Error
"
The Hyper-V Virtual Machine Management service terminated with the following error:
Ran out of memory"
However, I haven't even created any VM's yet , and its a fresh OS Install
Can any one suggest what to look into next ? Cant seem to find this issue Online except for users who are trying to run VMs and getting out of Memory
Add-VMNetworkAdapterExtendedAcl and IPv6 subnet in RemoteIPAddress
Windows Server 1809 17763.55
Demonstration
$VMName = "my.vm.local"
$SwitchName = "External"
$ExternalIP4 = "1.1.1.1/30"
$ExternalIP6 = "2:3:4:5::/64"
VMNetworkAdapter = Get-VMNetworkAdapter -VMName $VMName | Where-Object -Property SwitchName -EQ $SwitchName
# remove all acls from VM
Get-VMNetworkAdapterExtendedAcl -VMName $VMName | Remove-VMNetworkAdapterExtendedAcl
# Allow SMTP 25 (later referred as Rule 1)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -LocalPort 25 -Protocol "TCP"-Weight 10 -Stateful $True
# Traffic between VMs with external IPv6 (Rule 2)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -RemoteIPAddress $ExternalIP6-Weight 11
# Block all incoming
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Deny" -Direction "Inbound" -Weight 1
What I'm expecting is that telnet 2:3:4:5::4 25 works. However this is not the case.
Now if I exchange the weight of rule 1 and 2, it works as expected:
# Allow SMTP 25 (later referred as Rule 1)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -LocalPort 25 -Protocol "TCP"-Weight 11 -Stateful $True
# Traffic between VMs with external IPv6 (Rule 2)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -RemoteIPAddress $ExternalIP6-Weight 10
What is interesting, is that it works correctly when using a IPv4 subnet:
# Allow SMTP 25 (later referred as Rule 1)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -LocalPort 25 -Protocol "TCP"-Weight 10 -Stateful $True
# Traffic between VMs with external IPv6 (Rule 2)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -RemoteIPAddress $ExternalIP4-Weight 11
Thin Client Network Communication Interruption
Does anyone help in finding the root cause of the below issue
"Memory allocated for packets in a vRss queue (on CPU 10) on switch C7F0382C-8091-4600-9793-2E49DC6C8B65 (Friendly Name: Thin Client Network Secondary) due to low resource on the physical NIC has increased to67584MB. Packets will be dropped once queue size reaches 512MB."
The above messages started appearing for 15 minutes, finally the memory allocated increased to 72.9 GB and hosts rebooted by windows bugcheck utility. VMQ was enabled.
when these messages started appearing, the all thin client machines lost connectivity with the VRTX hosts. we have redundant VRTX and redundant thin client network. But non of the redundancy worked.
Hyper-V VSS writer missing
Hello,
I'm using Backup Exec 20.1 to perform daily backups of virtual machines, but quite offten the backup end up failing due to error:
V-79-57344-37935 - Snapshot Technology: Initialization failure on: "VRTSRV::\\backup.blade.local\Hyper-V?Virtual?Machine\DC_b". Snapshot technology used: Microsoft Volume Shadow Copy Service (VSS). Snapshot technology error (0xE000942F): Cannot capture a snapshot of the virtual machine volumes. Ensure that the Hyper-V Virtual Machine Management Service is running and the status of the Microsoft Hyper-V VSS writer is Stable. Check the Windows Event Viewer for details.
When i look for the writer in the "vssadmin list writer" output, the writer is not present there. If I restart Virtual machine management service and run vssadmin again, the writer appears.
Sometimes many backups can complete without the writer dissapearing, but then the writer dissapears again. I can't find any error on warning in Windows Event Viewer.
I'm running Windows server 2016 and the VM's are running on the same server as the Backup Exec is installed on.
So is there any sollution to this problem or a way to find out what is happening to the writer ?
Thanks
Martin
Checkpoint disk size
Dear Team,
Thanks in advance!
Me first time in Hyper-V area, while create a checkpoint of VM its size auto increase daily base. We couldn't find out what is the actual reason.
Kindly advise.
Server2008R2 install VMGUEST error
Hi
I want to run a win 2000 VM in Server2008R2 Hyper-V ,but i can not install the VMGUEST,so i can not use mouse normaly.
If you had same problem with me and how did you solve it?
Thanks
Hyper-V Host and GPO
Dear All,
I have a Windows 10 Pro machine and running Hyper-V on it. I have 3 virtual Server 2016 running and one virtual Windows10, which are running in a local domain.
Everything works fine so long but the virtual Windows10 machine is a little bit troubled.
First of all, it can happen, that when I try to login to the domain on the virtual Windows10 machine, I get an error that I need remote access permission to do so. It try several times, get disconnected from the VM and re-connect and after 2-3 Minutes, I suddenly am able to login. Additionally I have the issue, that the GPOs I have set are not pulled through the virtual windows 10 machine.
I have two test users, I use to login to the virtual windows10 machine. Those two users belong to a security group, which I added to an individual OU in AD. I have linked the GPO to that OU and also tried to force the GPO but I have no luck, logging in with those two test accounts onto the virtual windows10 machine, I have the default background.
When I look at the GP result, I do not see the GPOs that I have set. For a test, I set a desktop background picture but as soon as I login, there is nothing happening and the GPO also shows nothing.
I am able to ping the virtual DC from my virtual windows 10 machine, I can connect to shared drives.
Do I need to open a specific port for the GPO, or do you have any idea, what I am doing wrong?
What kind of more specific details do you need to understand my situation?
Thank you very much for helping,
Mike
Hyper-V Manager in Windows 2019 and Windows 10 1809 - 'turn off VM' no confirmation?
I know Server 2019 has been pulled, but I downloaded the ISO from VLK before it was pulled so we are still testing it. It was pulled because of the Windows 10 document issues, which has not anything to do with this issue.
In Hyper-V Manager, when I 'turn off' a VM, in both Windows 10 1809 and Server 2019 (with GUI) Hyper-V manager, there is no confirmation question anymore, which is potentially dangerous. The setting whether or not a confirmation should be asked used to be stored in "%appdata%\Microsoft\Windows\Hyper-V\Client\1.0\user.config";
<setting name="NeedToConfirmFlag" type="System.Int32"><value>-1</value>
</setting>
However that setting doesn't make any change anymore. Can anyone else confirm this before I create a ticket about that? Or might anyone know if there's a simple fix?
Enabling RemoteFX Disables Multiple Monitors
Hello Community,
I am configuring my Hyper-V install. I have a quad monitor setup and had everything working just great with my VMC, but then saw that there's a RemoteFX feature that allows you to utilize the GPU? I did install this and set the monitors to four. However, when I sign in now I only get a single monitor. Additionally, when I go into display settings, it reads "The settings cannot be changed from a remote session."
Any guidance/suggestions here would be awesome. :)
Thank you,
-MD
hyper-v server - which ports to open?
which ports should I open for hyper-v server to work properly & for me to be able to use hyper-v manager on another pc?
or is it better to leave the firewall off?
Hyper-V Replica Error 32022 recurring every 2 hours exactly during initial replication
Hello,
I have a problem with the initial Hyper-V replication of one of my VMs and I'm out of ideas. I will realy appreciate some help. The replication health goes critical with event ID 32022. Then replication resumes after one minute and exactly after two hours (+/- 2-3 minutes) the error repeats. At exaclty the same time Event ID 29296 is logged on the replica server. Both my Hyper-V host servers (primary and replica) are Windows 2016 Datacenter.
Currently both my servers are located next to each other (over a switch).
I'm trying to replicate 4,2 TB distibuted into 4 virtual disks and it takes a lot fo time, However the same issue occurs even when trying to replicate with the VM turned off (so no changes to its virtual disks).
So every two hours, I have in the log the following:
---
Event ID32022 has either this description:
The description for Event ID 32022 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on
the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
[My VM name]
1386FE00-0F0F-4931-9FB3-6C71993F335B
%%2147952454
0x80072746
The locale specific resource for the desired message is not present
---
,or this description:
Hyper-V could not replicate changes for virtual machine '[My VM name]': The operation timed out (0x00002EE2). (Virtual machine ID 1386FE00-0F0F-4931-9FB3-6C71993F335B)
---
This event is immediately followed by:
Event ID 32315
Hyper-V failed to replicate changes for virtual machine '[My Vm]' (Virtual machine ID 1386FE00-0F0F-4931-9FB3-6C71993F335B). Hyper-V will retry replication after 1 minute(s).
---
At the same time the following event occurs on the replica server:
The description for Event ID 29296 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
[My VM name]
1386FE00-0F0F-4931-9FB3-6C71993F335B
%%2147942459
0x8007003B
The locale specific resource for the desired message is not present
---
Thanks for your help in advance!
Regards
Cross Post: Resize Window *Frame* and Not Its Contents
Since there seem to be two Hyper-V forums now. 😁
https://social.technet.microsoft.com/Forums/windowsserver/en-US/b48288f2-2e96-40d0-b206-2df3cf959d44/resize-window-frame-and-not-its-contents?forum=win10itprovirt
Cross Post: Experiencing Rendering Problem in Hyper-V Instance
Not seeing any luck in where I originally posted nearly 3 weeks ago, so spreading the love (more like pain 😆). Check it out:
External Ethernet Adapter is already bound to the microsoft virtual switch protocol
Hi,
I have a Virtual Switch that already bound to a Physical Adapter, and I would like to create another Virtual Switch to be bound to the same Physical Adapater, but I'm getting an error: "External Ethernet Adapter is already bound to the microsoft virtual switch protocol" Any help?
How to setup SMB Network drive connection on HyperV Server?
I'm used to work with VMWare ESX before, I have some basic knowledge of HyperV.
Except this one:
I want to mount my network location \\NAS\OperatingSystems\ to my HyperV server, so I can access my iso files fast and quickly when installing new machine on my HyperV test and education lab.
I known you can do this via gpo network drive connections but than a user needs to login. When you boot up HyperV there is no user logged in so?
Thanks!