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

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...)
Using Veeam to back up, I have restored an entire VM to Hyper-V. The restore completed successfully in Veeam 'to its original location' however, I can n not find or see it. Is there a step that I am missing in Veeam and or Hyper-V? Thanks
I had a Hyper V host that wouldn't boot, but I had some backups of the VMs on another machine that I fired up.  Two of the VMs are DCs, one is the DHCP server and the other the DFS root.  Once the backup VMs booted, I was able to ping both of them.  Things seemed normal until I realized that users were not getting DHCP.   I tried clearing the arp cache on our switches, thinking that those machines couldn't find the DHCP server, but that didn't work.  I even reset one workstation's NICs, but that didn't work either.  Nothing I tried would cause the machine to get an IP assigned.  Only after I assigned a manual IP did that workstation seem to be back to normal.

I also noticed that some of our DFS mapped drives didn't work either, even though the DFS root was up and running and I could ping it.

In the meantime, I was able to get the original Hyper V host up and running again, so I shut down the backup VMs and started up the original VMs.  DHCP and DFS started working immediately!  Can someone help me understand why this happened, why the backup VM wouldn't hand out DHCP requests?  Or why the DFS root didn't seem to work either?  It's kind of useless to have backup VMs if they won't do the jobs they're supposed to...

I am fully up and running with all the original Hyper V host and VMs once more, so the fire has been put out for now.  But, I'm worried that the next time I actually need those backup VMs to work that I'll be in the same situation once more.  Help?
I need help with Hyper-V VMM. Started out just using Hyper-V Manager only but now trying to wrap my head around Virtual Machine Manager (VMM).

1. If I have a VLAN set on a VM in Hyper-V Manager, is it possible for me to change the VM's VLAN through VMM? Reason I ask is I did change the VLAN on the VMM side but it is still the same on the VM when I look at it in Hyper-V. VM also asks like it is in the same VLAN.

VMM Side

2. Anyone have any good resource on how to set-up being able to use VLANs in Hyper-V in the simplest way.
After a fresh install of  Server Administrator Openmanage I cannot log in.  I've tried the server name and the IP address.  I tried Administrator and the password.  I tried domain\admnistrator.  They all fail.

What needs to be done?
Hi Expert,

I am currently self-learning windows server 2012 using Hyper V in Windows 10.

I have installed AD in windows server(Hyper V) and created the domain, but I would like to know what else do I need to do to allow my windows 10(Hyper V) to join to a domain? I wanted to build like in a company environment because I want to learn skill like pushing down GPO, share resources and etc in the server. I did some google but not much information.

Appreciate if any expert here has a guide, link or experience that can share with me?

3cx.. moved VM from one host to another and set static MAC. still no ext and cannot create TCP connection to activation.3cx.com
I have Windows Server 2016 running Hyper-V server with about 10 virtual machines.. As far as backup is concerned, I have used Windows Server Backup in the past and recently installed NAKIIVO backup software; therefore, I am running two backup programs. NAKIVO backup starts around 6PM and ends fairly quickly because it only backed up changes. On the other hand, Windows server backup starts at 11:30PM and always ends around 5:30AM because it can't seem to backup "changes" only.
At this point, I like to stop Windows Server Backup unless there is a compelling reason to keep it going. It seems redundant for me, but perhaps there are some benefits?

Thanks in advance.
We have a Windows 2012 R2 Hyper-V Host with 2 Windows 2012 R2 Guests. One of the Hyper-V guest is Domain Controller.
We need to change the Subnet and IP of Hyper-V Guests and Host from Class C to Class B. How do I change Hyper-V Guest IP's without loosing connectivity and locking myself out with Host?
I do have an understanding of possible issues relating to changing DC IP. I do not know best approach/practice to do this in Hyper-V environment. Any insight would be much appreciated.
Thank you!
Basic Hyper V CPU question

Server 2 CPU 8 Cores each

I want to know a rough broad answer to how I should assign VCPUS in Hyper V. This is a simple scenario with no unexpected usage or complex requirements

For this scenario we will say 30 users that are using normal everyday functions. File Print, AD. There is an RDS server that is used for office apps users and a database by 10 of the 30 users. The database is low intensity with infrequent complicated queries that take 5 minutes to process. The database is run on an SQL 2016 Server that is its own VM. I am not going to bring Disks and Iops into this. I am familiar with how these should be done.

Server 1 2016 AD 8GB 2VCPU
Server 2 2016 Print server 8GB 2CPU
Server 3 2016 RDS 16GB 8VCPU
Server 4 2016 SQL 2016 32GB 8VCPU
Server 5 2016 VDI for a specific high performance user to run infrequent large excel queries 16GB 8VCPU

Does this look reasonable? My aim is to reasonably protect functions like print and AD while giving a large amount of CPU to DB and excel functions as required. The larger CPU draws are infrequent and it is important they are prioritised.
Usually in what situation or scnerio the Windows Server will get difficulty to shutdown and require a force server reboot?

What can be check?
Host : Hyper-V Windows Server 2012R2

Guest OS: Windows Server 2016

Event Log : " VM and host networking components failed to negotiate protocol version 6.1"

HI All, Anyone have idea about this? will this cause the server reboot?
With VMWare do the VMDK files (virtual disks) have the ability to create multiple paths the the SAN controller? Allow me to provide context and background as to why I am asking.

I was recently on a project with Hyper-V and we were migrating SQL Server to a Hyper-V cluster. The customer had purchased a more powerful set of hardware for the hyper-V environment and the thought was, we are giving 2x the amount of hardware to our new SQL Servers, so we will get 2x the performance.

We fought issues for weeks upon weeks, and we finally found out that when using Hyper-V virtual disks (VHDX) files, the VHDX files have a limitation as to the amount of SCSI channels they can establish to the SAN controller. (I am not a SAN guy, so I am paraphrasing) We determined this to be true by adding a second data file to the SQL Server database and moving that data file to a new VHDX drive and the performed the backup in half the time. After speaking with Nutanix, they stated that Windows Hyper-V should directly attach to the LUNs therefore bypassing the hypervisor for the storage layer. The OS and C drive remain on the hypervisor with a VHDX file.

The VM architect stated that this was a problem with only Hyper V and the VMware does not have this problem of creating multiple IO paths from the VMDK files to the SAN controller. I am no SAN admin, but this is hard for me to understand as I think if all my SQL data files (*.MDFs) are inside a virtual container, there must be limitations on …
I am building a server in location A 192.168.x and it will be used to migrate servers onto this as a HyperV host with several VMs doing the work of original physical servers.

The server will then be transported to a different location B 10.0.X and will be where it lives from now on permanently.

My question is:

I want my Server to be able to communicate with 192.168.X so that I can copy data from servers and establish certain roles for SQL servers etc.. and migrate items over but I want the VM's to be tied to the location B network.

What would be the best way to do this so that:

1) it works
2) No performance issues when I move to Location B.

Happy to do a little rework on the Host but not lots.

So potentially I could have on the host:

NIC 1 - 192.168.X so it can communicate with servers and Internet services whilst I get the environment ready.
NIC 2 - 10.0.X configured (however unused until the move and point my VM's to this on a V Switch.

However, will the Host automatically allow traffic to flow for Internet and other servers on NIC 1 without any special setup?

I can see there are lots on this, but they do not answer it for me.. or rather I do not fully understand that they deliver 100% when viewing the posts.
So looking for a simple to the point steps for my scenario.

I have 1 new server (will be Hyper Visor - got 2016 on it now).. Waiting before I build VM's etc...  Will be DC, SQL, Files, DNS etc...
5 other servers to migrate data and …
I have a hyper v server running 3 VMS. One of the VMS has a hugh AVHD file associate with it. Its over 500GB and is leaving just 25MB of disk space on hyper-v server.

I have deleted the checkpoint in the hyper-v management console and there are now no checkpoints visible in the gui. However the AVHD file still remains.

How can I remove this file as it is casuing major issues?
I have an VHD that contains the OS for an SQL server.
Something is wrong at the disk level that the VHD file sits on,as my backups have been failing and I can't do a simple file copy of the VHD (yes the server is stopped)
I have tried creating a new VHD and selecting to copy the contents of the physical disk - this failed.
I tried to "Export" the Guest this filed.

So clearly there is something in the file/disk that is preventing the basic copying of the file.

The OS in the VHD works, i.e. I can turn on the Guest and it runs, therefore what ever is causing the issue is not effecting the actual OS files within the VHD.

I would like to know if there is a way I can copy the contents of this OS (windows Server 2008-R2) OS to another VHD.
  Have seen articles using Robocopy, but get the impression it won't do OS drives completely.

Ideally I would like to do it with the OS shutdown - i.e. open the VHD, copy contents to another VHD including boot records etc, clsoe the VHD.
Then I can jsut attached the new VHD to the guest and it should boot.

Any idea would be appreciated.



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.