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

I converted a physical machine to a Hyper-V VM using:  https://www.experts-exchange.com/questions/29103396/Convert-physical-Server-SBS-2011-to-a-smaller-partition-into-Hyper-V.html#a42625473

Now when testing the VM I am having connectivity issues.  For starters I can ping the machine by ip address from some other servers on the network but from others it doesn't ping.  Also, from any device that I have tried I am unable to access the shares on the server.

Not sure how to go about diagnosing what is going on or why it is different now that it is running in as a VM.
Cloud Class® Course: MCSA MCSE Windows Server 2012
LVL 12
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).


I recently deployed a new server running Windows Server 2016 with the Hyper-V role installed with 6 virtual machines.  The issue that I am noticing is when connecting to a VM through the console in Hyper-V Manager.  When I first try to connect to any VM it will usually take about 10 seconds to connect and display the screen, but any subsequent attempts to connect to any virtual machine, including the first one that had the delay, will be almost instant.  It will remain this way for a while actually and any attempt to connect any of the VM's are very fast.  I basically have to wait around 10-20 minutes without connecting to one of them before the delay will be noticed, and again only on the first attempt to connect the console.  It behaves like it has to cache certain things before it loads completely.

As for troubleshooting, I have disabled VMQ's and Large Send Offloads on all network adapters, which did seem to help with the delay time a bit, but did not fix the first initial console connection delay.  RDP sessions do not experience this problem and network ping times as well as data transfers are completely fine as well.  

In all honesty, the delay isn't horrendous, but I am curious as to why it would do it only when I first connect to a VM.

Any information is appreciated.  

Thank you
Our Datacenter Ops Team reported the following error regarding a NetBackup failure on one of our Hyper-V virtual machines that's a member of a cluster:

the NBU Client servername failed due to a media write error.

05/25/2018 13:09:38 - Critical bptm (pid=21444) image write failed: error 2060022: software error
05/25/2018 13:15:13 - Error bptm (pid=21444) cannot write image to disk, Invalid argument
Within all of my Server 2016 Hyper-V virtual servers the color of the PowerShell window is black (and isn't blue).

This makes it difficult to differentiate between the PowerShell window and the command line window.

What can I do to make the PowerShell window always appear blue (and not black)?

Is there any way of making this change via some kind of group policy or global setting so I don't have to manually make this change on each and every virtual server?
2 Node, Server2016 Hyper V Cluster connecting to a SAN via iscsi.
The San has a total of 3 LUNS.  2 For the vm's to "live" and one for Quorum.

When I pause Node1 and drain the roles.  The VM's drain to Node2.

When I pause Node2 and drain the roles, both  Cluster Disks go offline and the VM's autopause.

During the outage, I was able to ping the iSCSI ports on the SAN and I disabled AV/Firewall on the hosts but that did not resolve anything.
Only resuming Node2 brought the CSV's online.

This cluster was able to failover properly in the past and my lab is failing over correctly as well.

I don't want to run the ClusterVal Wizard until my next maintenance window ( JUST IN CASE ). Before I do run the CLusterVal, has anyone ran into this scenario before?

Cluster.log attached
I have two servers . Both are 2012 r2 servers . I have installed the latest updates on both , yet I get this message when I want to replicate ,

“The operating system version on the replica server must be the same or newer than the version on the primary server . “
Hello all,

I cannot make a Hyper-V backup because the backup software does not see Hyper-V / VM's. That is because when I do a : "vssadmin list writers" the Hyper-V writer is missing.

Anyone know how to resolve that?

We have a Windows 2012 R2 domain controller Hyper V running on a Windows 2012 R2 server. We are getting speeds of 45mbps up & down but they Hyper V is barely reaching 8mbps.

The Hyper V has 2 processors & 16GB RAM so really more than enough for it. I have turned off VMQ's on the Hyper V (as per a quick google search) & this increased the speed a little but not very much.

Any ideas on what I am missing?
I am in the process of standing up a Ubuntu Linux server from a .vhd file.
The existing partitions are too small to handle the backup file thus I need to add extra partition space to the system.
This is a hyper-V hosted system.
I've never done this before. Can someone give me some guidance on what I will need to do?
Initially I was building a new server with 2 Tb of disk space but we decided to use a existing secured version of a .ova file which I converted over to a .vhd file.
Can anyone help me understand what I need to do?
We have more space available, the vhd was set to more than what the original image was configured for.
How can I expand the relevant partitions to take account of this extra available space?
Which partitions should get the extra space?  Opt is where the backups are stored via the main application so that one definitely needs to be expanded.
Filesystem                        Size  Used Avail Use% Mounted on
udev                               16G     0   16G   0% /dev
tmpfs                             3.1G  8.7M  3.1G   1% /run
/dev/mapper/vg00-root              19G  1.4G   17G   8% /
tmpfs                              16G  4.0K   16G   1% /dev/shm
tmpfs                             5.0M     0  5.0M   0% /run/lock
tmpfs                              16G     0   16G   0% /sys/fs/cgroup
/dev/sda1                         464M   58M  382M  14% /boot
/dev/mapper/vg00-opt               76G   76G     0 100% /opt
tmpfs                            …
Hi Experts,

I am testing the hyper v cluster availability on azure and wondering is someone from you did it before and can share some experience?

Cloud Class® Course: Microsoft Azure 2017
LVL 12
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

A client of mine wants the Direct Access role to be installed within a Server 2016 Hyper-V virtual machine.

I have already found instructions for setting up Direct Access but these guides don't include any instructions on how to set up the Hyper-V networking to support installing Direct Access within a Server 2016 Hyper-V virtual machine.

Please provide me with the instructions for installing Direct Access including setting up the Hyper-V virtual machine networking that is necessary for installing Direct Access within a Hyper-V virtual machine.

Direct Access will be installed on a server that has 4 physical RJ network ports.
Our file server fell over when it was merging an  avhdx file back into the original.  We have lost the avhdx file and rolled back the SAN snapshot which allowed us to then mount the volume

We ended up losing four days of new files from the data, as we had no backup until that point. (causing the new avhdx file , which was lost above).  However we also now have lots of corrupt files which were on the volume. Our backup is now past it's sell by date and is no longer useable (the tapes have been used by a newer job).

My question is.  I have lots of office files (pdf .doc.ppt  etc) which are unopenable due to corruption.  I've run a chkdsk/f and this has completed and found lots of problems, but the files are still corrupt.

is there any way to try and restore files corrupted by a VSS snapshot (if you've lost the snaphot)

I've tried to get back the avhdx file but to no avail. it's not recoverable
Windows 2012 R2 Hyper V. NIC in promiscuous mode. Allocated to CentOS VM. (Have also tried Ubuntu)

Only some of the traffic is being picked up by Wireshark on the VM. I am monitoring SIP traffic from my PBX. I can see traffic from the PBX, but none of the return traffic.

If I run Wireshark directly on the Hyper V host, I can see traffic in both directions. Its only when directed to the VM that I don't see the one direction. To me this rules out my port mirror, the switch, the NIC,. I also don't believe it is CentOS because the Ubuntu VM has the same issue.

I used this process to configure the Virtual Switch and NIC to allow the mirroring.


I have one hyperv server and two virtual machines on it. VM01 ( and VM02 (

There are two different person. user1 and user2. these both are on different remote locations.

User1 want to access VM01 remotely and User2 want to access VM02 remotely. I dont want to use teamviewer

I have one Public static IP address on my broadband router and Private IP address on the router is
tell me how I can give them remote access. because I can use port forwarding but It will use for one VM. how my second vm can be accessable to my second user?

We're looking to replace an aging server. The server we currently have is loaded with Windows Server 2008 R2 and used as a Domain Controller, DHCP, and DNS server. In addition it's primary function is to host dental software called Patterson Eaglesoft which utilizes a SQL database.

I'm trying to determine how I want to proceed.

At this point I'm considering just replacing the old server with a new Dell PowerEdge with the 3 year onsite warranty. The onsite warranty is great, but we hope to get way more than 3 years out of it, and extending the warranty beyond 3 years gets really expensive (around $1000 a year for support alone 24x7 4 hour response)

My other consideration is to  utilize a couple older servers, loading up the local disk (and RAM) so that I have at least 3TB of capacity (prob RAID 10) on each server and 32GB of RAM, then utilize Hyper-V replica to mirror the data from one server to another. My thought is that if server 1 was to crash, I would easier be able to swap over to server 2.

Another consideration would be to purchase a couple used servers leave the local storage at a minimum (RAID 1) and then purchase a couple QNAP NAS devices for my storage. The idea here is that if server 1 were to crash I would be able to get server 2 connected to the QNAP storage and get all the VM's back online as quickly as possible. My worry here is that the QNAP would still be my single point of failure hence the reason I would purchase 2 QNAP's (mirror 1 to the other)…
I have a 2012r2 VM created with the size of 300G in Dynamically Expanding VHDX on a 2012r2 Hyper-V host. In the Disk Management of this VM, it shows C: drive has 100G in C: drive and another 200G is unallocated.
The C drive currently has 50G free. I want to restore a backup files of 80G from a NAS to this VM and I thought even it currently has only 50G free space but it should automatically dynamically expand when needed. Unfortunately it didn't. The restore process ended up failed. What I don't understand is, why "Dynamically Expanding VHDX" didn't expand the drive when needed. Can you help understand this?
Hyper-V Storage Recommendation for small enterprise required.

I have a customer that is a 25 seat accounting practice.  Currently they have a server that is 4 years old, dual Xeon CPUs, 72GB of RAM.  Storage is a RAID 6 array of 8 15K 300GB SAS hard disks.  There are 2 years remaining on the warranty.  The server is a Windows 2012 Hyper-V host.  There are 3VMs, a DC, a file server and a RemoteApp server.  The server provides more than adequate compute resources but is running out of storage space.  One of the file server volumes has already been moved to a Synology NAS connected via iSCSI.  Even with that, storage on the server is becoming severely constrained. Storage requirements are only going to grow as the client is moving towards "paperless" operation.

I don't know much about storing VMs outside of the box that they are hosted on, but it seems attractive to move the virtual disks to some sort of network based storage. Easily scalable storage, and when the time comes the ability to replace the Hyper-V host hardware and simply migrate the VMs without disturbing the VHDs.  For a smaller organization like this it seems (from my limited research) that a true SAN is not going to be financially viable.  Is it feasible to use NAS boxes to store VMs or am I going to be better off just recommending replacing the entire server?

DR is handled by a 4TB Datto Siris, so building a multi node cluster really isn't necessary either IMHO.  I know there are some small scale …
Windows Server 2016 Event ID:41
I have this problem on two different HP ML350 servers, both have all HP updates and Windows updates installed.
Server is running as a Hyper-V and this only seems to be happening if we are logged on. I have not logged on to one of the servers for a week and no bad restart
Setting up a test environment in the virtual world, using Hyper-V, I have restored images of the necessary servers required to run a replica of our network. The purpose of the test environment is I will be migrating exchange 2010 to 2016. So far I have both our domain controllers, exchange2010, win10 with office 2013(this VM was installed from scratch, OS,Office,etc), exchange 2016(just server 2012 installed, exchange not yet installed). When I go to set up Outlook on the win10 machine, I get check marks for Establishing network connection and Searching for (email) settings, but get an error when "Logging on to the mail server" with "The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action." I'm able to ping the the domain controllers and the exchange2010 server fine. NSLOOKUP runs fine. Like I said, it's the exact replica of our current network. I have no issues in our production environment creating Outlook profiles so I'm really stumped here. Let me know your thoughts, thanks in advance.
Cloud Class® Course: Python 3 Fundamentals
LVL 12
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Hello Experts
I got windows server 2016 hyper v cluster.  (ideally VM that i want to mirror traffic will always run on one server)

I got two VMs   VM1 and VM2,  both are using VLANs on hyper v network  its VLAN 30.
before this i was not using VLANs and port mirroring was working fine , as soon i started using VLANs  port mirroring not working anymore.  
VM1 set to source  and VM2 set to destination.
i also tried setting VM2 network in trunk mode but no luck.

can someone advise is there anything else i should try.


I have created Hyperv failover cluster.

My topology:

I have two hyperv servers and one domain controller.
Each hyperv server has 2 network cards and I created NIC teaming on it. After that I have created 5 virtual network interface. Each virtual interface has different subnet to each other. I want to do every kind of service will use their own virtual network interface. Lab is working fine. But I have one issue.
How I can set, which virual interface will be used for which service like management service, heartbeat service etc.

Hi ,

I started facing an issue since this morning.

One of my dag members cant access fileshare witness server . I haven't made any changes on the servers.
when i try to access FSW with host name (fsw.domain.local) from affected dag member i get below error but i dont have any issue with other dag member from accessing FSW.

Test-replicationhealth comment on exchange gives me below error only on affected mailbox (dag member) server

"MB02      FileShareQuorum            *FAILED*   Couldn't access file share witness share '\\hc01.domain.local" 

Open in new window

Troubleshoot steps i have done from affected DAG member:-

1. FSW is able to ping by ip
2. FSW is able to ping by hostname
3. FSW is able to ping by hostname.domain.local
4.DNS is pointing to domain controllers
5.FSW is able to access through network share by IP
6.FSW is able to access network share by hostname
7. FSW is not able to access network share by hostname.domain.local
8.I have turned off AV didn't work
9. Firewall is already off.

Please help.

PS:- I'm using Microsoft exchange server 2013 on dag with 2 mailbox server and 2 cas servers running each on 2 hyper-v servers . FSW is in CAS1 hyper-v virtual machine.
all servers are running on windows server 2012 standard
Windows patch overnight has stripped my server 2016 build! Removed Hyper-v, removed all (domain) user folders and left a raw Administrator folder to sign in with. It left no windowsold folder. Had to install LSI software to shut up the alarm! Theres no recent server backup. Oh and its spits a general network error when trying to change the computer name or join my domain.
From what I'm reading on the internet- this is normal for Microsoft to do this???? But it usually leaves a Windows.old folder so that we can rollback to previous build?
How is this acceptable practice?!! It appears that I've lost all my work and have to start from scratch. I mean the machine's primary roll is to server Hyper-v  and I have all my guest VHDS(X) in another location but it will take me countless hours to get back to working on my current project.

Is there anything I can do?
Patch also broke my windows 10 machine. It left a windows.old folder to boot into install media and rollback but its broken too!
 Contantly cycling theough "Hold on while we get your computer ready". Whwn I try to rollback and login to the domain I get an error that the system32 desktop folder is missing or something.
Windows update is sweeping through my office like a terrible virus!
I have a hyper-V server with currently on dynamic IP and like to know if I should switch to static IP?
Since it is not a domain controller, I did not feel that it was necessary to assign a static IP, but like to hear expert opinions.


I am looking to set up a Linux virtual server in Hyper-V.  Where is the best\legitimate source of getting the Linux OS?



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.