Hyper-V

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 Experts,

Hope are busy with resolving issues. So, I had bought Server 2016 Standard License (That allows us 2 VMs or One Physical server). I used that licensed to installed only one VM on Winodws Hypervisor.

1) Its little bit stupid question but still I have to ask, Is there any way to use that license to install another VMs but on another physical machine?

2) If I will move this VM (Winodws hyper visor) to VM ware, Is  am allowed to use same winodws server license (Licesne mobility)?
0
Build an E-Commerce Site with Angular 5
LVL 13
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

I have 4 Hyper V VMs that have started showing Source = disk / Event ID 11 (The driver detected a controller error on \Device\Harddisk0\DR0) once I adjusted the paging file size on each

(I believe that is when it started - either that or pretty coincidental). I put the paging size back but the errors continued - again - that may not have been the catalyst but a coincidence.

The host machines show no issues/errors and Dell OpenManage (OSMA) reports all is well from a host perspective.

I am troubleshooting latency in a 3rd party app that is run on these servers and found this error in the Windows logs. It may not be related but I'm curious. Looks like there are multiple instances of it every 10 -45 minutes.

Any ideas?
0
I am setting up a lab environment following the basis on this article:

http://www.msserverpro.com/implementing-windows-server-2012-hyper-v-failover-clustering/

My question pertains to the NIC setup.

My Storage Arrays have only SFP+10 GB ports. My host machines have 4 One GB cards. Ideally I'd like 4 Ten GB SFP+ ports on the host machines - and I can obtain new NICs for them but would the heartbeat nic really need a 10GB connection? Obviously the storage NIC on the host would need 10GB SFP+ to communicate to the storage arrays - where the VMs will reside. Is there a way I can utilize some of the 1GB NIC cards for some of the 4 NICs (vEthernet, Production, Storage, Heartbeat) and 10GB for others and not have performance degredation? Which need to be on the 10GB connection to take advantage of performance?
0
Recover TypeHost Component SelectedRecover to Alternate LocationVM Configuration files in External USB HDHi,
 
 I have HyperV Server 2016. Virtual hard disks and configuration files reside in the following folders:

E:\HyperV\Configuration\Virtual Machines
E:\HyperV\Virtual Hard Disks

Recently I restored a virtual machine from an external USB hard drive (managed by Windows Server Backup) in Windows Server Backup. As seen in the screenshots, I restored the VM to an alternate location which is F drive (another external USB hard drive) . My intention was to restore VHDX files for the VM and I thought I could do that by using Windows Server Backup. But the problem was:
(1) Instead of selecting "Files and folders"  in Select Recovery Type screen, I chose "Hyper-V.
(2) In "Select Items to Recover" option screen, I ticked "VPN" VM and "Host components".

After restore job was finished, I realized that the VPN VM was running from the F drive (external USB hard drive).
So I shut down the VPN VM and got into "Settings" for VM and changed the virtual hard drive location from "F:\Restore\VPN\E_\HyperV"  to "E:\HyperV\Virtual Hard Disks".
Then I realized that Smart Paging File Location has also changed to F:\Restore\VPN\E_\HyperV\Configuration\Virtual Machines. In that folder, I saw 91A13DBB-A705-4337-8929-6F46E2023512.vmcx, 91A13DBB-A705-4337-8929-6F46E2023512.VMRS  along with 91A13DBB-A705-4337-8929-6F46E2023512  folder. At the same time, those files have been removed from their original …
0
I am working to restore a cluster that went trough hard events in last few months ( a complete hardware failure of one of the nodes, then a crash of the vm ( on the other node ) that required to rebuld a new vm. Trying to restore the Cluster now and when running the Cluster Validation option is returning the following error:  

"an error occurred while executing the test. The operation has failed. An error occurred while checking the state of the Active Directory object associated with the network name resource 'cluster name'. Access is denied "
Below is the error in event viewer:

Log Name:      System
Source:        Microsoft-Windows-FailoverClustering
Date:          10/30/2019 4:11:30 PM
Event ID:      1688
Task Category: Network Name Resource
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      SITESRVR.SITEdomain.local
Description:
Cluster network name resource detected that the associated computer object in Active Directory was disabled and failed in its attempt to enable it. This may impact functionality that is dependent on Cluster network name authentication.

Network Name: Cluster Name
Organizational Unit: CN=Computers,DC=SITEdomain,DC=local

Guidance:

Enable the computer object for the network name in Active Directory.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
 …
0
Ok, talk to me like I'm a three year old!  

I have several server 2012 R2 datacenter hosts.  These hosts are domain joined and they host about 300 VMs.

Across town, we added a site we just merged with and that site has several 2016 datacenter hosts with all of their VMs and the 2016 hosts are workgroup servers.

My management PC is Windows 10 and it's domain joined and running the Hyper-V mgt tools.

I am currently managing all of my 2012 R2 hosts from my Windows 10 machine.

I need to add the 2016 hosts that are not domain joined.  

To summarize, I'm using a windows 10 domain joined PC and I need to add some 2016 workgroup hosts to my windows 10 machine.

I'm close, but no joy.  I've read several articles and it's just not working.  

In server manager on the windows 10 machine I have successfully added one of the 2016 hosts, but I can't get it added to Hyper-V manager.  

The error I get is:  --  it's long!  I have changed the server name to protect the innocent, and I've typed the message from a photograph and I may have altered it some.  :)

The operation of computer "Microsoft-is-screwing-with-me" failed.  The WinRM client cannot process the request.  A computer policy does not allow the delegation of the user credentials to the target computer because the computer is not trusted.  The identity of the target computer can be verified if you configure the WSMAN service to use a valid certificate using the following command: winrm ser …
0
I have two sites connected by a IPSec VPN.  I have conditional forwarders at each site for the other site so I can resolve computer names using the FQDN.  I can ping and resolve between the two sites.

At site one, I have about 50 Hyper-V hosts and they all live in Hyper-V manager on my management PC.  These hosts are managing a domain there at site 1.

At site two, I have about 25 hosts and they live in Hyper-V manager on my management PC at site 2.  The hosts in site 2 are not on a domain.  The hosts are standalone.

Thinking myself clever, I decided to add the hosts from site 2 to the site 1 Hyper-V manager.  It's not working, even when I try "manage as" so I was wondering is it's even doable....adding workgroup based servers to a Hyper-V manager that manages hosts on a domain.

I was thinking that they are just Hyper-V hosts and they should add just fine, but I'm not finding that to be the case.

Thoughts?

It's not working.

OH yeah, site 1 hosts are all 2012 R2 and site 2 hosts are all 2016.  I'm adding to windows 10 enterprise machines.  On MS site, they say that should work.,
0
I have an old 2008 R2 server that is hosting our 8 Hyper-V VMs and I'm looking to upgrade. Just need some sound advice since the landscape has changed a bit.

I want to have some redundancy of the VMs and if possible, run them off the flash based array we have connected to it (This server also shares the array storage to the rest of the network).

Was thinking about this simple solution, but can you provide feedback on what you think of the design?
2 identical servers running Windows Server 2019 (not sure which version would suffice)
Both run Hyper-V for load balancing but mostly for redundancy.
Also wanted to share our storage array (which is currently connected to my 1 server, but want to somehow connect it to these two new ones) to my end users.
1
Dear Experts,

We have a hyper v cluster running on 2016. One of our customer is asking for 2 sockets 4 core each instead of 1 socket and 8 cores for his virtual machine.

I tried go through the documentation and google search yield inconclusive result. As I see it may not be possible with Hyper V

Can you any suggest if this is possible by any means?

Looking forward to hear from you

Regards
0
Installed HyperV Manager on Server 2012R2 . Have created a VM into which I've installed Server 2012.

At present there are no virtual network switches in HyperV Manager so no connectivity for the VM.

If I add a Virtual Switch in HyperV Manager (External network) - at the point of clicking apply i have a
warning may lose network connectivity for a while and overwrite some  static settings.

This is a production server in a remote location so cannot risk losing connectivity to it . Is this a generic message
I can ignore ? Thank you.



HyperV Virtual Switch Manager with warning message
0
OWASP: Avoiding Hacker Tricks
LVL 13
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

Hi
Im trying to install server 2016 on a VM on hyper V, without any success
I keep getting boot failure, reboot and select proper boot media...
Ive tried Gen 1 & 2 vms no success
Ive tried the Virtual DVD drive point to ISO on Hyperv Host and from bootable USB but still no success
where am i going wrong
Thanks in advance
0
Expanding (safe way) a basic volume on Windows 2016 server (hyper-v) that hosts hyper-v virtual disks without loosing data
0
Hyper-V running on a Win10 Pro PC. Host and VM share the same NIC.  Recently RDP stopped working to the VM.  After someone tries to RDP in I have to force "Turn Off" the VM in the Hyper-V Management Console and then it allows me to connect via Hyper-V Manager until someone tries to RDP in to the VM again.  VM locks up and have to "Turn Off" again.  Tried removing and recreating the virtual switch and when I didn't that the VM allowed me to connect via HV Manager without having to hard power off.  I've poked around the network settings on the VM and host and haven't been able to figure out what might be causing this lock up.  Nothing jumps out at me from Eventvwr.  

Anyone heard of something like this?
0
I have a hyper-V server running 2012 R2.  20 cores and 256 gigs RAM.  On the host is a VM (server 2016) with 8 cores and 64 gigs RAM statically assigned.  That server runs an SQL 2016 application for route automation.  The VM is five days old, just built, prepped and put into production.

There seems to be a memory problem.

Every day since install, the RAM works it's way up to 97% and the server becomes non-responsive.

Task Manager, Resource Monitor and RAM Map DO NOT show any process using this RAM.

I repeat, the process using the RAM does not show in task manager, resource monitor or RAM Map.

I'm having the dickens finding out what is eating up the RAM and need someone to make some suggestions that might help me zero in on this.

I've thought about the 2012 R2 host and the 2016 VM and maybe its a hyper-visor issue, so, anyone know any issues with 2016 running in a VM on 2012 R2?

Anyone have any software they know of that might show me where the RAM is allocated that is not showing in the programs mentioned above that I'm using?  Something other than RAM Map maybe?

Anyway, that's the ghost I'm chasing.

Thank you for any feedback you might have.
0
I have a vm in hyper-v host that I tried to restart a service stuck in stopping mode. After waiting minutes I used task manager to kill the service. In Services.msc was still showing stopping. I then tried to restart the vm using shutdown cmd from hyper v manager. Shutting down got stuck too . After few more minutes I used Turn Off cmd in hyper-v manager. When I tried to start the machine I got the attached error. I would really appreciate any help on this, having this production vm down for a while now. Thank you,

screenshot of error

Gabe
0
We have some 2012 R2 VM's (Hyper-V) we would like to move.  They are currently located on a 2012 R2 server and are going to move to a 2016 server.  2012 R2 will continue to run on the VM's themselves.  After we do some work on the physical 2012 R2 server, we are going to move them back to the 2012 R2 server.  Is there any known issues in doing this for a live migration either to the 2016 or back to the 2012 R2 that we need to be aware of?
0
Hyper-v Guests sluggish, random disconnects, high cpu (after September 23rd, 2019 update)

Host: Windows 2016 Server Stnd
Guests: Windows 10 Pro (6 guests)
Ram (16GB Each)
Everything is up to date; windows patches, we have removed antivirus and security tools, we still have these random issues.
Users can connect, if they get disconnected (RDP) they cant connect and we have to reset the vm.

Can someone help me here? Please and thank you :P
0
I am trying to upgrade my windows 2008 R2 to windows Server 2012 r2.  the server is a hyper v server.  the upgrade fails and gives me a message  Windows setup cannot continue. restart the computer and restart setup.

the server is also running Sql server 2012
0
Hello,

I have a stand alone Hyper-V server, VMs are located on a storage on a iSCSI shared disk.
Now I have another server to add as an Hyper-V new node, so the idea is to configure Hyper-V fail over cluster.

It's possible to "migrate/install" the actual stand alone Hyper-V production node to the new scenario using the same iSCSI shared disk ?

Can load the VMs load over the 2 nodes ?

Thanks.
0
Exploring ASP.NET Core: Fundamentals
LVL 13
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Host OS - Server 2016 Standard with Hyper-V Role only.
Original VM - Windows 7 x86 Ultimate
Attempting to update to Windows 10 Pro Build 1903.
Host Server is a Dell ProLiant R430, single Xeon CPU 6GB RAM

I am attempting to upgrade a Windows 7 VM to Windows 10 and am getting the:
"this pc's processor doesn't support a critical feature (nx)"
error.
I have had a look throug the Host's BIOS and cannot find any mention of Execute Disable, DEP etc etc that I have found looking for similar issues regarding physical updates.
Any suggestions gratefully received as I am trying to avoid having to re-install all the existing Windows 7 applications.
The upgrade worked perfectly on a physical Windows 7 Workstation.
A clean install of a Windows 10 VM works OK.
0
Running Windows Server 2008 R2 as a Hyper-V host for a couple of VM Servers.  For a new Backup scenario I need a program that will not work on 2008 R2.  Can an 'in-place,' upgrade to Server 2016 be done?  Will I need updated licenses to keep the two VM Servers I am currently using?
0
Looking for PS Script;
Powershell Script to find Hyper-V Cluster-wide and Host level storage space available and export the Data to Excel Sheet with 2 Columns and 2 Rows:
Columns Required: 1) Total Space available in Cluster 2) Total space available in Host​
Rows Required: 1) Cluster Name 2) Host Name​
Server Edition: Microsoft Windows Server 2016 Datacenter Edition - Hyper-V
0
Hi All,
Previously I was assisted when I updated a Windows 7 Pro PC to Windows 10. On it was a Windows XP VM using the Microsoft VM kit. https://www.experts-exchange.com/questions/29158738/Windows-XP-VM-did-not-migrate-when-host-computer-was-upgraded-to-Windows-10.html (Thanks again for your help).

After migrating, I setup Hyper-V to be able to start the Win XP VM which has a new issue. It prompts to re-activate upon start-up. I am able to work around it for about 2-minute intervals before it locks and puts me at the Activate Windows screen. No big deal.

My primary issue is that I have a file that is on the Windows XP VM and I cannot copy it to the Host computer. I have tried Enable Guest Services, Enable Enhanced Services, etc but since it is Win XP that option is not recognized.

Any suggestions?
0
I just setup a 2019 standard server and created the first VM guest.  When I go to connect to that guest in hyper-v manager, the display window is larger than the screen.  Both the host and guest instance are set for 1024x768.  I do not have the option to grab any of the borders of the window to drag and make the window smaller.  This should be straight forward.
0
Hi Virtualization Experts

We have an old VMWare ESXi server running two Windows VMs (one running Windows server 2008 and the other running Windows 2012 server).

VMWare ESXi is version 5.1 and free license (I think).

I have a brand new server which is running Windows Server 2019 standard with Hyper-V role installed.

I need to convert the virtual machines on VMWare to Hyper-V machines.

The Microsoft Virtual Machine converter is a no go because ESXi is running free version 5.1.

Hyper-V host is Server 2019 standard edition.

Here is where I am right now.


1. The first VM has 4 disks as you can see in image one. VM Guest OS is Windows 2008 server.
2. All disks are set as  SCSI on vmware end.
3. Exported VMware machines using the "export to OVF" method.
4. Converted VMDK files to VHDX file using Powershell command.
5. I created a new VM on Hyper-v with Gen1 format and attached 4 disk as scsi disks.
VM boots up to flashing cursor
6. Changed disk type to IDE and machine starts up but fails to boot into windows and goes to startup repair
Startup repair fails to fix the issue itself and goes into kind of recovery mode.
7. In this mode, it asks me to login with Administrator account to which I don't have pw since this is a domain controller and I don't know how to even set the password of local administrator account on a domain controller.

How do I fix this guys?

I have matched all the rest of the VM config i.e. the RAM, vCPUs etc.
0

Hyper-V

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.