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

I had created a VM, then a checkpoint, but somehow it was deleted.  It was only a little test VM I had set up, no big deal to lose, so I deleted the VM from Hyper-V Manager.

Now, whenever I try to create a VM--*any* VM--it fails with a popup error:

popup
It doesn't matter what the VM name is, it always claims that the checkpoint %vmname%.vhdx is missing.

Example:

I try to create a VM in directory d:\vm\vms\ called VM-01.  I tell it to place the disk in d:\vm\vms\VM-01\vhd\.  I hit Finish.  It acts like it is creating everything, then I get the popup above.  The directories are created (e.g. d:\vm\vms\VM-01\Virtual MachinesError log reports:

'VM-01' is missing a checkpoint. The disk paths missing used to be located at: D:\vm\vms\VM-01\vhd\VM-01.vhdx. The system cannot find the file specified. (0x80070002) (Virtual Machine ID 24161C9C-6C8F-4015-A258-DC2B8D42C907.)

This will happen regardless of what I name the VM.  

Security on the directory:

SYSTEM:  FULL CONTROL
%MyDomainUserAcct%:  FULL CONTROL
%LocalMachine%\Administrators:  FULL CONTROL

I've removed/reinstalled Hyper-V, done a system restore to before the problem started etc.  Services are running and I am an admin on the machine.  I still choose to run Hyper-V Manager as admin and get the same results.

To make matters more confusing:  If I choose the Quick Create option it works just fine.  If I create a custom machine and place it in the same directory …
0
Three Reasons Why Backup is Strategic
LVL 4
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

I have a client with 2 Dell T630 Servers (practically identical boxes purchased about 6 months apart). One runs Server 2012 R2 Standard, the other Server 2016 Standard. Both run Hyper-V. Each box hosts one VM (VHDX files).

I have multiple backups of the 2012 Server (Altaro VM backups, Macrium backups of the physical box, and I’d also make direct copies of the VHDX files as well before proceeding).

The 2016 box hosts a VM with Server 2016 Standard acting as a Domain Controller. The 2012 box hosts a VM running Server 2012 Standard joined to the domain. It is not a secondary DC, etc. – it is only a member Server that runs a database program that multiple users access.

Note - the host boxes are not joined to the Domain – just the VMs are Domain members.

The 2012 R2 box has a hardware RAID 1 array for the OS (Dell Perc H730p Controller). Storage Spaces handles the Hyper-V VM files. The Storage Pool was created as a mirror using 4 Samsung PM863a SSDs.

I needed to add space to the pool. Added 2 more PM863a drives to the Pool. The problem is that 2012 R2 Hyper-V cannot optimize the storage space used, so the 4 original drives are ‘full’ (i.e., they show as being 99% full) and the 2 new drives are practically empty. As I understand it, the 2 new drives will get allocated any new storage as needed.

I’d like to take advantage of the new features of 2016 Hyper-V (one of which is the ability to optimize the storage pool). My question is how to best accomplish the …
0
I have two 2012 r2 VM DCs running on a standalone Hyper-V 2016 host.  I set up remote management VIA PowerShell and Hyper-V Management console. I guess over WINRM with CredSSP.  Well everything was working fine (6-8 months or so now).  I all stopped a few weeks ago. I tried to pin it down to a security update but could not.  When I try to start a new PSSession or authenticate on the HVMMC I get an HTTP error code 403.  Everything I have found so far seems to be related to exchange and IIS,  neither of which are on these VM and the host is just Hyper-V it can't run anything else.  Also at the same time I could no longer check point my VM's which is required to work for my Unitrends recovery appliance.  It's like the entire management subsystem is broken.   I am still able to RDP into the host and manage the VMs with PowerShell but that's it...  I looked through application and error logs.  But I didn't see anything that appeared relevant to me...
Capture1.PNG
Capture2.PNG
0
We have 2 DC. DNS is installed in both. Now both DC are giving this error: The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.

Ran DNS Test, Below is the result:

C:\Windows\system32>dcdiag /test:dns

Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = QAKSQSDCDN01P
   * Identified AD Forest.
   Done gathering initial info.

Doing initial required tests

   Testing server: QADN\QAKSQSDCDN01P
      Starting test: Connectivity
         ......................... QAKSQSDCDN01P passed test Connectivity

Doing primary tests

   Testing server: QADN\QAKSQSDCDN01P

      Starting test: DNS

         DNS Tests are running and not hung. Please wait a few minutes...
         ......................... QAKSQSDCDN01P passed test DNS

   Running partition tests on : DomainDnsZones

   Running partition tests on : KI

   Running partition tests on : ForestDnsZones

   Running partition tests on : Schema

   Running partition tests on : Configuration

   Running enterprise tests on : KEPPELGROUP.COM
      Starting test: DNS
         Test results for domain controllers:

            DC: QAKSQSDCDN01P.KI.KEPPELGROUP.COM
            Domain: KI.KEPPELGROUP.COM


               TEST: Basic (Basc)
                  …
0
Hyper-V 2016 Trouble...  
HVMMC errorPSSession errorI have two 2012 r2 VM DCs running on a standalone Hyper-V 2016 host.  I set up remote management VIA PowerShell and Hyper-V Management console. I guess over WINRM with CredSSP.  Well everything was working fine (6-8 months or so now).  I all stopped a few weeks ago. I tried to pin it down to a security update but could not.  When I try to start a new PSSession or authenticate on the HVMMC I get an HTTP error code 403.  Everything I have found so far seems to be related to exchange and IIS,  neither of which are on these VM and the host is just Hyper-V it can't run anything else.  Also at the same time I could no longer check point my VM's which is required to work for my Unitrends recovery appliance.  It's like the entire management subsystem is broken.   I am still able to RDP into the host and manage the VMs with PowerShell but that's it...  I looked through application and error logs.  But I didn't see anything that appeared relevant to me...  
0
 
LVL 96

Expert Comment

by:Lee W, MVP
I'd suggest this creating a question for this - posts are generally just FYI to the community.
2
 

Author Comment

by:Chris Hobgood
Thanks!.... I'm new here!
0
Hello, so my 4 drive hardware backplane or RAID card is experiencing a failure, two ports are malfunctioning which caused the RAID to go in degraded state and cause a passthrough disk to fail.  SeaTools didn't find anything wrong with the drive, so I narrowed it down to either the RAID card, the cables, or the backplane, so yeah, rather than spend a lot of time with trial and error, I thought it might be worthwhile to replace all 3 components and try a different setup.

My existing Hyper-V setup involves two RAID arrays on separate cards, a RAID-5 (Areca ARC-1210) and a RAID-1 (Areca ARC-1200).  Both arrays are using Seagate Constellation drives.  The hypervisor boot drive is a standalone disk.  The RAID-1 is used for boot VHDs and RAID-5 used for Data VHDs.  So what I am looking at is replacing my current Areca ARC-1210 with an ARC-1220 which would get me 8 ports.  This would be enough to setup two RAID-5 arrays on the card and then I could stripe them in Windows Disk Management for RAID50.  I already have the six hard drives needed for this.

Let me be clear this is not a production environment, this is just a home lab.  Are there any pitfalls to look out for using RAID-50 with VHDs besides losing two drives on one array?  I don't have enough slots in the case to do RAID-60 and RAID-10 would leave me short on disk space.
0
I have been looking for a reliable solution to back up a Server 2012 R2 Server acting as a hyper-V host with 2 VMs. I see several expensive appliance based solution out there and others. I know data preservation is a top priority, but small offices have limited budgets that just don't allow for big solutions ($1500-2000 appliance then $300-400/mo for a 1 TB backup). I did read that windows server backup can do the job and I have used it successfully on servers. However, never on a Hyper-V host. Does anyone have experience in using it in this manner? I would like to hear your opinions?
Thanks - HBee
0
Hello Experts,

I have a Server 2016 Core virtual that resides on a Hyper-V 2012 server.  
I am trying to activate it and I keep getting a error and it won't activate it.  It says syntax error

I am using
slui /ipk LICENSE KEY HERE

Any suggestions, I am ready to pull my hair out.  

Thank you,

Karen
0
Dear all;
I have a problem. I had a server running win 2k8 R2 standard 64bit (6.1 build 7600), installed Hyper-V service
I restored a VM from Acronic backup successfully, but when i run the VM, i can not use the mouse
It said that "Mouse not captured in remote desktop session
searched many times on google. although i installed Integrations service but mouse can not be captured
i send 2 pic about this case; please help me to use mouse in VM
thks all2 pic...1 is notice on VM, 1 is setting on Integration service
0
Hello Experts,

I am hoping someone can tell what is going on here. I built a new Hyper-V host and migrated a couple of VMs to it from another host. When I went to modify members in the protection group I already had setup for hosts, it only shows Host Component when trying to add the VMs. The other hosts show their VMs. I even created a new protection group, and reinstalled the protection agent. It still does not show the VMs.

Anyone no what's going on?

Thanks!
0
What does it mean to be "Always On"?
LVL 4
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

We used the MSVM Converter 3.0 to migrate a W7 guest from Vmware 5.5 ESXI to Hyper-V 2012 R2. The conversion went smoothly, the computer boots up, but no network connection. The Driver shows as Error 31 Device is not working properly because Windows cannot load the drivers required for this update.  Things I have tried:

1) Removing the NIC, shutting down the guest, removing and readding the NIC to the guest from Hyper-V Management console. I have tried legacy and standard NIC's connected to different networks, without any change in behaviour. Both the Intel 21140 based driver and the normal Hyper_V Nic driver show up as the same error.
2) Set non_present devices to visible in command prompt and removed everything except the Miniport and other built in NIC's No luck.
3) As soon as I uninstall the nic and scan, it detects the NIC and instantly fails to install it.
4) Removed the config key from the registry for the current control set
5) Installed Integration Services.

IPCONFIG and NCPA.CPL show now network configuration.

The vmware tools appear to have been sucessfully removed during the migration (The machine was on during the migration).

There are other guests on this host which work fine that were also converted. They are using either the legacy or standard hyper-v nic connected to the same network without issue.

Because I can't get connected to the internet, getting updated drivers is difficult, however, given it doesn't appear to even be trying …
0
Hi,

I have an HP Server with 4 network cards (NIC teamed), after that installed Hyper-V (Server 2012 R2 with full GUI) and on it runs +/- 10 Hyper-V VMs (all Windows 2008R2 and 2012R2 Servers).

The network cards on the Hyper-V host are all 1Gbps and connected to two stacked 1Gbps Cisco 2960G Switches. I used to get 115MB/s throughput on copying between the Hyper-V Host and other physical Servers on the same Subnet.

Suddenly since mid July the throughput went down to +/- 250 KB/s when copying files from that Hyper-V host to any other physical Servers on the same LAN, we discovered this when I picked up that suddenly backups were not completing anymore and also that then copying data from the VM's on the host to any other servers it runs at the same (+/- 250 KB/s) speed.

Any ideas of what the heck could be causing this massive reduction in network speed?

All seems fine on the Host, I've restarted it, IPv6 is disabled.

Thanks for any ideas where we could start to troubleshoot.

Reinhard
0
I've got several VMs on a Hypervisor that are being backed up with Backup Exec. My understanding is that on the VM recovery checkpoints are created, the VHDX is copied to tape and then the checkpoint is deleted. My issue seems to be that, with two of my VMs, those recovery checkpoints are not deleting. If I right-click the checkpoints none of them give me the option to delete them so it needs to be done manually. If I neglect to do this I eventually reach the 50 checkpoint limit and the whole VM will fail to backup.

Windows Server 2012 R2
Symantec Backup Exec 15 (v14.2)
0
I'm working on getting a client off their SBS2011 Server and they have only one server. To make it a little more challenging I'm replacing all the drives with SAS drives to optimize performance so this will be a complete reinstall. This has to be done over a weekend so I'm trying to decide the best way to approach this so there is very little downtime. My plan is below and I'd like to know if anyone sees any gotchas.

Existing Server SBS2011 with Hyper V: SBS2011 is the DC for internaldomain.local

I plan on  building a new DC with a new domain name on Hyper-V and using our public domain name (newinternal.contoso.com) in Hyper-V on the current SBS 2011 Server, building out the users (only 15-20), connecting a few PCs to the new domain on the LAN to test. Export the VM to an external drive

Beginning afterhours/weekend copy all the data on the data drive to an external drive. Install the new SAS Drives, RAID 1 for OS, RAID 5 for DATA drives, Install Server 2012r2 with Hyper-V, then importing the New DC into Hyper-V, copy provision vhd data drive and copy all data off the external drive.
0
Hi,
Firstly, I have to say the quality of answers from EE members has been EXCELLENT.
I am fairly new to server virtualization so excuse my ignorance.

 I virtualize a physical server that has C, D, E, F drives and the conversion creates one VHDX that has all the drives within it. I create my new Hyper-V virtual server using this VHDX and it has the C, D, E, F drives displayed but they're virtual drives with the ONE VHDX file.
But that doesn't seem to have the same redundancy as the separate physical drives on the original server.
Is it possible to virtualise the server and have  separate physical drives for the C, D, E, F drives?
How would the VHDX file recognize the  separate physical drives
I am not using a SAN. I have a server with lots of disk space
0
Hi,
 
I like to upgrade a virtual machine running Windows 2008 R2 to Windows 2012 R2 in Hyper-V environment.

If this is a standalone computer, I would simply insert Windows 2012 R2 DVD and start upgrade process.
In virtual environment, do I simply replace Windows2008R2.iso with Windows2012R2.iso and start the VM?
Is there more to it?

Thanks.
0
Please tell me what is the major difference between VHD/VHDX file which is created by Hyper-V and WindowsImageBackup.

Thanks
0
Hi All,
Quick question as I cannot seem to find a black and white answer on this.

I have a Windows 2012 R2 Hyper-V Host with several VM's running on it, if I bitlocker the Host what would happen if I move one of the VM's to another host would it still work/Run?

Also same sort of question if I run Hyper-V replication to another WIndows 2012 R2 HYper-V server which is also using bitlocker would that work? i.e could I fail back and forth between the two Bitlocker hosts?

Regards

John H
0
Hi,

I have inherited a Windows 2012 R2 Server running Hyper-V.  Currently, there is only one VM, for simplicity I'll call this VM1.  The former tech set up VM1 with AD and also has up to 10 users remotely log into that VM to work remotely using remote desktop services port forwarding 3389.  Besides the obvious security concerns of port 3389 open to the server--shouldn't separate VMs be set up?  Am I right that it's a security concern to have Remote Desktop Services and AD running on the same server or is that old school thinking?  I'm thinking that they should have a VM that does RDS and another VM that is their AD server.  They're running several SQL databases on this VM as well.  There's 40 GB RAM allocated for this VM.  Please let me know the security concerns and also performance concerns with this setup?  Thanks!
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE
LVL 4
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

I am trying to get promiscuous mode working in a clustered Hyper-V environment.  The host server is running Windows 2012 Server R2.  Below I have the PowerShell command and the results that I get back.


Command:
$portFeature=Get-VMSystemSwitchExtensionPortFeature -FeatureName "Port Mirroring" 
$portFeature.SettingsData.MonitorMode = 2 Add-VMSwitchExtensionPortFeature -ExternalPort -SwitchName "MySwitch" -VMSwitchExtensionFeature $portFeature

Open in new window


Results:
Get-VMSystemSwitchExtensionPortFeature : A positional parameter cannot be found that accepts argument '$null'.
At line:1 char:14
+ $portFeature=Get-VMSystemSwitchExtensionPortFeature -FeatureName "Port Mirroring ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-VMSystemSwitchExtensionPortFeature], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.HyperV.PowerShell.Commands.GetVMSystemSwitchExtens
   ionPortFeatureCommand

Open in new window


Can anyone tell me what I am doing wrong with my command?  The ultimate goal is to enable promiscuous mode on a single NIC so it can be used for Network monitoring.  I will then map that single NIC to a virtual machine.
0
Alright, I got stuck with a hot potato. I was sent to try and restore an Exchange VM for a small but important LAN. The LAN is a small 6 server setup virtualized by Hyper-V on 2012. The actual VMs are Server 2008 R2 and DPM, of course, is on a 2012 VM. They have their own AD, they are non-clustered.

Essentially their Exchange server (Server 2008 R2/Exchange 2010) became degraded from several consecutive power losses and was deleted out to be rebuilt by another tech. The site does have DPM (2012), and full Exchange VM and datastore backups, however, they only have backups for a week in June.

I tried a full VM restore, all services including SharePoint fired up just fine, however, Exchange did not. When opening the management console it gives the failed to initialize error and the shell cannot locate the exchange server in the AD site.
(The console is unable to connect to the Exchange VM (itself) via Kerberos authentication, the error is the WinRm client received an HTTP error status 500).

The services stuck 'Starting' are Microsoft Exchange Address Book, Information Store, RPC Client Access, and Transport.

Exchange isn't my strength so I'm not very sure about where to look or what to look for. Thanks in advance for any help I can get.
0
I have server 2012, and the processor has 4 cores. I have a single virtual machine running server 2012 as well. I have an access database that all of the users are connecting to. About 15 users total. When I look at the CPU usage from the virtual server, it is only about 8%. When I look at the Virtual Machine's CPU it's maxed out constantly. I see I have only one core (Virtual Processor) allocated to that machine. How many can I dedicate to that machine if I have 4? I need that machine to run as smooth as possible!

I learned about the Cores here CORES
0
Hello guys,

I´m creating backup plan for our new hyper v 2016 server.
What is the best practice to backup hyper v VMs?
My current setup
NAS connected to Hyper v 2016 over iSCSI
Windows server backup for backups
3 Windows servers 2016
I´d like to backup all VMs from Hyper v so I can restore entire VM but I also need to restore one file/folder but I dont want to restore entire VM just because one file or folder...
What do you think? What is the best practice to backup hyper v VMs?

Thank you very much!!

Jiri
0
We have a Windows Server 2012 R2 STD running Hyper-V hosting some VMs. One of these VMs is our File server, also running Windows Server 2012 STD R2.  
The D: drive keeps getting near to full and I have increased the size a few times.
At 5TB there is only 61GB free again.

I ran a file size scan and it only show 2.6TB of files.
What can be taking up all the other space? Can I defrag a Virtual drive?

Drive Space
0
Hi Everyone,
I am trying to convert my physical server into a Hyper-V VM.
When I run the disk2vhd tool, I get an error - ERROR SNAPSHOTTING VOLUMES. See attachment

Any idea how I can fix this?

Regards,
DK
snapshot.PNG
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.