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

Win10 2004 Hyper-V now creates vEthernet interface for every physical NIC?

$
0
0

I updated to Win10 2004 (Build 19041.208 as of this writing) and I've noticed that on my system with Hyper-V installed, I now have an auto-created vEthernet interface for every physical Ethernet interface on my system, including interfaces with no connectivity.  Each one is named "vEthernet (Physical interface name)".  This is occurring despite that fact that only virtual switch I have on my host system is the Default Switch.

All of these vEthernet interfaces have auto-assigned 172.x.x.x IP addresses.  These vEthernet interfaces cannot be deleted in Network Connections (option is grayed out) and if I use Device Manager to uninstall the actual Hyper-V Virtual Ethernet adapter device associated with these interfaces, they reappear on reboot.

Strangely, when I installed Win10 2004 in a guest VM with 3 virtual NICs and installed Hyper-V within that VM (after enabling nested virtualization), I was NOT able to reproduce this behavior. The guest VM's Hyper-V environment did not create 3 new vEthernet interfaces, even after multiple reboots.

Is anybody else seeing this? Does anybody have any idea why this is occurring or what the purpose of these vEthernet interfaces is?  Previously I only ever had one vEthernet interface for the Default Switch, and then I would get one more for each Internal or External virtual switch I created. This is how another Hyper-V host system I have that's still running Win10 1809 is working right now. I have no idea why Hyper-V now feels the need to give me one per physical interface, each with a 172 IP address.



Hyper-V API for getting the VM, Counter and VmProcessor pro grammatically using c++

$
0
0

I have an old program where I have been using Power Shell commands like Gt-VM, Get-Counter, Get-VMProcessor. These PS commands are archaic and very slow and I want to move to Hyper-V API's. Could someone kindly point me to an sample program(s) which would give me an idea as to how to get the same job done using Hyper-V API's

thanks a lot in advance. 

Win10Pro Hyper-V VM - extremely slow desktop performance with 4k Display

$
0
0

My work laptop is a Lenovo Thinkpad X1 Carbon w/16GB of Ram, 4c/4T intel 8th gen CPU, integrated GFX & SSD.

The laptop performs reasonably well and I use it for running a single VM connected to a Thunderbolt Lenovo Docking Station (that supports 4k) and a 4k DP monitor.

I connect to the VM by using VMConnect and I noticed significant lack of desktop performance (during normal usage)only when the VM screen is Maximised.

  • Why is that? Can anything be done to improve its Full Screen 4k Desktop performance?

NOTES.

- VM Resources maximised as follows:

CPU = 8 Virtual Processors (Physical CPU has 4 cores + HT).

RAM = 10752 MB - No Dynamic Memory (DynMem Disabled).

Pagefile.sys = fixed size, 4GB.

- Host Win10 Pro OS set to prioritise Background processes.

- When the VM runs on a 1920x1080 window, it is usable.

- When the VM is Full Screen, it becomes unusable (the issue occurs both On VMConnect & RDP Client).

Plex GPU Transcoding on Hyper-V Failover Cluster

$
0
0
Does anyone know a way to pass a graphics card to a VM in a Hyper-V 2019 cluster? Discrete Device Assignment does not work in a cluster according to Microsoft.

Server 2016 SET team SRIOV for host ManagamentOS vNIC not available

$
0
0
HI I am running server 2016 with a SRIOV enabled SET team and I am trying to enable SRIOV for the host managementOS vNICs, is this possible in server 2016?  I see SRIOV for all other VM vNICs but not the managementOS vNIC even when I | fl* on the vNIC the IOV options are not there, is this expected behavior, is IOV not available to host vNICs?

Need to access a USB thumb drive in Hyper V

$
0
0
What is the easiest way to connect a USB thumb drive in Hyper V version 10.0.18362.1? I need to move some info from into (Windows 7) running in my Hyper V. I have used another virtual machine and the USB would show up, you had to tell it to connect. I cant even find it in Hyper V.

provisioning RAM, not enough ?

$
0
0

Hi,

I have a hyper-V server with several virtual machines on it.

The Hyper-v server is a Xeon Silver 4110,  with 144Gb RAM in it.

following machines are running (and the RAM) :

- DNSproxy - 4Gb

- ESS server - 16Gb

- FOTO server - 8Gb

- FPS server - 8Gb

- RDS server - 8Gb

- SQL server - 32Gb

- VDI server - 16Gb

In total my VM's are using 92Gb of the 144Gb available (minus the hyper-v ofcourse)

Now if i want to adjust the RAM on the VDi-server from 16Gb to 32Gb, which should be possible.

i get a warning that i do not have enough RAM available ?

I don't seem to figure it out, has anyone some clues or hints where i can start looking ?

Thanks in advanced

Some screenshots :

UUID Solution for Hyper-V

$
0
0

Hello Fellow Hyper-V Engineers,

I am trying to find a solution in my org at my company to find a method of tracking meta-data that could be used as a UUID for an automation system where VMs would be decommed and deleted via a customer facing portal.   My problem here is that Hyper-V does not have legit UUIDs for VMs as they can be changed when migrated across clusters, be empty (due to error ) or be copied from a clone.

I am trying to find an easy and practical solution like perhaps parsing the licensing meta-data of a VM when trying to identify the correct VM to delete .


Thank you for your time.


Cannot convert physical disk to VHDX

$
0
0

I create a new virtual disk and choose to copy the contents of the physical disk and get an error.

Event ID 27266 Hypev-V-VMMS

The description for Event ID 27266 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

\\?\mpio#disk&ven_dell&prod_md38xxf&rev_0820#1&7f6ac24&0&3630304130393830303036383431364130303030303243333536434343453331#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
%%2147942401
0x80070001

The locale specific resource for the desired message is not present
---------
Event ID 15278 Hypev-V-VMMS

Failed to convert the virtual disk.


Backing up a Hyper-V virtual machine fails due to Volume Shadow Copy Service

$
0
0

The full error is:

Backup failed to complete. A Volume Shadow Copy Service operation failed. Please check "VSS" and "SSP" application event logs for more information. Detailed error: The operation ended before completion.

Upon checking the event log, it says:

The backup operation that started at '‎2020‎-‎05‎-‎08T21:33:38.477000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code '0x807800A1'.

What am I trying to do?

I'm running Windows Server 2016 as a Hyper-V host. I have some virtual machines that I would like to back up using the Windows Server Backup feature as shown here:


I am backing these VMs to a remote shared folder and eventually get these backed up on a schedule on a daily basis (but that's outside this post). The issue is that every time I try to backup these VMs, the above error message appears. For whatever reason, these backups work just fine in our test environment but do not work in our production environment.

I did some reading and found that the Volume Shadow Copy service has to be running in order for this to work. I looked in Services and found that it wasn't running. I started it and enabled Automatic startup. This did not work. I found that there are dependencies on this service (such as Microsoft Software Shadow Copy Provider service) that have be running too. These also did not correct the issue after I started them.

Our Windows firewall is turned off and antivirus is disabled too.

Does anyone have any suggestion or solution to this issue?

Thanks.

Hyperv Nic Issue

$
0
0

Hi Hope someone can assist 

I have copied a VM servers data drives  from  a backup of a DELL hyperv server to a different Hyperv server of the same spec, 

I have re created the server and attached the drives, when I boot up the server ( server 2016) it loads ok and lets me log in BUT

the Virtual nic adapter has a red cross, when I go look at it, it is missing ip4 and ip6 protocols, if I try add them I get the error "could not add the requested feature, the error is: cannot create file when file already exists"

I have removed all old network devices from device manager and also tried recreating the network on the HyperV Host 

I have a second also copied server running on this backup server ( server2012r2) attached to the same virtual network and this is ok. 

any ideas what would cause this

thanks in advance

Rob

Is there any proper way to know If a VM is on Hyperv or Azure using Bash ?

$
0
0
Is there any proper way to know If a VM is on Hyperv or Azure using Bash ?

HyperV guest Nic issue

$
0
0

Hi 

I have copied from backup the disk images of a server 2016 which was running on a HyperV (2016) server and re created the server on a new server ( same spec, make and model), I have used server 2016 again and created with the same named virtual switch 

when i boot up the VM the server loads ok and lets me log in BUT the network card has no IP4 or IP6 protocols.If i try add them it says that the feature cannot be added as the file cannot be created as the file already exists.

I have tried deleting the network card and rebooting

I have tried showing disabled adaptors in device manager and removed them 

any ideas what to do next.

I restored another server (2012r2 the same way on the same new server and this works perfectly so I dont think its the Virtual switch thats at fault, 

any advice would be great

Thanks

Adding a Fiber Adapter to Existing Hyper-V Host server

$
0
0

I have an active MS Datacenter server which presently has 8 Hyper-V Windows 2019 virtual machines. All are up and functional and without issue.

I've installed a Fiber network adapter. Its drivers are loaded and the intel management software see's the adapter and it tests at 10G, as it should.

My logic is escaping me as I approach assigning this adapter. As each virtual machine has a Network Adapter with an assigned IP and another virtual switch to negotiate the connection with the outside world, I'm wondering what role the new 10G adapter should be taking.

Naturally I want the 10G to handle network traffic. Do I assign the 10G as the host machine's adapter? Or does the 10G adapter need to be the virtual switch on each of the virtual machines? Or am I deficient 1 10G port - one for an interface with the network and one for communication between each Virtual machines dedicated IP adapter and it virtual switch to communicate with the outside world?

The more I think on this the more uncertain I find myself.  With the addition of one 10G network Intel adapter into a server running MS datacenter with active virtual servers, where do I apply the 10G network adapter so its throughput capacity is used by of the virtual machines?

Issue trying to create Windows 10 virtual machine

$
0
0

Hi people,

I need to create a Windows 10 virtual machine on Windows Server 2012 r2, but not being able to probably because:

"hyper-v cannot be installed: a hypervisor is already running" site:https://social.technet.microsoft.com/Forums/windowsserver/en-us/home?category=windowsserver

That appears when trying to enable Hyper-v

I also tried installing Virtual Box, but only offers to create Windows 10 32bit vms.

What steps could be taken to create the W10 vm, given this issues?

Thanks!

Leonel


Memory allocated for packets in a vRss queue (on CPU 0) on switch 6E77ECEF-A708-429D-9445-44A21279DFF6 (Friendly Name: Wan Switch) due to low resource on the physical NIC has increased to 512MB. Packets will be dropped once queue size reaches 512MB.

$
0
0

Hello

I run a Host Hyper-V 2019 with 32 cores and I get this error:

Memory allocated for packets in a vRss queue (on CPU 0) on switch 6E77ECEF-A708-429D-9445-44A21279DFF6 (Friendly Name: Wan Switch) due to low resource on the physical NIC has increased to 512MB. Packets will be dropped once queue size reaches 512MB.

This happens when we have lot of traffic because inside Hyper-V there are many Virtual Machines and this is supposed to happen more when traffic is high in packets - we run 1 Gbps netwrok card and use around 300Mbps when this happens.

VMQ and RSS was enabled in physical card but not VMQ not enabled in VM hardware acceleration option in network card.

When it happens we have timeouts completely which disconnects everything from outside to server - connection is lost completely.

Any idea about it and how to fix ?

THank you 


Live Migration Fails

$
0
0
Whenever I try to move the VM the following error message appears: Live migration of 'Virtual Machine GameCache' failed. But with all other VMs the migration works. Does anyone know what the error could be?

Error in vmconnect.exe using run parameter "/credential"

$
0
0

When I add the "/credential" operation parameter for vmconnect.exe, vmconnect does not directly report an error, but it cannot be opened after double clicking. After deleting the "/credential" parameter, it is normal. The following error was found after viewing the event viewer:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System><Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2020-05-13T09:57:10.370776800Z" /> <EventRecordID>31730</EventRecordID> <Channel>Application</Channel> <Computer></Computer> <Security /> </System>
- <EventData><Data>vmconnect.exe</Data> <Data>10.0.18362.1</Data> <Data>a8d2f2dc</Data> <Data>KERNELBASE.dll</Data> <Data>10.0.18362.815</Data> <Data>b89efff3</Data> <Data>e0434352</Data> <Data>000000000003a799</Data> <Data>3ac0</Data> <Data>01d6290cde0c5fbb</Data> <Data>C:\Windows\System32\vmconnect.exe</Data> <Data>C:\Windows\System32\KERNELBASE.dll</Data> <Data>a8e2cb1b-023e-455b-a82b-d15aaa570558</Data> <Data /> <Data /> </EventData></Event>


Another:

<
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System><Provider Name=".NET Runtime" /> <EventID Qualifiers="0">1026</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2020-05-13T09:57:10.320050700Z" /> <EventRecordID>31729</EventRecordID> <Channel>Application</Channel> <Computer></Computer> <Security /> </System>
- <EventData><Data>应用程序: vmconnect.exe Framework 版本: v4.0.30319 说明: 由于未经处理的异常,进程终止。异常信息: System.ArgumentException 在 Microsoft.Virtualization.Client.Common.UserPassCredential.ParseLogonName(System.String, System.String ByRef, System.String ByRef) 在 Microsoft.Virtualization.Client.Common.WindowsCredential.ParseLogonName(System.String, System.String ByRef, System.String ByRef) 异常信息: System.Security.Authentication.InvalidCredentialException 在 Microsoft.Virtualization.Client.Common.WindowsCredential.ParseLogonName(System.String, System.String ByRef, System.String ByRef) 在 Microsoft.Virtualization.Client.Common.WindowsCredential.Load(System.String, Microsoft.Virtualization.Client.Common.WindowsCredential ByRef) 在 Microsoft.Virtualization.Client.InteractiveSession.CommandLineParser.TryParse(System.String[], Microsoft.Virtualization.Client.InteractiveSession.RdpConnectionInfo ByRef) 在 Microsoft.Virtualization.Client.InteractiveSession.VmisApplicationContext.TryParseCommandLine(System.String[]) 在 Microsoft.Virtualization.Client.InteractiveSession.Program.Main(System.String[])</Data> </EventData></Event>

How to deal with such an ERROR?

Hyper-V client network has problems every time the host restarts

$
0
0

The specific performance is that connecting to the default switch network will be restored, and connecting to the new switch will lose the network connection, but at this time, using the Ping tool to Ping the gateway of the new switch will find that the gateway is unobstructed, because the new switch does not assign IP to the virtual machine system, while the default switch assigns it an IP which is not in the same network segment as the new switch, but the default switch is not connected to the virtual machine system. By the way, I use NAT networking.

The following errors can be found in the event viewer:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System><Provider Name="Microsoft-Windows-Host-Network-Service" Guid="{0c885e0d-6eb6-476c-a048-2457eed3a5c1}" /> <EventID>1030</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2020-05-13T05:42:37.929568700Z" /> <EventRecordID>507</EventRecordID> <Correlation /> <Execution ProcessID="8156" ThreadID="8252" /> <Channel>Microsoft-Windows-Host-Network-Service-Admin</Channel> <Computer></Computer> <Security UserID="S-1-5-18" /> </System>
- <EventData><Data Name="HResult">0x80070032</Data> <Data Name="API">1</Data> </EventData></Event>

What should I do?

[Hyper-V on windows 10] How to access usb drive from ubuntu 20.04?

$
0
0

Hello

I have windows 10 with last updates and installed few VM like "Windows 10 dev" and "ubuntu 20.04". My question is how to access to usb device from Ubuntu VM? 

When I run "windows 10 dev" VM it allow me use enhanced session mode and there I can share those usb devices, but for ubuntu and other VM based on linux I dont see that option. So how to do if "enhanced session" mode doesnt work for those VM?

Duke

Viewing all 8743 articles
Browse latest View live


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