Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

Hyper-V - virtual machines don't start automatically after power outage

$
0
0

Hi,

I have a HP server running Windows 2012 R2 + Hyper-V. On this server, four VM have Windows Server 2003 R2, and one VM has Windows 2012. After power outage, 1 2003 R2 VM and 1 2012 VM are started properly, but the other three machines aren't. I've started it manually. All VM's have last version of Hyper-V integration tools installed, the option "Automatically start VM if it was running before the service was stopped" was chosen. I'm not very familiar with Hyper-V, so, I've investigated only Hyper-V-VMMS event log. There are some recurring errors:

The Integration Services Setup Disk image could not be updated: The process cannot access the file because it is being used by another process. (0x80070020).

and

Failed to get the disk information.

But I think it isn't a clue.

How can I clarify, why these machines aren't started automatically?


how to start cancel merge in progress in hyper v

$
0
0

Hi,


we cancel the merge in process manually ,how to start it again ?

Operating System : Windows 2012 core

Regards,

Shahul 

Hyper-V Server 2008 R2

$
0
0

I currently have two HP ProLiant DL380G7 servers running MS Server 2008 R2 in Core mode, with Hyper-V (Core 1 & 2).

Core 2 currently has two VM's running on it, both setup with a virtual network attached to a physical NIC on the Core itself. I recently upgraded the core's memory to allow for resource allocation to a new VM. I have since created and installed MS Server Enterprise 2008 R2 SP1 onto this. When creating a new virtual network for this VM I attached it to what I thought was a spare/unused physical NIC, but didn't tick the "Allow management operating system to share this network adapter" option.

I am now in the horrible situation whereby all physical NIC's are being used by the virtual network, thus preventing me the ability to remote manage the physical core OS itself! Thankfully the Microsoft Virtual Network Switch protocol is enabled on it meaning that it still allows the virtual machines on this Hyper-V host to communicate on the network.

I've downloaded and imported the following PowerShell module on Core 2: http://pshyperv.codeplex.com/releases/view/38769#ReviewsAnchor to try and manipluate the VM NICs. The core itself via SCONFIG is stating that "No active network adapters can be found". I'm having some real trouble being able to re-attach a NIC to the core to be able to re-configure its IP address etc. and then manage it again.

I've spoken to numerous people who have experienced and used this module but I'm not getting anywhere. Myself and a contact have been troubleshooting this for the last two days and its really starting to grind my gears! Any help would be much appreciated as I'm in dire need of some expert advice. Thanks in advance.





Server 2012 Hyper-V Replication: Cross Site and Cross Domain

$
0
0

Greetings Everyone,

Has anyone got Cross Site and Cross Domain Replication working yet? I can't find any guides for this, everyone still seems to be testing with two servers on the same switch, and mostly on the same domain using Kerberos.

I got the SSL Certs working, and replication enabled on my Replica server, but my Primary server still says "could not get configuration details of the specified server" after step one of the wizard, and returns the error "the connection with the server was terminated abnormally” when I press "Finish". From the Primary server, I can ping my Replica server using the DNS name I'm using to configure replication.

Can anyone tell me precisely which port(s) need to be opened on both the Windows Firewalls and each site's Gateway Firewall? So far I've opened port 443 on the Windows Firewall and Gateway Firewall at my Replica site, as well as ping for testing basic connectivity. I've also used prtqry to verify that port 443 is open at the Replica site.

I've read dozens of Server 2012 Hyper-V Replica guides now, and not a single one seems to indicate any more than this is necessary. Although, I don't think ANY of the guides I've found so far are for Cross Domain and Cross Site replication using Certificates, if that makes a difference.

Hyper-v New installed VM stopped by no reason

$
0
0

Hi expert,

I have installed the Hyper-v in Win Server 2012 R2, and created 5 VMs all of them are win server 2012 R2, but found there have 2 of them always stopped by no reason.

Is there have some clue on it ? Thanks in advance.

Tao

Third party VM Backup fails when enable VSS

$
0
0

Hi,

We are using Veeam Backup and Replication 8 to backup SBS2008 SP2 virtual machine.  Veeam is installed on a workgroup Hyper-V host server running Windows Server 2012.  The SBS server is running SQL express, Exchange 2007 and SharePoint foundation. We started having issue recently with the VSS backup for the SBS server:

Hyper-V VSS writer retryable error when trying to backup with VSS enabled.  

This Hyper-V VSS writer error gets resolved after restarting VMM service on the host.

Also seeing Exchange related errors:

- Exchange VSS writer has unsuccessfully completed the backup of storage group.  No log files have been truncated for this storage group. Event 9782

- Information Store Shadow copyu instanace aborted.  Event 2007

We have tried:

- run Windows Server Backup with VSS full backup - Backup job completed successfully

- run Veeam backup with VSS disabled - Backup job completed successfully

However when we run vssadmin list writers on SBS server, it shows no error for the Exchange VSS writer.

We have already contacted Veeam and they have run some diagnostics and confirmed it is related to Windows Server.  

Could it be SQL or SharePoint VSS writiers interfering with Exchange VSS writer?

Please provide some assistance on how to resolve this issue.

Thanks

Windows 10 Pro running Hyper-V, Windows 10 Pro Virtual Switch up, network adaptor connected, now it wants proxy change settings to connect to internet, anyone knows what has to be done with settings and router, never used a proxy server directly.

$
0
0

Windows 10 Pro running Hyper-V, Windows 10 Pro  Virtual Switch up, network adaptor connected, now it wants proxy change settings to connect to internet, anyone knows what has to be done with settings and router, never used a proxy server directly.

I was "trying" Ethernet Realtech and Intel dual broadband adapter, restarted VM, a Kari tutorial said don't bridge anything to host OS, the switch will do it, invoking INTEL WI-FI adapter, its bridged, shared, and up in both instances.

The point is to get Windows 10 Pro Hyper-v VM connected to internet for windows updates and a application that can't run with Office 2013. 

The virtual switch was active, up, and I did not have network adapter selected to named new virtual switch, i restarted router, and VM a few times.  I need to know what proxy servers settings to use, I can see default gateway, and its own local IP.

Can anyone speak to proxy settings for a virtual switch and likely the adapter, the trouble shoot connections keeps coming back with change proxy settings.  It seems like I'm very close to getting this beast to work.  I've been fighting with it and reading and researching it for a couple days.

Migrate from HyperV 2008 R2 to HyperV 2012 R2

$
0
0

Hi All,

I have a Windows Server 2008 R2 with around 20 VM's. I have to migrate it to another server which runs HyperV Server 2012 R2. I know that the export/import will not work in this case.

The two servers are 100% identical. I would like to do it safe, so I thought I will add a few disks to the 2008 R2 host, turn off the VMs and COPY all the VMs with all of the configuration files. From this point I won't start any VMs on the 2008 R2 host. After the copy is done, I would put these disks to the HyperV 2012 R2 server and import the VM's with "Register the virtual machine in-place" option. In case if I have problems after the import, I could start the VM's on the 2008 R2 host.

What do you think? Will it work?

Kind regards,

Dvijne


Hyper-V Virtual Switch Manager on Surface Pro 3 - Bind Failed: Data Supplied is of Wrong Type

$
0
0

Just over a week ago I set up Hyper-V on Windows 10 (build 14257) on a Surface Pro 3, set up a new external virtual network and everything worked well until some updates were applied today and the external network I created had changed itself from being set to Internal instead of External and VMs displayed network connection disconnected.

I have tried to fix this from Hyper-V Virtual Switch Manager but every change I try results in an error message when it is being applied saying:

Ethernet port '{A62DC670-A998-4435-8984-DC21D5996290}' bind failed: Data supplied is of wrong type. (0x8007065D).

I did find I could remove the existing virtual switch but now I have no virtual switches and am unable to create any due to the error above.

Does anyone know how to fix this?

I have looked online at similar problems but in each case the error is different.

Thanks

Robin


Robin Wilson

.vhdx corrupted and unreadable & not able to attach back to VM

$
0
0

Dear All,

one of my VM's .vhdx file got corrupted and when i try to attach it back it says .vhdx corrupted and unreadable

Please guide me is there any tool i can repair .vhdx file.

I also tried some 3rd party tools, the tools it self says not able to recognize or open the file.

heard vhdtool will repair. but before that i need a tool to covert .vhdx to vhd.  please help


Can't use Hyper-V GUI tool

$
0
0

Hi Guys/girls:

Need your kind help. When I click Hyper-V manager under Administrative Tools in Win2012 R2, I got empty windows.

How to fix? Please share your idea.


Best regards,
Riquel

Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Hyper-V Switch - supports VRF?

$
0
0

Hi,

I searched for some time and did not find an answer/documentation. Does the Hyper-v switch support VRF (virtual routing and forwarding)?

Thanks.

Hyper-VM Interval internet cutdown

$
0
0

Hello,
I´ve been facing a problem with the internet connection, which is connected to one of the Virtual machines in Hyper-V environment.
########################
I will Explain first the topology:

The VM has 2 Network adapters which are both connected to External Virtuel switches. One of them is used only for this Server which is connected to the Internet directly through a "Modem". The 2nd Adapter is used for our Local Network with a Static IP and without default gateway.
This VM is acting as a Router by using RRAS in order to do the NATing and it is configured as our Default Gateway for the whole Network.
The IP of this VM has been configured in the DHCP Route and DNS Forwarder.
########################
The problem:

There is an interval internet cut down every almost 30 second. Whenever I try to Test the internet speed, the internet speed goes up and start to fall down for a while and then it goes up again.
I have tried everything and I have been trying from more than 2 weeks but nothing has worked so far.  I tested it but with a physical server and it worked perfectly.

I would really really appreciate if someone has already faced and solved this problem or have a clue about it.

Hyper-V Manager error on Windows 10 only

$
0
0

Hi,

 I installed Hyper-V Manager on my Windows 10 and trying to manage remote server but got this error "You do not have the required permission to complete this task. Contact the administrator of the authorization policy for the computer." However, the same version installed on my Windows 7 and it works just fine with same server and credential.

 Please advise?

Thanks


Tuan


Error trying to mount the DVD to a network based ISO image in Windows 2008 Hyper-V RC0

$
0
0

Greetings,

When I try to configre the guest OS settings to mount the CD/DVD drive to an ISO image I have setting on a file share, I consistently get an error. The only time I have been able to mount an ISO since upgrading to RC0 (I don't remember if I tested this in the BETA) is when the ISO is locally on the Windows 2008 Hyper-V server.

 

To be specific, I get the following error:

Virtual Machine Connection (title of the window)

Inserting the disk failed.

 

Failed to add device 'Microsoft Virtual CD/DVD disk'.

 

User account does not have sufficient privelage to open attachment '\\remoteserver\share\ISONAME.ISO'.

Error: 'General access denied error'

 

'NEWGUESTOSNAME' failed to add device 'Microsoft Virtual CD/DVD Disk'. (VMID 26C8B66F-5D3F-47F9-9D80-474D0F778522)

 

'NEWGUESTOSNAME': User Account does not have sufficient privelage to open attachement '\\remoteserver\share\ISONAME.ISO'.

Error: 'General access denied error' (0x80070005). (VMID 26C8B66F-5D3F-47F9-9D80-474D0F778522)

 

I am not sure what credentials it is using. It looks almost like it is using the new computer name as credentials or something like that. The account I am logged in as at the time is a Domain Admin and has access to every server and every share. I can browse to the ISO just fine through the Hyper-V Insert Disk function, it just won't take.

 

I have checked the Hyper-V server settings and the Guest OS settings and can't find where to specifcy what account to use to connect to remote ISOs. Anyone have any clue on what I am doing wrong?


Merge in Progress without turning off VM

$
0
0

Hi- Windows 2008 R2. VM had two snapshots. I've read that after I delete the snapshots I need to turn off the VM for them to merge into the "parent" VHD file. Well, I deleted the sub-tree and almost immediately the status showed "Merge in Progress". It's currently at 15%. At this point, I'm concerned that if I do turn off the VM something undesirable will occur.

Any advice is appreciated!

Thanx


You should never, never doubt what nobody is sure about. -Willy Wonka

hyperv drive capacity is low every day .

$
0
0

hi guys  .

please help me
i have win 2012 r2 and run  hyperv 
and i have 2 drive on  this server ( C , D )
i have 4 virtual machineis are on drive D ( vhds file  , vms file )
i dont use D drive for any program , and i have not any snapshot from virtual machine . 
 but my problem :: 
D drive capacity is low every day , this capacity  was 100gig last week but 
capacity 70 gig  now .. 
please help me , 

disk2vhd efi vhdx vm fails to boot (solved)

$
0
0

Edit:  I was able to work around this.  From what I've read, a bare metal restore from a physical to virtual machine is not supported, but that's what I tried and it worked beautifully.  The only thing that went right today.

So, disk2vhd isn't needed (and as we've seen, didn't work).  Instead I took these steps:

1. Control Panel -> File History.  After it finishes searching for drives, at the bottom left of the page is a link to System Image Backup.  Run it, and select a target drive for the backup.  I used a 64Gb key drive.  Next, it will show you the volumes that will be backed up.  It automatically selects (and you cannot deselect) the volumes required for a bare metal restore.  Any additional volumes are optional.  You'll probably want to deselect the target drive for the backup.

2. After the backup is complete, either move the drive over to the Hyper-V host or access it over the network.

3. In Hyper-V Manager, create a VHDX virtual disk from the backup drive.  Then create a blank VHDX that is at least the size of the original machine's system disk (which may have multiple volumes).  In my case, this was a 2Tb disk, to which I added an extra 128Gb just to be sure.  This isn't the size of the image backup, it's the size of the disk from which the image backup was taken.  I made my disks fixed size.  I don't know if it would work otherwise.

4. Create a Gen 2 virtual machine (this was necessary for me since my original machine used EFI boot).  On the SCSI host adapter, attach the blank disk that will take the image restore, and attach a second disk containing the image backup (this can be deleted later). 

5. Create a second SCSI host adapter and attach a DVD drive to it (also may be deleted later).  Not sure if you really need the second adapter but I was just being cautious.  Assign the ISO image for your original machine's install disc (Windows 8.1 Pro Update 1, in my case) to the DVD.  Set the DVD to boot.

6. Run the VM and press a key when prompted to run from the DVD.  Select the Repair option, and drill down until you get to a page with the option for a System Image Restore.  Click on that and then select the drive containing your backup when prompted.  It will inform you that drive C: (your blank drive) will be wiped out and resized to match the original system drive that was backed up.  Then let it run.  In my case it took maybe three or four minutes, but it was a very sparsely populated 2Tb drive.

7. After the restore completes, you should be good to go.  After testing the new VM, I deleted the second SCSI disk with the backup image, as well as the DVD and its host adapter.

=================================================

I ran disk2vhd on a recently built Windows 8.1 x64 machine.  The conversion completed successfully, but I'm having no luck finding the right recipe to booting it in Hyper-V on a Server 2012 R2 machine.  I've tried both Gen 1 and Gen 2 (with and without Secure Boot enabled).  In both cases it apparently fails to find a boot loader.  The virtual disk is VHDX.

I ran disk2vhd twice.  Once including the additional volumes Windows creates for EFI, and once without.  The result is the same either way.

Any help much appreciated.


Recommendation for learning

$
0
0
I'm in an IT program and am using my home PC as a host for Hyper-V environment to practice and experiment.  Can I use a combination where I have a GEN2 Server; a GEN1 Server as well as a GEN1 Client and a GEN2 Client in my virtual environment.  will the different generation v-devices conflict with eachother?  Also, will it affect/conflict with the virtual switch's network communication with my host PC?  What do you recommend for maxing my learn/experiment experience.  The course focus is Server administration with emphasis on Cloud and some Azure.

How to decode hypervisor cpuid leaves?

$
0
0

As title, how to decode hypervisor cupid leaves?

For example,

EAX ECX EAX EBX ECX EDX 40000000 0 4000000A 7263694D 666F736F 76482074 Microsoft Hv 40000001 0 31237648 0 0 0 Hv#1 40000002 0 295A A0000 0 3 40000003 0 1FFF 2BB9FF 2 7FBF2 +CreatePartitions 40000004 0 2D1C FFF 0 0 40000005 0 140 200 324 0 40000006 0 AF 0 0 0 40000007 0 80000003 3 0 0


Jeremy

Viewing all 19461 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>