Hyper-V is a native hypervisor; it can create virtual machines on x86-64 systems and supersedes Windows Virtual PC as the hardware virtualization component of the client editions of Windows NT. A server computer running Hyper-V can be configured to expose individual virtual machines to one or more networks. Hyper-V Server supports remote access via Remote Desktop Connection. Administration and configuration of the host OS and the guest virtual machines is generally done over the network.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello I've got a Virtual Machine which will not shutdown.  I've tried from Hyper-V Manager (Right Click, Shut Down).   It will not shutdown every-time get the following error:
"An error occurred while attempting to shutdown the virtual machine."
"Failed to stop"

Info is as follows:
Host = Dell Precision 7710, running Windows 10
Guest in question running Red Enterprise Edition

Not sure what to try.
Quick Backup of windows 2016 hyper-v server.

Can I just shut down hyper-v server . Then to copy vhdx file to a usb?
Hey all,

I have just taken over a site and one of the critical servers (VM1) is running out of disk space on the C:Drive. Host is running Hyper-V with plenty of space for allocating extra stroage to VM1. The weird thing is that when I look the Disk management within the VM, it shows that there is space that hasn't been allocated. It also has a replica of free unallocated space on the D:Drive which is very odd.

I would ideally  like to just expand the C:Drive - is this safe to do so knowing I have good backups also?
 I have a test Hyper-V Server 2016 and installed Windows 2012 Server for in-place upgrade testing purposes.
 So I opened the virtual machine settings for Win2012 and performed the following:
1. changed the ISO file to Win2012R2.iso.
2. Start the VM and pressed [F8] key and got to Windows 2012R2 setup menu.
3. Clicked "Install" and I tried both "Upgrade" and "Custom" option.
    - "Upgrade" option did not do anything except I saw the message saying that I have to restart the computer.
    - "Custom" option said it was going to put old stuff in "Windows.old" folder. After customer upgrade, a brand new OS was created with Windows 2012R2. It was not an upgrade from Windows 2012.

 Having said that, this was not what I expected.
 How can I perform in-place upgrade to a newer server OS while keeping programs, files, computer name, IP information ... etc?
I have a Hyper-V Server 2016 setup (the free one).  I experienced a system failure and have to rebuild.  How do I create a system image backup for disaster recovery that I can use when I boot up to the server setup and choose system recovery image?  All the information I can find expects a full Windows server install with GUI.
I have a Single physical DC (2012R2) and need to convert this to Hyper-v VM.
Since the server is 2 years old and planning to use the same server as Hyper-v host.
I just wanted to find out the best practice to convert physical DC to VM.
I am trying to verify some AWS prerequisites for Server Migration.  Could someone help me with the following 3 prerequisites listed below.   specifically:

a) verify if the following prerequisite connections are allowed
b) if they are blocked, how to open the requested ports in the fortigate

1)  DNS—Allow the connector ( to initiate connections to port 53 for name resolution.

 2)  HTTPS on WinRM port 5986 on your SCVMM or standalone Hyper-V host

 3)  Inbound HTTPS on port 443 of the connector ( —Allow the connector to receive secure web connections on port 443 from Hyper-V hosts containing the VMs you intend to migrate.
I am trying to reset Disk identifier on one of my hyper-v virtual disks.  AWS support tells me that there is no identifier, and this is preventing me from migrating the virtual disk to the AWS cloud.

I am using the following PS:
 Set-VHD -Path "M:\VMs\Virtual Hard Disks\NC-LBL.vhdx" -ResetDiskIdentifier[1]

I get the following error:

A positional parameter cannot be found that matches parameter name 'ResetDiskIdentifier'

CategoryInfo : InvalidArgument: (:) [Set-VHD], ParameterBindingException
FullyQualifiedErrorID : NamedParameterNotFound, Microsoft.vhd.powershell.setvhdcommand

Could someone assist me with the error?
Hi All,

I have a dilemma and wanted to get some feedback.

We have some Hyper-V server hosts that are lease is up and management is sending them back to Dell and a new Hyper-V server is being built as we speak.

The issue I am most concerned about is that the FSMO role holder virtual is on the Hyper V host that is going back.
This VM is currently backed up daily with VEEAM.

Here are the options for moving and or removing this server off of our host that is going back and not taking down our whole Active Directory.

1. Move FSMO roles to Physical 2016 DC, and move DC to new server and import into new host.
2. Restore Virtual to new host with VEEAM. ( I am concerned with different versions of Hyper V backing up and restoring too)
3. Demote the DC all together after transferring FSMO roles and rebuild new DC on new host.

The reason we use a virtual is because of back up.  I back up the physical DC but only C drive and system state.  VEEAM backs up the whole DC.

Any thoughts or new suggestions are appreciated.

Thank you,

I have a server 2012 running hyper-v with guests.  It has two nics.  I also have two networks with 2 routers each with static IPs.

I want to use one nic for the guests and the other nic for the host OS.  I don't want the networks to see each other. Reason being, one network (hyper-v guests) will be public facing (website and game servers) while the other network (host) will be used for personal purposes in my home network.  

How can I do this?

Note: I know how to assign a guest to a specific nic but my concern is the host server being on both networks.  I know that the OS will default to the first nic it loads, but since the second nic still gets an IP, my worry is security from that second network, even if it is not activly using it.
Windows Server 2016 Fail over Cluster Manager

Cluster Event Log:
Cluster resources " Virtual Machine APP01 of type Virtual Machine in Clustered Role "APP01" failed.

Based on the failure policies for the resources and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it. Check the resources and group state using Failover Cluster Manager or the Get-Cluster-Resources Windows PowerShell cmdlet.

Event ID : 1069

Any idea usually what causing this ?  it kind a generic for me
Hi Guys,

We have 2 Server 2016 Hyper-V hosts in our environment, when we try to checkpoint the VM's on the hosts we get the error "The operation cannot be performed while the object is in use" and the following from the logs. "SERVER**' background disk merge failed to complete: The process cannot access the file because it is being used by another process. (0x80070020). (Virtual machine ID E33D1EB8-D888-4CE8-9100-891EA98C566C)

The checkpoints work when the host is restarted but it just fails again, obviouslt this is also affecting the backups.

Anyone else come accross this?

I have a small 2 host HyperV cluster with about 4 VMs on each host.    When we go in to do our monthly updates, we dont want the machines to move.   We do them very hands-on.   We patch all 8 VMs.   Then we shut down or suspend the VMs and do the hosts.     No matter what we try including shutting all VMs down, HyperV moves the VMs to the host that is up.   How can we temporarily suspend the automated movement of these VMs?  

Have 6 2016 host servers for Hyper-V HA Cluster configuration. 2 hosts will run 2 DC, 2 RDS Brokers, 2 APP servers. The other 4 hosts will be running 3 to 4 VM RDS Session Hosts VMs per device.
I envisioned these physical servers as 2 clusters. One for the 2 hosts for the DC,RDS Broker, APP servers and the second for the 4 VM RDS Session hosts.

Probably more of an opinion - anyone note pros and cons of having two separate clusters or one cluster for all. Data/Shares and VM images will be on a NAS.

I've always used Oracle VM Virtual Box for my VM needs to keep copies of Windows operating systems (from 98SE up) available to me, as well as a couple of Linux distros. But I often see questions (and articles) on Experts Exchange that deal with Microsoft Hyper-V and it's got me to wondering if I'm doing myself a dis-service somehow by not using it, rather than the Oracle VM solution.

Are there any experts who have experience with both that can identify the pros and cons of using the Microsoft solution as opposed to Oracle VM or vice versa? I have Windows 10 Pro so Hyper-V is available to me.

I've looked at a number of Microsoft articles about Hyper-V to try and work out the difference, but they've been of little help to satisfy my curiosity.

Your opinions about both solutions would be appreciated.

Regards, Andrew
Very long story short: I am trying to manually migrate a hyper-v server to AWS ec-2 without using SMS.

I am copying the vhdx virtual disk as I type.  I plan to use the CLI to import the image into an new instance.  My question is, can I also somehow integrate the xml file from hyper-v manager to copy the config of the vm?  Or should I re-define the vm instance in E2 with a fresh start?  If I do the latter, will it affect any of the windows drivers?(maybe dumb question)
How can I tell if my Hyper-V VM was initially imported, vs not imported (by my predecessor's predecessor)
I have an HP workstation running Windows 10 Pro with 32gig of ram. It has dual Xeon processors. It is running Hyper-V so I can run a server to do some testing. I spun up a 2016 Standard server and allotted 18gig of ram and 4 cores. My problem is it is only seeing 1.47 gig of the ram.  It says 17.6 installed and 1.47 usable.
It showed this when I first installed it but after I activated the license key, it showed the full RAM. I have since ran Windows Updates and now it is showing the reduced RAM again. Any ideas on what I should do?
Amazon Migration job fails at Uploading 99% Step 2 of 4 in progress.  

The connector, service are both running.  I am able to view hyper-v server list on connector.   Network here is good.  We have cable and fiber.
When I run the AWS VM Import Prerequisites Checker on the VM to be imported everything passes except: Only Local Disks Attached, and Windows Firewall Disabled.  The issue is that the firewall is disabled, and there is no mapped drives, network connections or media connected to the vm.  Any ideas as to why its failing?
I have an existing RAID 5 4xTB Sata 3 in a hypervisor with 4x VMs.
Report sluggish behaviour from users.

HPDL360e Gen 8 Smart P420 1GB RAID.

I am considering breaking this into 2x RAID 1's to improve performance.
Any easy way to do this apart from:

a) copy data
b) kill array
c) new arrays
d) copy data


Performance improvement suggestions.

Quick scenario. 1U server. 4x VMs. All across 4x Drives in RAID5 7.2K SATA. Total 10TB. Used 4TB
VMs are growing and not committed. Single Array split into C:OS and D:Data.
NON are dynamic RAM.
96GB DDR3 1333
16x cores (1.8Ghz 6MB Cache I think).

RDP runs on one VM and the handful of users (5) are reporting sluggish performance with peaks and troughs.
All 4x VMs are running on 1 VM Nic and another Nic for host.
Reason for this setup is all but 1 user is connecting via the Web. so no network traffic. So no need for lots of VM Nics or a team IMO.
No mega budget. Maybe £500. They do not want to run 2 hosts. Happy with vCPUs for the VMs.

Initial ideas:

Low impact:
Commit the VM OS disks to full/thick as opposed to grow/thin provision.

High impact:
Only 4x drive bays. HARD WAY - move VM OS and VM Data and Data on host to second server temporarily or NAS BOX with ISCSI Target as these are cheap.
Swap 2 drives for SAS 15K (RAID1) or even better SSD, but prob cost prohibitive. Last 2 drives make a RAID1 for data as the slower storage is fine. Having only 4TB usable, might cut it. Or need to get a cheap NAS for slow and VERY infrequent access.

Any other ideas, or better solution to moving the data off if drive swap is enough.

The server is good enough. Theres enough RAM. So no more IMHO.

Thanks in advance everyone.

I have a physical Hyper-V machine with a hosted data center that will not allow guest vms to connect to the internet.  

As you can see from the diagram attached:
  • NIC1 is used purely from remote management
  • NIC2 is configured for the VMs to communicate with the physical network and Internet
  • The VMs on the private network works great of course
  • Unfortunately the hosting company that we have the Hyper-V host at says they don't know how to fix this
  • I suspect they are blocking traffic somehow
  • Strange issue is that allow management OS to share network adapter, all access to the server is lost for RDP, we have to disable this feature.

I have other Systems, albeit not in a hosted datacenter that works just fine.

The Hosting company's tech support is "stumped", to say the least.

Has anyone encountered this with Hyper-V?


WDS on a virtual machine is very slow.  We recently moved WDS to a virtual machine (Windows Server 2016) in Hyper-V.  We also moved it to a virtual machine that does not contain a DHCP server.  We changed DHCP to point to the new WDS server (option 66 or 67).  The deployment process went from taking 45 minutes to 10 hours.  We dove deep into Google looking for a solution.  Changing the TFTP block size did nothing.  All the other VM's seem to be running fine.  Any ideas?
Hi Expert,

I am currently learning Windows server 2012 on Hyper V on windows 10. I am getting "We can't sign you in with this credential because your domain isn't available." I am trying to login using the domain account(first time) on Windows 10 hyper v which have joined the domain. Below are the method I have tried.

- On Interactive logon: Number of previous logons to cache, set the value of “Do not cache logons” to 0.
- Set the DNS to on Windows
* On my Windows Server, I did an ipconfig/all and the DNS address is weird ::1 follow by below as alter dns address
* On my server manager the DNS and DHCP server are the same IP address
* Windows 10 client on Hyper-V not activated

Appreciate if any expert can advise me on.

  • Type: System.Data.SqlClient.SqlException
  • Class: 20
  • LineNumber: 0
  • Number: -1
  • Server: DBServerName
  • State: 0
  • Source: .Net SqlClient Data Provider
  • ErrorCode: -2146232060
  • Message: <ii>A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable)</ii>

Usually what will causing this event?  and notice it only happen on selected time frame...  
I not sure is the SQL Application issue or the OS layer (e.g. during VSS the SQL is stop processing.. or others...)


Hyper-V is a native hypervisor; it can create virtual machines on x86-64 systems and supersedes Windows Virtual PC as the hardware virtualization component of the client editions of Windows NT. A server computer running Hyper-V can be configured to expose individual virtual machines to one or more networks. Hyper-V Server supports remote access via Remote Desktop Connection. Administration and configuration of the host OS and the guest virtual machines is generally done over the network.