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

(Hyper-V 2019) New-VHD command fails to convert virtual disk

$
0
0

Hi all,

The following commands work on Hyper-V Server 2012R2 and 2016:

Mount-VHD -Path "D:\Hyper-V\Virtual Hard Disks\test.vhdx" -ReadOnly -Passthru

New-VHD -SourceDisk 2 -Path "D:\Test\new-disk.vhdx" -Dynamic


but on Hyper-V Server 2019 I get the following error:

New-VHD : Failed to convert the virtual disk.
The system failed to convert
'\\?\scsi#disk&ven_msft&prod_virtual_disk#2&1f4adffe&0&000003#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'.
Failed to convert the virtual disk.
The system failed to convert
'\\?\scsi#disk&ven_msft&prod_virtual_disk#2&1f4adffe&0&000003#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}': Incorrect
function. (0x80070001).
At line:1 char:1+ New-VHD -Path "D:\Test\new-disk.vhdx ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : NotSpecified: (:) [New-VHD], VirtualizationException+ FullyQualifiedErrorId : OperationFailed,Microsoft.Vhd.PowerShell.Cmdlets.NewVhd

The disk is attached to a Gen 1 VM and there are no checkpoints associated with it. Not quite sure what the problem is.



Unable to add Virtual NIC - Internal miniport create failed

$
0
0

Hi All,

I am trying to create a Vitual Network adaptor, but its giving the below error message.

New-VMSwitch -Name "BCD" -EnableEmbeddedTeaming $True -AllowManagementOS $False -NetAdapterName $lmnetwork (10/25 gig adaptor)

Add-VMNetworkAdapter -ManagementOS -Name "ABC" -SwitchName "BCD" |  Set-NetIPInterface -Dhcp Disabled

"Internal miniport create failed, name = 'FE72DA3D-6B16-465E-8E32-549BCC60E8FE', friendly name = 'LM-vNIC01', MAC = 'DYNAMIC': Not found (0x80041002)."

Snapshot Merged but still Mapped on VM setting HDD

$
0
0
Hello All

we had some orphan file which have been merges but still shown on VM disk Hard Drive as you can see in the photo , should I shutdown the Vm and remap the disk .

(Body text cannot contain images or links until we are able to verify your account.)



I could not insert the image 

Best Regards 

Sid 

Hyper-v guest doesn't have access to Host VPN connection

$
0
0

Hi guys!

Setup:

  • Corporate laptop (windows 10)
  • Tested also with Server 2016 + Hyper-v and the problem is the same
  • Running Hyper-V server
  • Connected to corporate VPN with Forcepoint software which forwards all traffic to corporate network
  • Hyper-V guest (Windows 10) doesn't get access to internet (works fine without the VPN)

First I thought well I should make and external virtual switch for the VPN adapter but it doesn't show in the list (WLAN + LAN adapter shows up). We have routed all traffic throug VPN. I've tried to search solutions from internet but haven't found any (tried lots of them but none seems to be working) working solutions. Is this something I can not make work?


Cannot Access Newly Created Hyper V

$
0
0

I just installed a new VM on a new machine with Windows Server 2016. When I try to access the VM I get the error message:

Remote Desktop Connection: An authentication error has occurred (Code:0x80004005), Remote Computer: Server

then after I choose the OK button I get:

Cannont connect to the virtual machine. Try to connect again. IF the problem persists, contact your system administrator. Would you like to try connecting again?

There are 2 buttons "Connect" and "Exit". If I choose Connect the same message appears again.

I have tried numerous solutions including deleting and resetting up a new VM, restarting server, changing Group Policy. None seem to work.

Any other suggestions are greatly appreciated.

How do I complete virtual machine registration when VSS recovers a virtual machine?

$
0
0

How do I complete virtual machine registration when the Volume Shadow Copy Service (VSS) recovers a virtual machine? Or at which step? What is the difference between the recovery of virtual machines in Windows 2016 and the previous version?

reference:https://docs.microsoft.com/zh-cn/windows/desktop/VSS/overview-of-processing-a-restore-under-vss

FCM live migration stuck on 68% VM not registered on any host

$
0
0

LM for one VM hanged. VM is not registered on any VM, I cannot cancel migration, I cannot stop VM (as it is not on any Hyper-V registered on any host), I cannot register it again either

Basically nothing at all can be done as far as I can see

Anybody any ideas?

Seb

Event ID 153 - The IO Operation at logical block address xxxx for Disk 3 was retried.

$
0
0

Hi,

I have my Exchange 2013 on Hyper V OS and Exchange installation is on one drive and mailbox database is on another HDD.

I am getting error on Exchange database HDD with warning

Event ID 153 Disk

Please help me to get rid of this warning, when warning occur my mailbox get disconnected.

The IO operation at logical block address 6c1a8 for Disk 3 was retried.

Please help me to get rid of this warning, when warning occur my mailbox get disconnected.


Port Mirroring Hyper-V, traffic only captured one way

$
0
0

Hi All, 

Scenario:

Server 2012 R2 server running several VMs (the server is a node in an HA cluster, but I think that is irrelevent here as the machine I'm currently testing on isn't Highly Available).

  • I require the router bound switch port (a Netgear S3300) to be mirrored to a one of my VMs (currently a test VM created just for this purpose).  
  • I've mirrored the port on the switch (TX and RX) and connected to a dedicated NIC on my host.  A wireshark capture at this point captures all traffic, inbound and outbound.  I've confirmed using ICMP and seeing request and reply.  
  • I've created an external vswitch using the dedicated NIC port.  I've tried allowing and not allowing sharing with the host to no avail.  Weirdly at this point Wireshark no long sees this physical or vSwitch interface on the host.
  • I've enabled the NDIS capture extension
  • I've run the powershell commands to add-vmswitchextensionportfeature monitormode=2 as per article https://cloudbase.it/hyper-v-promiscuous-mode/
  • I've assigned the switch to my VM as a secondary NIC (the other one being a standard LAN switch), setting the switch as destination in port mirroring.
  • Wireshark on the VM is now only capturing the inbound traffic.  Proved by filtering to ICMP and only seeing the replies.  

Am I missing something here?  I can't find any other instances of this exact problem, and I'm being chased to get this working.  

Thanks in advance

Hyper-v 2k16 cannot reboot - stays at shutting down hyper-v services

$
0
0

Hi, we have a brand new dedicated hyper-v server with 2k16 and created a brand new VM which is a Win2k16 server also. Very basic. When we reboot the physical hyper-v server, it stays at shutting down hyper-v services endlessly.

We found out that if we RDP in the VM and shutdown the VM, after that the hyper-v server reboots correctly so it looks like hyper-v is not capable of shutting down the VM. BTW the vm, in the shutdown config it is configured to shut down. In the event viewer of the hyper-v server, I don't see any error messages pointing me to a problem so I don't know how to resolve this.

I understand that I could just shutdown the vm then reboot the hyper-v server but the IT guy on site asked me to resolve it. 

Any ideas where I could look to resolve this?

Thanks

Trying to remove Hyper-V

$
0
0

I'm trying to remove Hyper-V from a Windows 2012 Server

and I get a message "installation of one or more <g class="gr_ gr_42 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="42" id="42">reles</g>, role services or feature failed. The source files could not be found..."I have made sure CD is in the drive

One posibility is CD drive letter may have changed since installation  (was set up before my time)

I have removed Virtual Switch - I know that can cause problems

I've also tried stopping Hyper-V Services

any ideas welcome


ChrisS

Hyper-V Failed to Change State Error Code 32788

$
0
0

I have a Hyper-V machine running on a server with 20GB of RAM available (according to resource monitor).  When I try to start it with more than 4GB of RAM it fails with this error.  I tried creating a new VM, using a different VHD file, all create the same error.  Before I updated Hyper-V it used to report insufficient memory.  What am I missing?

Thanks!

Mike

Draining the last 2012r2 node in a 3 node cluster when migrating to 2016 took the entire cluster offline due to disks going offline - any ideas?

$
0
0

I have a 3 node HP cluster with each node directly attached to a JBOD device. Each node shows 4 CSV's that are all healthy.

I upgraded 2 of them from 2012R2 by draining node, reinstalling 2016 and then adding them back to the cluster and everything worked fine.

Started the same process off today and all the disks went offline along with all the machines in the cluster apart from 2 still on the original host that failed to migrate.

Got everything back by unpausing and fail back of the machines and restarting all the failed migrations.

Needless to say, that was not my favourite part of the day.

Event details for the drives show events such as 

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

Cluster Shared Volume 'Volume1' ('Cluster Virtual Disk (Volume 1)') has entered a paused state because of '(c000020c)'. All I/O will temporarily be queued until a path to the volume is reestablished.

Cluster resource 'Cluster Virtual Disk (Volume 1)' of type 'Physical Disk' in clustered role '1912d37e-0360-434e-9212-3083db0d23fb' failed. The error code was '0x2' ('The system cannot find the file specified.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

Cluster physical disk resource online failed.

Physical Disk resource name: Cluster Virtual Disk (Volume 1)
Device Number: 4294967295
Device Guid: {00000000-0000-0000-0000-000000000000}
Error Code: 3224895541
Additional reason: AttachSpaceFailure

Cluster resource 'Cluster Virtual Disk (Volume 1)' of type 'Physical Disk' in clustered role '1912d37e-0360-434e-9212-3083db0d23fb' failed. The error code was '0xc0380035' ('The pack does not have a quorum of healthy disks.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

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

The pools are owned by this last node.

After bringing the last node online, I saw that all the CSV's showed an operation status  of regenerating for a while before going back to healthy.

Anyone seen this behaviour before and have some pointers of anything that I might have missed in the process?


http://absoblogginlutely.net

Hyper-v 2008 r2 Cluster migration to Hyper-v Cluster 2012 r2

$
0
0

i have case to do:_

i have 2008 r2 Hyper-v Cluster (3 NODE)

inside this cluster we have another SQL Cluster  and Application Server

and some attached  LUN direct to VM'

plan:_

to move all above to existing 2012 r2 cluster (5 NODE)

Note :- I know that we cant Export from 2008/2008 r2 to Import 2012 r2 

any Idea how we done this issue

Cannot live migrate 2 of 12 VM's in FCM on Server 2016

$
0
0

Cannot live migrate 2 of 12 VM's in FCM, when trying to live migrate these 2 VM's they get to around 48% and then the live migration stops. We've tried many things to resolve this, I'm just wondering if we've missed something.


Troubleshooting steps taken:

1. Settings > Management > Name, check for Notes in the properties 
2. Check for files or lock folder in C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines 
3. Adjusting VM migration timeout using HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Settings\LiveMigrationTimeoutSecs 
4. Verifying no other users are canceling live migration
5. Verifying the cluster nodes have identical hardware 
6. Attempting to migrate to a different node
7. Running the Cluster Validation Wizard within the FCM to test the cluster
8. Questioning if underlying issue appears to be not with the cluster itself, but the VM 
9. Verifying cluster host live migration success for other VM's
10. Uninstalling Veeam to verify Veeam is not causing issues during backup
11. Attempting to live migrate VM with PowerShell 
12. Verifying BIOS revision is same on all 4 nodes 
13. Verifying Jumbo packets are disabled on all NICs. 
14. Confirming where VHD resides and if permissions are correct on location
15. Attempting storage only live migration, which was successful
16. Moving MRT & RCD files and attempting to live migrate which was not successful
17. Trying to live migrate after a successful quick migration
18. Tried enabling Processor compatibility mode
19. Verifying patch level of cluster nodes
20. Check for XML file cache at C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines Cache 
21. Editing Registry for NetworkBufferCount at HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\Migration 
22. Considered disabling Hyperthreading but cannot be done
23. Verified VM's do not use shared VHD Sets 
25. Verified vCPU and vRAM among guest VM's 
26. Verified Processor > NUMA, does "Maximum amount of memory (MB)" matches the same setting under Memory > RAM or Memory > Maximum RAM



windows server 2019(2016) hyper-v Failed to start virtual machine because one of the Hyper-V components is not running.

$
0
0

I created vm machine thorugh VMM which made in hyper-v.

However, I can't run the vm machine, the error messages are: 

 start-vm : Faild to start 'VM-test02'.

 Failed to start virtual machine because one of the Hyper-V components is not running. (Virtual machine ID: ~~~~)


what I checked :

0. I thought it might be the problem of VMM, so I enterd the hyper-v server which created using hyper-v of on-premise server, created vm using powershell, but same errors came out. 

1. services.msc : make sure hyper-v turn on it 

2. Powershell : type "Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true"

3. eventvwr.msc : At Hyper-V-vmms-Admin, there are no particular events except for 2 erros. 

Faild to start 'VM-test02'.(Virtumal machine ID ~~~)

Virtual Machine Management Service failed to start virtual machine 'VM-test02' because one of the Hyper-V components was not running

4. Safend : I do not have Safend installed

5. cmd 

- when type 'verifier', click standard(default) and choose unsigned driver autimatically, then it said," There is no unsigned driver"

- when type 'sc queryex vid, sc queryex vmbus' its status are "running"

- when type 'bcdedit', "hypervisorlaunchtype    Auto" came out.

I'm lost what to do turn on the vm.

please let me know how to turn on the virtumal machine.

Need helps for Configuring VDI with remoteFX upon Hyper-V environment

$
0
0

All,

1)

When creating the VDI collection, I found that template VMs connected to vSwitches with dynamic IP allocation were created normally. However, the collection failed with vm configured to use a vSwitch that must be granted a fixed IP. At this time, an error message occurred that the domain could not be contacted. Are the errors that I checked correct when creating vdi collections in Hyper-V environments? Can't I create a collection with template vm that can't be assigned a dynamic ip? What if there is way to create VDI collection, What am I missing for this?

2) I have installed 2 GPU on to the physical machine for VDI with remoteFX. Both are twin and its memory is 64GB. So 128GB is available. I want to assign memory that I want to VMs dedicately. Is this possible? If yes, powershell? Please tell me how to do this.

3) If possible, I want to fix which of the two GPUs the VM will use. Possible? if yes, let me know how to. ;) As far as I have read of someone's article, it's not possible, but I am still qurious with this issue.

4)

One Hyper-V virtual host with RD Web Access, RD Connection Broker?

How do you make up your case? In the actual operating environment, the RD Web Access Role machine is located in the DMZ section, and the connection broker is thought to be the structure that connects the external-internal network, so can we do that?

Then, I think it's okay to configure Web Access and Connection Broker Role together on a physical server in the DMZ section.

How about using RemoteFX after connecting through the VPN section in front of us without a separate DMZ section?


Thanx,

Microsoft Hyper-v server 2016 evaluation

$
0
0
Can i use evaluation version in production as standalone hyper-v server?

text is too small to see

$
0
0

I'm running Windows 10 pro on a Dell laptop with a UHD display.

I just created an Ubuntu Virtual Machine using Hyper-V Quick Create.

No matter how I size the VM, the window inside the VM is too tiny to read.  

How does one make it bigger?wr

HyperV Cluster Replica Broker error - "object could not be found" from Enable-VMReplication Powershell

$
0
0

Ok I admit it. This one is driving me crazy ;)

1) I have two Server2016 (Standard) HyperV Clusters - Source01 and DR01. Both part of same forest/domain.

2) Both Source01 and DR01 clusters have a HyperV Replica Broker installed and replication settings configured for Kerberos, Port80 and allow from any server.

3) I can initiate VM Replica successfully in both directions using the FailoverClusterManager UI. It creates the replica, transfers the initial data and everything appears to work.

However....

I need to create the replica using Powershell, but when I try to do it using the Enable-VMReplication powershell command it fails with:

I must be doing something wrong as the UI works. Perhaps some remote permissions not enabled? Remote WMI? something? hopefully some rookie mistake...

1) I've turned the firewall of DR01 off (just in case, just until figure out this issue)

2) The hyperV virtual machine management service is running correctly on both Source01 and DR01

3) the HyperV console on Source01 can correctly connect to DR01 and view/manage the VMs in the console - and vice versa.

Anyone got any ideas? Or seen this behaviour before?

thanks

Joe.

Viewing all 19461 articles
Browse latest View live


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