Hello When I use the save functionality of Hyper -V. It shows my content is saved but when I try to reconnect my VM. It takes lot of time and eventually fails to connect. Does this related to some misconfigurations. Please suggest.
Hyper -V save button functions improper
Recover VHDX - Cannot mount
Hello,<o:p></o:p>
We had experienced a virtual machine crash, and the virtual machine could no longer boot.<o:p></o:p>
Host: Windows Server 2012 (Hyper-V host)<o:p></o:p>
Guest VM: Windows Server 2012<o:p></o:p>
I then made a copy of the virtual machine and configuration to attempt recovery from a Windows Server 2016 for recovery.<o:p></o:p>
I tried to use the Inspect Disk function on the .AVHDX file, which then it asks to Inspect Parent disk. Once I try to inspect the parent disk, the same error occurs where it says the parent .VHDX is corrupt.<o:p></o:p>
“An error occurred when attempting to retrieve the virtual hard disk<o:p></o:p>
…\VM_Disk_0_HD_E6701573-EB9F-413… on server UNIREC.<o:p></o:p>
Failed to get the disk information.<o:p></o:p>
An unexpected error occurred: The file or directory is corrupted and unreadable. (0x80070570).<o:p></o:p>
Failed to get the disk information.<o:p></o:p>
The Hyper-V Virtual Machine Management service encountered an unexpected error: The file or directory is corrupted and unreadable. (0x80070570).”<o:p></o:p>
<o:p> </o:p>
EventID 27000 is logged in the Hyper-V VMMS storage log with the following error:<o:p></o:p>
Failed to open attachment 'E:\Hyper-V\virtualboot\VM_Disk_0_HD_E6701573-EB9F-4131-AC77-89C05EC878AC.vhdx'. Error: 'The file or directory is corrupted and unreadable.'.<o:p></o:p>
Any help would be appreciated!
Thanks!
Licensing Windows 2016 VM under Windows Server 2012 R2 Hyper-V
We have a Hyper-V cluster running with Windows Server 2012 R2 which is currently licensed with Server 2012 R2 Datacenter Edition.
As per current requirement, we are planning to build Windows 2016 VM under Server 2012 R2 Hyper-V cluster which is fully supported as guest OS.
Would like to know, if there will be any licensing constraint of deploying a Windows 2016 VM under Server 2012 R2 Hyper-V cluster? If yes, how can it be mitigated?
Hyper-V replication for a VM-group
Hi,
I want to create a guest cluster with a VHD-set. So far no troubles - the guest cluster is up and running.
Now I want to replicate the machines, which cannot be enabled through the GUI. So I created a VM-group through powershell, with the two VMs as members.
Here the problem: when I want to enable the replication through powershell, I get the errormessage, that it cannot find the target, which is a Hyper-V replica broker, running on a secondary cluster. BUT: When I enable replication on a single machine (without guest cluster or vhd-set), the same target can be resolved without any problems.
I found the tip to user the Hyper-V module 1.1 instead of 2.0. The problem with this is, that the Hyper-V powershell module 1.1 does not know VM-groups. So in 2.0 the replication does not work and in 1.1 the VM-group is not known.
What can I do to get this going?
Thanks for your help,
Andreas
How to customize the Hard Disk size while creating an Ubuntu VM using Quick Create
Team,
I am trying to create an ubuntu VM using the quick create option and I would like to have the Hard Disk to be 80 Gig instead of the default. Also I would like to customize that at create time. How could I do that?
Thanks and Cheers,
Sreeram
Hyper-V
Hyper-V
3 node cluster Hyper-V with Windows 2016 DTC edition with CSV configured, the three node access to storage by iSCSI. On the cluster I have installed a traditional SQL Cluster with shared disks and other standalone VMs. If a fail occure on the network interface the VMs continue to run normally but the two node of SQL cluster crash and the only solution to restore the situation is to remove the shared disks, add they again and restart the two node.
Do you have some idea?
Thank you very much
Hyper-V Server 2019 - RDP not working
Hi,
So I am testing with Hyper-V Server 2019, which I deployed to three brand new HP Proliant gen10 machines. I'll test on them for a while before putting them in production. Installation was a breeze, as with Hyper-V 2016. However, I can't seem to enable RDP on Hyper-V Server 2019. When I enable through the menu, it says it's done so, but alas, netstat -a reveals there isn't even a process listenening on port 3389.
I checked the registry, HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server is correct. The required services are running. Firewall is completely disabled through netsh for testing. Remote administration is working fine, RDP is not listening at all.
Anyone else ran into this?
Hyper V VM expand hard disk
Hello,
Currently we are facing a problem regarding hard disk space.
Since i cannot add more hard disk (due to the lack of hard disk bays) i was wondering if it is possible to add storage from another server?
Could you please help with some information?
Thank you.
BindToHostTPM error in Hyper-V Manager Win 10 1803
Does 1803 break compatibility with Windows Server 2016?
How can I fix this?
On my technician computer, the settings in virtual machine \ settings \ hardware \ security have become unavailable for all gen 2 vms on all Hyper-V servers. It reads ‘Load Failed” as well as “Property ‘BindToHostTPM’ does not exist in class ‘Msvm_SecuritySettingData’.
This error makes sense, since it does’t exist in Msvm_SecuritySettingData
class Msvm_SecuritySettingData : CIM_SettingData{
boolean TpmEnabled;
boolean KsdEnabled;
boolean ShieldingRequested;
boolean DataProtectionRequested;
boolean EncryptStateAndVmMigrationTraffic;
boolean VirtualizationBasedSecurityOptOut;
};
Hyper-V Manager: Windows 10 1803, build 17134.112
Hyper-V Server: Hyper-V Server 2016 build 14393
Extremely high IO usage on replication
Hello,
we have a Dell R730XD server that until last weekend run with Windows Server 2012. That server has dual Xeon CPUs and 256 GB RAM, RAID 10 of SAS disks and another one of SSD disks.
This server has 35 VMs and it did not show any performance issues. 11 of those VMs have replication enabled, and that also worked fine.
Now we have this server running Windows Server 2016, it has all updates and drivers installed, and without any other change the same VMs on the same hardware cant have replication enabled because the IO usage is extremely high. The IO its higher before the replication actually begins, when its creating a Reference Point.
The IO usage gets so high that event the SSD RAID 10 gets killed by it. This behaivior cant the normal, those same machines had replication without any issues with Windows 2012. I searched on the forum and uninstalled Windows Defender, some said that it can cause this kind of issued, but there was no luck.
Does anyone experience this issue? Any ideas are welcome!
Best regards,
Juan.
2019 Hyper-V virtual switch error
I have a clean install on an HP ML350 G10 server of Windows 2019 standard now that it was re-released.
The HP SPP worked fine to get all drivers loaded since 2019 isn't supported yet for the intelligent provisioning process.
Server activated, all four network card work fine. No bangs in device manager, all devices have drivers loaded and are recognized.
I've added the Hyper-V role, that goes fine.
Then trying to add an adapter to the hyper-v switch, it fails. Ultimately the error is that it can't find a file. This is trying to get the adapter installed via the GUI. So I dropped to powershell, tried to create it there, same error.
Tried every network card, same error.
Removed Hyper-V role, re-added it, same error.
Removed Hyper-V role, then when I added it, tried to add the interface to the network switch during the GUI install of the Hyper-V role. It didn't give an error, but when the install was done and system rebooted, there was nothing for the hyper-v switch.
And trying manually via GUI or powershell still does the same thing.
I'm not allowing the management operating system to share the adapter, although I tried with letting that happen and the result is the same.
Some of the things I've seen for older OS's like 2012 and 2016 said to remove the "Hyper-v Extensible Virtual Switch" from the bindings on the cards first then try again, but that won't uninstall. I get an error 0x80071779
I've removed and reinstalled the drivers, and a few different versions of the drivers, including the ones it finds automatically when I just went to the network card properties and told it to find drivers to update as well as the current and previous versions
on HP's website for this adapter.
Anyone else see this? It always comes back to "Error applying virtual switch properties changes. Failed while adding virtual ethernet switch connections." The details show the GUID of the adapter, with the final text, "The system
cannot find the file specified." and an error code of 0x80070002
Another post mentioned they solved something similar on an earlier windows build by disabling internet connection sharing - that's already disabled.
Another post mentioned antivirus causing this in a previous Windows server build - but this is a clean windows install, no antivirus is installed here.
One of the joys of playing with a new server build right at release...
Just in case it WAS something that was corrupted from the original install, I nuked it, reinstalled clean from scratch, and the problem persists.
I wish I had another spare server I could test this with to see if it's a bug with Windows, or simply some incompatibility with HP. But since other people have had this issue since 2012, I'm guessing there's just something I will have to wait to get
updated with by MS or by HP.
I made the mistake of posting the question on spiceworks and got people "instructing" about everything EXCEPT the actual problem. It's a bit like posting on an auto forum about a brake issue, and people "answer" complaining about the color of your car...
Since I have a business continuity device on this network I have no qualms about deploying 2019 this early for a Hyper-V role, as I can spin up any of its guests within minutes if something happens, so no complaining that "you shouldn't use 2019 in
production until after the first service pack," or other such. Let's please try to stick with the actual technical issue. I prefer to NOT have to deploy a 3+ year old OS on a brand new server now if I don't have to.
Thanks for any guesses...
John
John
Error 41 Kernel Power
Thank you. Karel Grulich, MCSE, SBS
Remote Management of Hyper-V on Server Core 2016
I have a small home environment consisting of some Windows 10 workstations (and a Windows 7 machine) and a Hyper-V host. The Hyper-V host runs Windows Server 2016 Standard (Server Core) and has a Windows Server 2016 Standard (Server Core) VM, configured with AD as a PDC, DNS and File Services server. I additionally have various *nix VM's running unrelated services. The Hyper-V host is also a domain member.
The problem I am having is that I cannot remotely manage the Hyper-V host. Server Manager displays "Online - Access Denied", whilst Hyper-V Manager gives an incorrect username/password error. In both instances, I am logged in with my domain account, which is a member of both "Domain Admins" and "Hyper-V Administrators". Additionally, I have added my domain account to the local administrators group on the Hyper-V host (as a test, though this should not be necessary).
My domain credentials work on my other machines on the network, and I can also log into the Hyper-V host physically with them.
I have tried removing the Hyper-V host from the domain and re-adding it, to no avail.
I have been reading the documentation online and it seems that for a Hyper-V host to be managed on a domain, one needs only login with a domain administrator account. Does anybody have any experience of a similar situation?
Best regards,
Jack
Hyper-V Manager cannot connect to remote machine
I have 3 Windows 2008 R2 servers running Hyper-V and Hyper-V Manager.
Hyper-V Manager running on two servers can collect to all servers.
One the other server, Hyper-V manager gives message "Cannot connect to the RPC service on computer 'xxx'. Make sure RPC service is running."
What is the fix for this problem?
Larry
Hyper-V Extremely slow performance in SQL Server connect
We are planning to migrate from a physical machine to Hyper-V structure.
In our Hyper-V environment test, we get, in simple queries, better (or almost the same) response time than in physical machine.
But, in more sophisticate forms, the performance decreases about 10 times. For example: in physical machine the response time is less than 2" versus 22" in VM.
Could you help me, please?
Here are the details:
1. Isolated VBA code:
WkConnectionString= "Provider=SQLOLEDB;Data Source=INSTANCENAME;Initial Catalog=DBNAME;User ID=USERID;Password=XXXXX;"
For WkI = 1 To 20
Set CnConexioDBNAME = New ADODB.Connection
CnConexioDBNAME.Open WkConnectionString
CnConexioDBNAME.Close
Set CnConexioDBNAME = Nothing
Next WkI
** This code takes less than 2" to answer when runs in physical machine and 22" in VM
2. MsAccess forms:
- The more sophisticated ones, have 12 Combo Box with a pass-trough query as data source in every one.
- Plus, three sub forms.
3. Languages and OS:
- Forms developed in MsAccess 2013 (x86) with VBA.
- SQL Server 2014 (SP3) (x64)
- Installed in Windows Server 2012 R2 Standard (in the Physical machine)
- DELL. 16Gb RAM. 2.4Ghz (2 processors). x64.
- Installed in Windows Server 2016 Standard (in the Hyper-V VM)
- DELL. 8Gb RAM, 1.7Gh, SSD. x64
- Microsoft ODBC Driver 13 for SQL Server (x86)
3. Hyper-V VM (hyperv-2016 core)
- VHDX on SSD
- Virtual machine Switch external
- Generation 2.
- Configuration 8.0
4. Clients
- When accessing from W7 or WServer 2008 to the VM, the response time is 8"
- When accessing form W10 or WServer 2012 to the VM, the response time is 22"
- However, in both cases, when accessing to the physical machine, the response time is less than 2"
5. Hardware
- NIC Intel i350,i210, broadcom netxtreme
- VMQ: Disabled
- BIOS: saving energy : High Performance power plan
LUN Size
What size LUNs do you guys request from your storage team? When I worked with VMware I would request 5 to 10 TB LUNs. I obviously don't want one massive LUN and I don't was tons of small 1 TB LUNs so what's your sweet spot?
Thanks
RAM and Processors
Hello,
I'm running Win 2019 SRV with HyperV and two (2) VMs.
My main server has 8 cores and 64GB RAM and it running on RAID6 10k SATA drives.
I setup the VMs as one processor and dynamic RAM from 1GB to 10GB.
One VM is running the Kaspersky Management Console only.
The other is running as a RDP Server.
These are the only functionalities these two VMs run.
When I login into the host, the login is really fast. When I login into the VMs, the login takes more time.
Should I change something here to make the VMs faster to login and perform faster?
Thank you. Karel Grulich, MCSE, SBS
Hyper-V Host Cannot Ping anything past the virtual switch, but guest VMs can reach everything in network
After the latest windows patch, all guest VMs on the host machine can reach the entire network without issue, but the host machine cannot reach anything past the virtual switch except for guest VMs.
So I cannot remote desktop into the host except if I remote desktop into a guest VM first, then from there remote into the host machine.
Server uses Broadcomm NICs, latest driver (confirmed) and I tried removing and adding each NIC into the team (read somewhere that fixed someone else's issue). Neither have worked.
Licensing Windows 2016 VM under Windows Server 2012 R2 Hyper-V
We have a Hyper-V cluster running with Windows Server 2012 R2 which is currently licensed with Server 2012 R2 Datacenter Edition.
As per current requirement, we are planning to build Windows 2016 VM under Server 2012 R2 Hyper-V cluster which is fully supported as guest OS.
Would like to know, if there will be any licensing constraint of deploying a Windows 2016 VM under Server 2012 R2 Hyper-V cluster? If yes, how can it be mitigated?