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

Moving a vmware 2k8 to hyper v

I have inherited a vmware esxi 6 host that was a free version which has long expired into the limited host. I have taken responsibility for this and want to move to hyper v so it is all properly backed up etc on newer servers. My issue is there is only the vmware host and no vcentre or other way to manage it and I cannot export it off the Host to a hyper V. All other infrastructure is hyper V so getting vcentre makes little economic sense. MS virtual machine converter won't do it as it says it needs vcentre, vmware converter only exports to vmware. So what to do? They aren't completely critical servers they are bdc's and av servers so could be rebuilt but would really like a way that didn't involve that at the moment.
The 14th Annual Expert Award Winners
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Hi All,

Used disk2vhd to convert an 2003 server. The conversion went well, i choose vhd as an option. Now I'm trying to attache the hard drive to a Hyper-v Server 2016 and getting the error below. I moved the vhd file to suggested location, checked permission but nothing. Have a feeling it has to do with a compatability issue with server 2016 and vhd files. Any help appreciated.

Error Attaching VHD file
I licensed my below setup so I could run 4 HyperVs on each physical server

If one of my PHYSICAL servers dies can I restore 2 Windows Server 2016 HyperVs backups onto the remaining PHYSICAL server without having licensing issues since I have enough LOCAL storage to support all 4 HyperVs on one PHYSICAL server ?

 ** 2 PHYSICAL "16 core licensed" Windows Server 2016 servers via OEM licensing, not OpenBusiness/etc
      ** each hosting 2 Windows Server 2016 HyperVs
      ** each using LOCAL storage
Best Practice for Veeam Backup:


we have a Cluster running with 14 nodes.

Each node contains different VM's.

we use Veeam for backup.

Would you use 1 backup job to backup the Cluster of would you create a backup job for each customer on the Cluster. A customer has about 4 to 10 servers in our cluster.

Of how to do this best?
I have a HyperV server with three VM's. Each VM is plugged into separate NIC. The IP addresses for the virtual machines are hard coded .51 and .52

In Network Connections on the HyperV Host I see the three NICs which are named for each VM. Each one is set to obtain an address from DHCP.   I had thought that these would be the same IP as the VM but evidently not.

What is the best practices for IP addresses for these NICS. Should they be the same as the VM, a static IP on the same network or a static IP on a different IP network?
When building a Hyper-V server what is the best practice for how many processors to give it?
I have a Windows 2016 Server Hyper-V host with IP address
I have configured a Primary Domain Controller (domain: MyDomain) with IP address and a Database Server with IP address which I have joined to MyDomain.

Should my Hyper-V host join the domain too?
I have an issue with SAN Storage and Hyper-V, i run my Virtual Machine on IDE Controller and as per MIcrosoft VM SQL best Practice they informed its better to run the VM on Hyper-V SCASI controller now when i tried to move from IDE to SCASI the VM not booting and windows not start.

Hyper-V Windows 2012 (not R2)

What should i do?
Task Manager CPU 99% but list adds up to 14.3%
I've seen this type of difference in task manager before, but not such a large difference.
Investigating with ProcessExplorer has never yielded me more information.

This is a 2012 [r1] VM-Guest Server with RDS role (10 desktops + SQL), running on 2012 [r1] Hyper-V Host.   Its no secret this server is under-powered, but while I've advised of this the customer keeps coming back with "why is it slow"   Grrhhhh...   I'd like to find evidence that is more specific to backup my argument, something I can show in pretty colors that they might grasp as the truth.

How can I further my understanding of why the the list isn't adding up to 100% ?
Feel stupid for asking as I have done a lot of SAN fabric design and implementation for smbs

Typically, I use the gui and connect devices and create the aliases as they are connected in. I then create zones etc. Brocade gui is so slow it can take some time.

I have therefore created the aliases in advance by checking the impending hardware for its wwpn, creating the aliases and then zoning together, i.e. I used the alicreate command

When I actually connect the live kit that marries up with my pre-created aliases, will they light up and start working or not? (Assume I have applied the zone config etc)

Free Tool: Site Down Detector
LVL 12
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hyper-V PowerShell Scripting Issue

I need to Modify my script to compensate for the following : Total Memory of All Hyper-V Hosts (*combined Total*)

I need to Add a calculation for Node Loss to this script:

I am open to suggestions on this, however a base calculation would be *Total Memory Pooled* / 256GB
As the Avg of my Hosts have 256 GB RAM.

#Total Count of Physical CPU Cores
#Total Count of In use CPU Cores
#Total COunt of Available CPU Cores

$cred = Get-Credential
$serverList  =               Get-ADComputer -Filter "Name -like '*SERVER*'" | Select-Object -ExpandProperty Name

#Get Hyper-V Fail-Over Information
$HyperVFailoverInfo = Invoke-Command -ComputerName $serverList -Credential $cred -ScriptBlock {
    $vmhost = Get-CimInstance -computername $serverList -ClassName Win32_OperatingSystem -ErrorAction Stop
    $win32ProcessorList = Get-WmiObject -Class Win32_Processor
    $vMList = Get-VM
    $freePhysicalMemory = [Math]::Round(($vmhost.FreePhysicalMemory / 1MB), 2)
    $totalPhysicalMemory = [Math]::Round(((Get-WMIObject -Class Win32_PhysicalMemory | Measure-Object -Property Capacity -Sum).Sum / 1gb), 2)
    $totalInUseMemory = [Math]::Round(($TotalPhysicalMemory - $FreePhysicalMemory), 2)
    $TotalCPUCoresInUseRM = ($vMList | Where-Object {$_.State -eq 'Running'} | Get-VMProcessor | Measure-Object -Property Count -Sum).Sum
    $TotalCPUCoresInUse = ($vMList | Where-Object {$_.State -eq 'Running'} | Get-VMProcessor | Measure-Object -Property 

Open in new window

I have  2 win server 2012 R2 server cluster and 3 VM server on this.

I am not able activate windows by using  slmgr /ipk DBGBW-NPF86-BJVTX-K3WKJ-MTB6V command.

1 Server has been activated but remaining 2 not.
Hello to all,

I have a very strange issue with m Remote Desktop Servers,

I have 4 Remote Desktop Servers and last month randomly and with frequency 2 times a week the Remote Desktop server loose network connectivity.

The strange is that users are conencted but can't open any application that are in network.

This is the first problem.

Because we use roaming profiles/folder redirection after 1,2 minutes users hang.

To resolve the problem from the HYPER-V IN Virtual Machine settings disconect the Virtual Switch and after 1 minutes add back the Virtual Switch in Network Adapter.

I have an application which use Visual Fox Pro and i suspect that this cause the problem.

But how can track down this behavior to find the cause of the error

I have a VMWare 5.5/5.1 environment and a Hyper V 2016 (Nano) environment. We're running IIS servers in both environments. The servers on VMWare perform at acceptable speed for IIS but the HyperV ones are dramatically slower (3-6x slower). For example, uploading to the IIS FTP on VMWare we'll pull 9MBytes/second (makes sense for our connection) and 1.5MBytes/second on the Hyper V one. The problem occurs on our Web apps too, a site that loads 23MBytes of data takes ~3 seconds from the guests on VMWare and 16-20 on the Hyepr V guests.

Previously we did a V2V of the IIS servers on the VMWare environment and noticed this problem, so we left them on the VMWare environment (they are Windows 2012 R2). The ones on Hyper V are 2016 and are intended to replace those servers. We had mistakenly thought that the issue was with the V2V and that a new server build would fix it.

Extra Info:
-The VMWare hosts are older servers, all servers have multiple teamed Gigabit NICs. VMQ is disabled on the Hyper V guests.
-Servers are on the latest updates since 2/10 (some even more up to date)
-SMBv2 Copies are 90+MBytes/second (limited by a firewall)
We used Sysinternals' Disk2VHD to convert an HP desktop running Windows 7 Home into a first-generation VDMX.  It was saved over the network on a new PC running Windows 10 Pro with Hyper-V (we saved the primary partition only, not the HP recovery).  Now when starting the VM, it just shows a blinking cursor and doesn't go anywhere from there.

Is there anything I should do to correct this?

We have had this issue for a while on a server 2012 r2 running hyper V.
Whenever we try to reboot the server or just restart the Hyper V service. it fails to stop.

I have been reading some articles online but have not found a definitive fix except to uninstall RRAS service or uncheck a setting in the Vswitch properties.
(Allow Management operating system to share this network adapter) this needs to be unchecked.

Or i read other articles to use a second nic which the server does have 2.

Does anyone know of any other possible fixes or if Microsoft solved this in an update?

We're considering a change from VMware to Hyper-V (Windows server 2016) when buying new host servers, however we would like to use SSD Cache.
This is supported with WMware. Does hyper-V support SSD cache?

Our VM's stored in a Dell Equallogic SAN - mix of 7.2K SATA and 10K SAS drives.
I have a Server with 300Gb in RAID1 and 4TB in RAID10
I have installed Windows 2016 Server Std which I shall use as the Hyper-V Manager. This has been installed on 32Gb of the RAID1
I now have:
Drive C: 32GB (RAID1)
Drive D: 2TB (RAID10)
Drive F: 250Gb (RAID1)

I intend to build two VMs
When I build the VMs, should I installed the VM image on Drive F: and the VM discs on D: to give the best performance?
Hi There,
I'm new in Hyper-V. I explain the requirement and you give me your advise about hardware and software. (we try to keep the cost minimum).  

We need to setup a set of VM for test and development:
- It's not production and a VM can be done for a day until it restore.
- Around 4-5 Ubuntu Linux and 2-3 Windows 10.  
- If one VM or machine crashes I like to be able to restore it easily to the second hardware.  
- In my wish list I eventually I like to have some high availability. (Depends on cost.)
How can I setup this with minimum cost? if i want to get a bit more HA how would be the cost?

For hardware:
We are thinking about getting 2 used/refurbished Dell server, maybe: Dell PowerEdge R620 with 2*Xeon
any thought or suggestion about hardware?
Please let me know what you think.
Thank you in advanced
Free Tool: ZipGrep
LVL 12
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

How can I find the ip address of my windows server 2012 hyperv vm when turned off since I want to make sure it is NOT a static IP I already have in use before I turn it on ?

I did the below, but do not see an IP address field ?
  1. open Physical Server
  2. open Hyper-V Manager
  3. right click on the VM that is OFF
  4. left click SETTINGS
Hi All,

I just wanted to get some opinions on Veeam Replication. I have a two server site, both servers are Hyper V hosts with two VM's on each, one VM on the first Host is a DC that holds all the FSMO roles, second server has a backup DC VM

Both of these DC's are gettings backed up with Veeam to a NAS, I also have the DC with the FSMO roles replicating to the other Hyper V Host.

Is it best practice to have this FSMO holding DC replicated which i could fail over with Veeam if i loose it, or is it better to just have the backup, if I lose the FSMO DC, rather seize the FSMO roles on the backup DC and build a new DC, transfer roles back etc.

The replication job of the FSMO DC is working perfect with Application Aware enabled.

Veeam's articles kinda suggest its ok but other forums suggest that FSMO transfer or Seize would be better.

I appreciate any advice or suggestions

I have a client with server 2012 running hyper-v hosting 2 x VHDX. One of the VHDX is dynamically expanding and filling the drive making them both pause.

I am unable to mount the drives in disk management, when I do the drives appear for a second and then vanish, however they mount in read only mode fine. There is a partition of free space (1Tb) on one of the drives which I need to zero out and remove or use a partition tool to move this to after the active volume.

Anyone have any ideas why the drives wont mount with write access in Disk management (or any other ways to zero the data and shrink the VM)
I have been trying to setup a Hyper-V proof of concept system for quite some time. I am using a free Microsoft eBook titled "Deploying Hyper-V with Software Defined Storage & Networking" by Mitch Tulloch. There are probably other ways to do this, maybe better ways but this is the way I chose to do it. I have attached the eBook to this question for reference.

I am having an issue with configuring network virtualization. The steps used have you adding a couple of Gateway VMs through downloadable service templates from Microsoft. You deploy then configure these gateway VMs, create a configure a VM network and then deploy a couple of VMs on the compute host group to prove connectivity. Except the connectivity is not there. Neither VM can "see" outside its subnet as if the gateway is not doing its job.

I think the issue lies in the part where I am supposed to "configure your physical switch infrastructure to be able to route traffic into and out of this VM network and the respective virtual subnets" I am really not sure what this means.

I know this is really high-level but please ask any questions for the detail that matters to you.
Just installed Hyper V 2016 on a new server. I did Raid 1 for the OS and Raid 10 for Data. When I go into my hyper V manager to change the defaults of the storage for the virtual machine files so I can point them to my Raid 10 data I do no see the option to select the drive. It is only showing my drive C currently. What step am i missing in getting my drive added.

I have a new empty server and a licenced copy of Windows 2016 Std Server.
I want to build two virtual servers. I have downloaded and installed Hyper-V 2016 standalone and now I have a non-GUI interface with basic options for domain, network etc. but of course, no GUI to install VMs. Is the standalone version the way to go or is it unnecessary for what I'm trying to do. It seems a bit industrial just for two VMs.
I've seen Internet videos talking about using Hyper-V in Windows 2016 rather than using Hyper-V standalone but doesn't that just give me a Windows 2016 server with a Windows 2016 server inside it? Maybe I'm missing the point.


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.