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

Change Hyper-V (Default Switch) IP address range

$
0
0

Hello,

Is it possible to change the IP address range used by the Hyper-V (Default Switch) that is 172.x.x.x to 192.168.x.x ?

This is for Hyper-V on windows 10 1809 to 1909

Kind regards,

Michel


Automatic Windows VM Activation on 2016 and 2019 Hyper-V Datacenter Host

$
0
0

Hello

We have Dell Servers in Hyper-V Cluster With Windows Sever 2019 DataCenter Installed

There are VMs with 2008 , 2012 , 2016 , 2019 and Windows 10 VMs are hosted on it.

I have question about Automatic Activation of Windows VM hosted on this Hyper-V Host

1 .Which Product should we use so that VMs gets automatic activated.

as per the URL they have provided Key https://docs.microsoft.com/en-us/windows-server/get-started-19/vm-activation-19

But can we use the same Key mentioned in the URL to our Production environment or its just for example or evaluation purpose.

2. Also , the Key Mentioned in the URL is for the VM or for Physical Host ?



Thanks for the help.


Thanks , Prakash ,Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

hyper-v nested virtualization 2016

$
0
0
sir 
i have 9th generation intel i5 processor, 2.40 gz, ram 8 gb, ssd 512 gb.
i have successfully created nested virtualization, bu when i start nested guest, it pops up anErrordialog box,insufficient memory.
i have created VM " hv-nug1" as VM on the hyper-v host.
i have assigned 4gb to hv-nug1 VM and then i exposed it to nested virtualization, inside hv-nug1 on its hyper-v i have created VM "nest-virt1" & assigned 2gb.

what is minimum hardware requirement for configuring nested virtualization?
i am using windows enterprise(evaluation edition) as hyper-v host & w2k16 data center (evaluation version) as guest.
thanks in advance.

How to mount a DVD iso programatically with C#

$
0
0

Can anybody add me any easy sample share about this topic?

I try it with PowerShell succesfully on a Server 2019 with VS2019 and C# but I need sample for native WMI version.

Or write me please any place where anybody can help me.


host inheriting wallpaper from vm

$
0
0

The desktop on my Windows 10 host PC keeps getting the desktop wallpaper of the guest VM.

What's that about?

Multicast and Hyper V

$
0
0

When I create a private network on Server 2008 r2 with the Hyper V role (hotfix for 2012 guest vms installed). I then install server 2012 as a guest and install the dhcp,wds roles. Then MDT 2012 u1. When I perform a deployment using multicast, booting into a vm pxe boot, the performance is about 600-700kbps. The network utilization is at 1-10%. A 13Gb image takes ages. If I put the legacy nic into the mdt server and of course the client as it pxe boots the performance is 10000kbps.

This is the same on a external network. At first I thought it was a physical switch issue. When I created a MDT server on a physical server (1gbps port) and turned on flow control the multicast performance is great 10000kbps.

There seems to be a bottleneck in the hyper v switch as the mdt server as its conenction is 10gbps or a lot higher than 100mbps.

Can I configure the hyper v switch for flow control (or some other way)? When using the hyper v vm nic their are a lot of NACK errors and repair packets. Their are hardly any errors when all adapters are at 100mbps. 

Just wondered if anyone else had encountered this issue.

I'm currently testing with a server 2008 r2 mdt vm guest.

Powershell - Who created checkpoint? Hyper-V 2019

$
0
0

Hi,
Is possible to find information via powershell who was created checkpoint in Hyper-V 2019 at VM?

Bartek

Migrating from XenServer 7.0 to Hyper-V 2016 Server

$
0
0

Hi,

Over the last week or so I've been trying to get Windows VMs migrated from XenServer 7.0 to Hyper-V 2016 Server.

I have tried so many different methods such as:

  • Exporting to XVA format, then converting to OVF and extracting the VHD for attaching to a Hyper-V VM
  • Using disk2vhd on the live VM for the same
  • Running VMware vCenter Converter on the live VM
  • Starwind and other tools for converting exported VM formats to Hyper-V formats
  • And finally, Microsoft Virtual Machine Converter 3.1

I'm sure there are other methods I've tried, too, but without success. Usually, what happens with basic disk conversions is that Windows starts to boot (the logo displays), and then blue-screens with 'SYSTEM_THREAD_EXCEPTION_NOT_HANDLED'

Microsoft Virtual Machine Converter 3.1 gets to 100% on the 'Convert disk(s)' stage, then fails with 'The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))'. The firewall is completely disabled on the client and server as I had earlier issues, and BITS is installed on the server.

In terms of the versions of Windows I've tried to migrate, I've used Windows Server 2012 and Windows 10 Pro, both with the same results.

Any ideas? Thanks.


Bug on file copy within a VM. Can't do concurrent file copies on other volumes

$
0
0

Hello all,

issue described happens on a Windows Server VM (2012R2 and 2016) running on a Windows Server 2012R2 and 2016. Issue is exactly the same on any variation between those OS versions on VM and HYperV.

Suppose we have a VM with:

Drive C: for OS and Drive D: for Data.

Both Virtual Disks are vhdx.

Reproducing the issue:

Drag a relatively big file from C: to D:.

While the file is being copied, drag a second large file from C: to D:.

Findings:

As soon as the second file is dropeed to D:, the file copy starts but the pre-existing copy operation is completely stalled *until* the second file has completed copying.

Can anyone see if they can reproduce this issue?

Thanks,

Alex

Unable to replicate HyperV Guest over dedicated network

$
0
0

I've got two Hyper-V hosts in different sites (routed across firewalls in each site). At the same time, the hosts have a dedicated 10Gb link between them for replication. I've created an entry on each host for the other's 10gb NIC (sitea-replication.customer.com and siteb-replication.customer.com). I can easily view shares over the link "\\sitea-replication.customer.com\c$", etc. When I try setting up replication in HyperV using these same names (trying to force replication over 10Gb, not over the routed connections), I get an authentication or port/firewall error. Windows firewall is completely off at this point. When I click "Finish" in the replication wizard, it says "enabling replication" for a while, then errors out (using Kerberos/HTTP and either 80 or 443). The error is 0x00002EE2. Powershell results in the same errors (also tried with the proxy bypass option based on another thread). The user I'm logged in with is a domain admin, domain admins have been added to the HyperV admin group and both boxes can be managed from the other using their routed network names/IP's (domain-joined fqdn). This seems like it should be so easy, yet I can't get past this. What am I missing?

BTW: If I use the machine FQDN over the routed network, replication starts, runs for a few minutes and then gives a corrupt replication error (assuming the firewall may be stepping on the traffic as some type of false positive). At least replication starts though.

Too slow NIC TEAMING mode INDEPENDANT + ACTIVE/ACTIVE + DYNAMIQUE on my HOST HYPERv.

$
0
0
Hi

My NIC TEAMING mode INDEPENDANT + ACTIVE/ACTIVE + DYNAMIQUE on my HOST HYPERv is too slow !

i have 1 switch physique netgear 16p + 1 server DELL T440 with 2 NIC 2 port RJ45

he is configured with HYPERv.

i set up a NIC TEAMING on 3 network port (1+2).

Mode team : INDEPENDANT + ACTIVE/ACTIVE

mode balance : DYNAMIQUE

the last network port allows me to manage HOST HYPERv.

i set up 4 VM (2016)

I configured 4 VM (2016) using the concentrator vSWITCH of NIC TEAMING  (Microsoft Network Multiplexor Driver).

-I have major slowdown problems when I surf from the VMs

-when I don't use the NIC TEAMING, they can surf the Internet without problem.

-when i use NIC TEAMING + indépendant + ACTIVE/ACTIVE + PORT HYPERv that works well.

In the documentation that I find, it is indicated that everything must be able to work with the mode INDÉPENDANT + A/A + DYNAMIQUE...

the only time I should use PORT HYPERv is if I have a terribly fast 10Gbit network card (but it isn't)!

I have a doubt concerning the use of 1 or 2 physical Switch?

https://docs.microsoft.com/fr-fr/windows-server/networking/technologies/nic-teaming/create-a-new-nic-team-on-a-host-computer-or-vm

(Before you can create a new NIC Team, you must deploy a Hyper-V host with two network adapters that connect to different physical switches. You must also configure the network adapters with IP addresses that are from the same IP address range.)

https://gallery.technet.microsoft.com/Windows-Server-2016-839cb607

    Switch-independent teaming. This configuration does not require the switch to participate in the teaming. Since in switch-independent mode the switch does not know that the network adapter is part of a team in the host, the adapters may be connected to different switches. Switch independent modes of operation do not require that the team members connect to different switches; they merely make it possible.

Do you have an idea about my problem?

(I specify that I do not want to use the NIC TEAMING in the VM only on the HOST)

"Marquer comme réponse" les réponses qui ont résolu votre problème

Apply the checkpoint error (Event ID 15060/15160)

$
0
0

Hi, Everyone!

Something is realy wrong with hyper-v checkpoint in Windows Server 2016 (latest KB4035631 intalled). You can create chechpoint for every VM, you can delete them with auto-merge, but you can apply them ONLY to Windows Server 2016 virtual machines.

If VM is running WS2012R2, 2012, 2008R2 or Linux - apply of the checkpoint fails with error

Error description in Event viewer doesn't give any clue:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System><Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" /> <EventID>15160</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2017-09-07T08:32:41.080557100Z" /> <EventRecordID>10575</EventRecordID> <Correlation /> <Execution ProcessID="3308" ThreadID="12156" /> <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel> <Computer>vs1.contoso.com</Computer> <Security UserID="S-1-5-18" /> </System>
- <UserData>
- <VmlEventLog xmlns="http://www.microsoft.com/Windows/Virtualization/Events"><VmName>XSPIDER</VmName> <VmId>5EE0A912-FD4A-4F2A-90E6-0AE235F347CB</VmId> </VmlEventLog></UserData></Event>

Same behaviour for all our Windows Server 2016 Hyper-V clusters. What is happening?



Failover cluster Hyper-V role restarting no warning no bsod Dedup and npsvctrig event viewer 2019 core

$
0
0

I have a server in a a failover cluster that keeps restarting with no valid reason, it seems to be very varible on the timings and can happen when someone is logged into the server or not, the event viewer events leading up to the reboot are

CBafilt Event ID 1
CBA filesystem filter driver has attached to volume "\Device\HarddiskVolume3".

FilterManager Event ID 6
File System Filter 'Dedup' (10.0, ‎2014‎-‎09‎-‎03T20:29:55.000000000Z) has successfully loaded and registered with Filter Manager.

FilterManager Event ID 6
File System Filter 'npsvctrig' (10.0, ‎2037‎-‎02‎-‎23T07:11:04.000000000Z) has successfully loaded and registered with Filter Manager.

followed up by a Kernel-Power Event ID 41
The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.

any ideas?


How to mount a DVD iso programatically with C# to Hyper-V VM

$
0
0

Can anybody share with me any easy sample about this topic?

I try it with PowerShell succesfully on a Server 2019 with VS2019 and C# but I need sample for native WMI version.

Or write me please any place where anybody can help me.

ManagementScope scope = new ManagementScope(@"root\virtualization\v2");
            using (ManagementObject vm = WmiUtilities.GetVirtualMachine("teszt1", scope))
            using (ManagementObject vssd = WmiUtilities.GetVirtualMachineSettings(vm))
            using (ManagementObject vmms = WmiUtilities.GetVirtualMachineManagementService(scope))
            {
...
            }


Multiple OS in Fullscreen (switching)

$
0
0

Hi everyone,

I want to run to run Ubuntu in Fullscreen prefarebly in a different resolution as Win10 in fullscreen, utilizing the full screen.

And I would Like to switch between the OSs by using Win-key+ctrl+arrow or another keyboard shortcut.

Is this possible?

Cheers,

Albert


How can i add a server 2008 r2 to my 2019 hyper-v

$
0
0

I am running 2019 and Hyper-V.  I have no problem adding 2019 Hyper-V servers.  I cannot add a 2008 r2 server.  I get the error "the operation on computer "HV-XX" failed.  WinRM cannot complete the operation.  Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer.  By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet."

Both Hyper-V's are in the same local subnet.  

The reverse situation is also true.  2008 r2 Hyper-V cannot display a 2019 Hyper-V in Hyper-V Manager.

Why can't the Hyper-V's display hosts in the Hyper-V Manager?


gbl

Hyper-V Create Development Server From Existing Server

$
0
0

Hyper-V
Need to create a test environment from an existing vm. Basically I want to clone existing virtual Exchange server and duplicate it on the same on host. I need both to run at same time.

Server standard 2016

Hyper-V VM unable to network in external network

$
0
0

An issue that is bothering me.

The host is a Windows 2012 R2 server, the Hyper-V VM running on it is also Windows 2012 R2. The virtual switch is configured to be external network. The VM is able to network on the external network only for 3 minutes, after that it automatically becomes internal network effectively, as it can only communicate with the host. Now, if I go and do are reset by setting the virtual switch to become internal then set it back to external, the VM is able to communicate to external network, but only for 3 minutes, after that it again falls back to internal. I removed the virtual switch and re-create a new one, the symptom is the same - 3 minutes external, then become effectively internal.

There are 600 + computers on the network with similar configuration, this VM is the only one having this problem.

The MAC address is statically assigned, so far I have not seen any duplicate in MAC address on the network.

Any suggestion?


Valuable skills are not learned, learned skills aren't valuable.

Hyper-V and adding real hardware to guest

$
0
0

Hello!

I was long time using VMware and now beginning with Hyper-V.
I found Hyper-V hypervisor difference and its benefits.
I'm in Hyper-V beginner so please forgive me some stupid questions.

So, here they're:

1. At starting virtual machine first time I checked to use display resolution to use for all guests - without knowing that it is also about connecting USB and other devices. In Hyper-V settings later I selected to clear all checkboxes to get same dialog again at each start. But it helped not - really is possible to revert this?

2. By hypervisor type I got answer on other forum that it possible to add physical hardware to guest. Like PCIe devices, video cards etc. Reply was this exactly:
"You can pass-thru storage, USB and graphics cards possibly others I don't work with Hyper-V a lot."
I found info over the web, but it is unclear for me. Can anybody explain it me like for stupid man step by step? Or reference to any understandable resource?

Thank you for each help, reply, recommendation or comment.

Miro

Hyper-V Storage QoS behaviour

$
0
0

Hi Together

I have a Hyper-V Storage QoS Policy (Dedicated) configured and applied to a VM with several disks attached -> same Policy applied to all disks of this VM.

Description: https://docs.microsoft.com/en-us/windows-server/storage/storage-qos/storage-qos-overview

My QoS Policy Limit: Max IOPS 50'000, Min IOPS 0

For the sake of clarity: Which mean that every disk has the possibility to use IOPS till Max value is reached -> because it's a dedicated Policy and underlaying Storage with Cluster Shared Volumes has engough Performance to compete.

Now my question: What is the exact behaviour when all disks are placed on the same CSV?

Get every disk still the promised performance through QoS Policy? 

Thank you for Feedback.

Kind Regard

Steve


Viewing all 19461 articles
Browse latest View live


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