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

Enabling Hyper-V causes Windows 10 unable to start

$
0
0

I'm having issues enabling Hyper-V in the "Add Windows Features" option in the control panel. I was hoping to increase performance with Google's Android Emulator for testing. Upon enabling Hyper-V, Windows applies changes and resets. Windows is then unable to boot after this. Previously I had thought it may have been conflicting drivers from Virtualbox. After the last attempt, I was unable to use system restore or boot into Safe Mode and had to clean install.

I clean installed Windows 10 and installed windows updates and graphics / chipset drivers and tried to re-enable Hyper-V again. I also tried disabling "Fast Boot" in control panel at this time after reading it may cause issues when enabling Hyper-V. I ran into the same problem but thankfully was able to boot into safe mode and windows successfully rolled back the feature and then booted normally.


I have the virtualization option enabled in BIOS. According to systeminfo, I have the requirements for Hyper-V AFAIK.

systeminfo command reads as follows:

  • VM Monitor Mode Extensions: Yes
  • Virtualization Enabled in Firmware: Yes
  • Second Level Address Translation: Yes
  • Data Execution Prevention Available: Yes

OS and Hardware:

  • Windows 10 Enterprise
  • MSI x470 Gaming Plus
  • Ryzen 3 2200g

Any help would be greatly appreciated. Let me know if any additional information is required.




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.

Looking for vhd's of active directory and exchange

$
0
0
Hi. Can anyone give me link for download a vhd's of AD with some users data(20+ users with data) and exchange? For servers 2008 r2, 2012 r2, 2016, 2019. Wan't to test some software that I made, but need some meat for tests.

Problem joining AD controller

$
0
0

Hi,

win server 2016 installed on a new server.

One vm created, win server 2016 installed with updates, holds AD and WSUS services, works fine.

2nd vm creates, win server 2016 installed with updates, installed exchange server 2016 (CU13, AD roles were created)=> reboot.

After reboot of 2nd vm several issues on 2nd vm:

* win updates tries to install KB 4507459, runs until 99% (3 hours, and at 99% after reboot tells in startup blue screen "impossible de terminer les mises à jours, annulation des modifications") (means impossible to finish installing updates, rolling back updates). Retried several times, same failure each time. Why why why? How can I see what's wrong?

* worst but (perhaps related): at restart, in server manager, I immediatly  get an error:

"SDATA-En ligne - Échec de récupération des données19-07-19 17:13:27"

 (online, faiure to recover data).

Task details shows that a service is not started... but I don't get any information/error code.

I can see a red flag in local server manager:


Several issues can be seen: unpossible to add roles

Error:

---------------------------
Gestionnaire de serveur
---------------------------
Le Gestionnaire de serveur collecte les données de l’inventaire. L’Assistant sera disponible une fois la collecte des données terminée.
---------------------------
OK   
---------------------------

If I click on local server, I can see a lot of "inconnu" (unknown)



If I click on unknown near win defender, then button "open windows defender", I get an error message:

---
C:\Program Files\Windows Defender\msascui.exe

Windows ne parvient pas à accéder au périphérique, au chemin d’accès ou au fichier spécifié. Vous ne disposez peut-être pas des autorisations appropriées pour avoir accès à l’élément.
---

I an double click the file. Everything happens as if domain admin was not a local admin. or could not contact primary AD.

However I could log on. I can see AD users list. DNS and internet are fine.

Any hint?


Alain Bourgeois

Windows updates fail

$
0
0

Hi,

installed windows server 2016 in a hyperv vm running on win 2016.

windows Updates ok until update 2018-05 pack, reboot.

Then I added functionalities: dns server, AD, rebooted fine.

Then he downloaded cumulative update 2019-07, installed for 4 hours then gave an error message during installation (I didn't note the error code)and I am retrying, it will take some time.

To know what happens, I went to windows updates log, here is where the fun begins:

Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. Tous droits réservés.

PS C:\Users\Administrateur.WIN-J0PCL6T9VCE> Get-WindowsUpdateLog

Converting C:\Windows\logs\WindowsUpdate into C:\Users\Administrateur.WIN-J0PCL6T9VCE\Desktop\WindowsUpdate.log ...


    Répertoire : C:\Users\ADMINI~1.WIN\AppData\Local\Temp\2\WindowsUpdateLog


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         21-07-19     19:16                SymCache

Entrée
----------------
Fichier(s) :
     C:\Windows\logs\WindowsUpdate\WindowsUpdate.20190721.112531.174.1.etl
     C:\Windows\logs\WindowsUpdate\WindowsUpdate.20190721.112531.174.2.etl
     C:\Windows\logs\WindowsUpdate\WindowsUpdate.20190721.112531.174.3.etl
     C:\Windows\logs\WindowsUpdate\WindowsUpdate.20190721.152002.253.1.etl
     C:\Windows\logs\WindowsUpdate\WindowsUpdate.20190721.153652.990.1.etl
     C:\Windows\logs\WindowsUpdate\WindowsUpdate.20190721.153652.990.2.etl
     C:\Windows\logs\WindowsUpdate\WindowsUpdate.20190721.190122.040.1.etl

0.00%10.96%21.92%32.88%43.84%54.79%65.75%76.71%87.67%98.63%100.00%

Sortie
----------------
Fichier de vidage :           C:\Users\ADMINI~1.WIN\AppData\Local\Temp\2\WindowsUpdateLog\wuetl.CSV.tmp.00000

L'opération s'est bien déroulée.












WindowsUpdate.log written to C:\Users\Administrateur.WIN-J0PCL6T9VCE\Desktop\WindowsUpdate.log


file windowsupdate.log holds:

1601-01-01 01:00:00.0000000 980   1216                  Unknown( 10): GUID=638e22b1-a858-3f40-8a43-af2c2ff651a4 (No Format Information found).
1601-01-01 01:00:00.0000000 980   1216                  Unknown( 11): GUID=bce7cceb-de62-3b09-7f4f-c69b1344a134 (No Format Information found).
1601-01-01 01:00:00.0000000 980   1216                  Unknown( 11): GUID=638e22b1-a858-3f40-8a43-af2c2ff651a4 (No Format Information found).
1601-01-01 01:00:00.0000000 980   1216                  Unknown( 50): GUID=6ffec797-f4d0-3bda-288a-dbf55dc91e0b (No Format Information found).

.....

1601-01-01 01:00:00.0000000 408   3420                  Unknown( 83): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).

1601-01-01 01:00:00.0000000 408   3420                  Unknown( 67): GUID=aa4afd81-dd2a-3abc-4ed3-77bfe2faca92 (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 68): GUID=aa4afd81-dd2a-3abc-4ed3-77bfe2faca92 (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 55): GUID=aa4afd81-dd2a-3abc-4ed3-77bfe2faca92 (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 124): GUID=c0f570a0-5783-3029-7367-c7496f95e60c (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 83): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 10): GUID=aa4afd81-dd2a-3abc-4ed3-77bfe2faca92 (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 13): GUID=aa4afd81-dd2a-3abc-4ed3-77bfe2faca92 (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 83): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 128): GUID=c0f570a0-5783-3029-7367-c7496f95e60c (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 59): GUID=c0f570a0-5783-3029-7367-c7496f95e60c (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 83): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 34): GUID=7b9bf239-47b9-3688-3a9e-14f09f262608 (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 39): GUID=50a5ef43-b2b6-3c52-145b-a386d8769665 (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 38): GUID=50a5ef43-b2b6-3c52-145b-a386d8769665 (No Format Information found).
1601-01-01 01:00:00.0000000 408   3488                  Unknown( 23): GUID=50a5ef43-b2b6-3c52-145b-a386d8769665 (No Format Information found).
1601-01-01 01:00:00.0000000 408   2888                  Unknown( 275): GUID=c0f570a0-5783-3029-7367-c7496f95e60c (No Format Information found).
1601-01-01 01:00:00.0000000 408   2888                  Unknown( 17): GUID=aa4afd81-dd2a-3abc-4ed3-77bfe2faca92 (No Format Information found).
1601-01-01 01:00:00.0000000 408   2888                  Unknown( 18): GUID=6e582ce3-e96e-3f30-dd32-586c64e5ddfc (No Format Information found).
1601-01-01 01:00:00.0000000 408   2888                  Unknown( 21): GUID=6e582ce3-e96e-3f30-dd32-586c64e5ddfc (No Format Information found).
1601-01-01 01:00:00.0000000 408   2888                  Unknown( 283): GUID=c0f570a0-5783-3029-7367-c7496f95e60c (No Format Information found).
1601-01-01 01:00:00.0000000 408   3420                  Unknown( 126): GUID=c0f570a0-5783-3029-7367-c7496f95e60c (No Format Information found).
1601-01-01 01:00:00.0000000 408   1248                  Unknown( 83): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).
1601-01-01 01:00:00.0000000 408   1248                  Unknown( 66): GUID=c0f570a0-5783-3029-7367-c7496f95e60c (No Format Information found).
1601-01-01 01:00:00.0000000 408   1248                  Unknown( 67): GUID=c0f570a0-5783-3029-7367-c7496f95e60c (No Format Information found).
1601-01-01 01:00:00.0000000 408   1248                  Unknown( 56): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).
1601-01-01 01:00:00.0000000 408   1248                  Unknown( 83): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).
1601-01-01 01:00:00.0000000 408   1248                  Unknown( 57): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).
1601-01-01 01:00:00.0000000 408   1248                  Unknown( 10): GUID=f9a557ba-0523-3755-b92b-da168f727e06 (No Format Information found).
1601-01-01 01:00:00.0000000 408   1248                  Unknown( 58): GUID=e26dfe10-35bf-3106-db9d-9a51a6a0981f (No Format Information found).


Any hint?


Alain Bourgeois

System Resources Reservation

$
0
0

Hi All,

We have a Cent OS installed on a Hyper-V server and I would like to know if there is a way to check on how much of system resources are reserved via CLI of the Cent OS for this specific guest OS.

In VMware ESx, I can run the below commandd to know the reserved values for CPU and memory reservation.

vmware-toolbox-cmd stat cpures
16000 MHz

vmware-toolbox-cmd stat memres
8192 MB

I understand that I can go to Resource Control section of the guest OS to view/modify these value but I would like to know if this can checked from a guest OS's CLI?

MAC duplicate when teaming NICs?

$
0
0

Hi,

I have a win server 2016, 3 physical NICS.

I took 2 NICs and associated them in a nic team from local server, dynamic load balancing. It seems to work fine.

Then I used this NIC team interface as virtual switch to connect vm's.

I rebooted the computer. At reboot I can see in event log (system folder) a warning

---

event id 16945, source: MsLbfoSysEvtProvider

MAC conflict: A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic Microsoft Network Adapter Multiplexor Driver.

---

Any hint?



Alain Bourgeois

Server 2019 Essentials - Can you run a hyper-v to allow a virtual windows 10 instance for a remote user?

$
0
0

Hi folks,

I have a customer that I want to upgrade to server 2019 essentials from server 2012 r2.

However they have a Hyper-V box on the server for a remote worker are you allow to do this on 2019 essentials. The only info I can find is about running essentials in a VM not as a host. 

Also are there any CPU / memory disadvantages to running Hyper-V on essentials ?

TYI



Getting started with VLAN's in Hyper-V

$
0
0

I have a hyper-v fail-over cluster with 4 nodes. All VM's and the hosts are on the same subnet and VLAN (601) so I've never had to worry about VLAN tagging. All 4 hosts are plugged into a layer 3 switch using trunk ports, so all VLAN's are available.

Each host has 2 physical NIC's, these are then teamed together (switch independent). Then a virtual switch (VSwitch-1) exists. 3 virtual network adapters then exist to this switch - Cluster, LiveMigration & Management.

I now have a new VM which needs to be in a particular VLAN for a door control system, this is VLAN11. The physical layer 3 switch appears to be configured ok, but I do not understated what I need to do in hyper-v and the VM itself.

Thanks in advance for suggestions, advice and help :)

How to remove VM if you delete the configuration file

$
0
0
Hi,

there are cases that we need to restore a VM that presented problem, however we do not want to lose the VM that is in trouble.

So we restore the VM with another name and this is bad for the hyperv inventory.

Is there any option that we can remove only the VM from the hyperv inventory without losing VM settings?

Thank you.

Snapshot merge process stuck on Merge in Progress (20%)

$
0
0

Hi guys, 

On Hyper-V 2019 (which is a member of the Failover Cluster) I took a checkpoint for one of the machines.

3 hours later I deleted that checkpoint and now can see that merging process stuck on Merge in Progress (20%) and its been like this for 15-20 minutes. 



However Get-VM | Get-VMSnapshot doesn't show any snapshots. 

What is this and how to resolve it? 

Thank you.

Win server 2016 - tuning advice needed.

$
0
0

Hi,

I have a new win 2016 server standard, installed full gui, 1 cpu, 14 cores, 64 Gb RAM.

I created 2 vm's in hyperv (generation 2), each having win server 2016 standard (first one for active directory and wsus - 4Gb RAM, second one for exchange, file sharing, databases - 50Gb RAM).

For each VM I can set the number of "virtual processors". Can someone explain what a "virtual processor" means: a core, a thread, or something else? How much can I allocate if I have 14 cores and 2 vm's? 1 seems much too low: when fetching update, hyperv tells 3% cpu is used but inside vm, 99% cpu is used according to task manager.

Thanks for the hint.



Alain Bourgeois


Hyper-V guest remains in Saved state after Host reboots (after 20 Min VM restoring and starting)

$
0
0

I have 2 Win 2016 Datacenter Server completely patched Server with same problems. When I restart the Hyper-V Host all VMs stay in Saved State and wait  about 20 Minutes. Then the VMs are restoring and starting fine.

Hyper-V-Hypervisor Operational Log says:

about 8pm

Hyper-V successfully deleted a partition (partition 2).

about 8.23 pm (approx. 20 Min later)

Hyper-V successfully created a new partition (partition 2).

I have 8 VMs and with Total 12 VHD (IDE and SCSI mixed, Gen1 and Gen2) -> the event entries are exactly 12 times!

What I checked

************

-Powersaving on Host disabled
- a lot of free Discspace (45%)
- HP Proliant G9 with latest Firmware
- all Disks are DAS no Storagepool or SAN
- Test VM shutdown and stop and then restart Hosts - > not effect
- Hosts have DEP, Hyper-Threading and SLAT enabeld in BIOS
- Host NIC has Teaming (SR-IOV is disabeld)

I have an other Host with exact same Issue (similar Configuration).

Problem: it's annoying to wait always 20 Minutes after a restart till VMs are running.

thanks for any tipps. 



Assign IP-address to Hyper-V VM via script during deployment

$
0
0

Hi All,

Does anybody know of a way to leverage powershell to assign a static ip-addr to a 2012 R2 Hyper-V virtual machine ( Windows for instance) when creating the VM thru powershell ?

We are looking to automate the process of creating a VM via a powershell script. My script uses the New-VM cmdlet to create the VM itself and then power it ON.  But how do i further assign an ip to the VM to be able to connect to it remotely?

The "New-NetIPAddress" cmdlet wont work in this case as this being a new VM doesn't have an IP to begin with so we cannot connect to it remotely to run this command.

Thanks

Neeraj


Hyper-V 2019 VM Cluster Replication

$
0
0
Ever since upgrading our 2 Hyper-V clusters to 2019 from 2012 R2 when trying to set up a new VM replication I get errors. Works for existing VMs replicating that were created before the upgrade but any new VMs fail. Enabling the replication seems to create the VM fine on the replica and creates drives at 4,096KB ready for replication but trying to start the initial replication fails with the error:

Start-VMInitialReplication : Hyper-V failed to start replication for virtual machine 'VM': Operation aborted
(0x80004004). (Virtual machine ID E3E5EDD5-66CA-48AB-8F52-CA63A3A6AEC5)
Hyper-V could not find the virtual machine 'VM' on the Replica server and will connect to the Hyper-V Replica
Broker in the next retry interval. (Virtual machine ID E3E5EDD5-66CA-48AB-8F52-CA63A3A6AEC5)
Replication operation for virtual machine 'VM' failed. (Virtual machine ID
E3E5EDD5-66CA-48AB-8F52-CA63A3A6AEC5) (Primary server: 'Host1', Replica server:
'Broker')
At line:1 char:1
+ Start-VMInitialReplication -VMName 'VM'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [Start-VMInitialReplication],
   VirtualizationOperationFailedException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.StartVMInitialReplicationCommand


Doing the same process through the failover cluster gui I get a similar error. Says the replication was enabled successfully however initial replication could not be started. And goes on to say Hyper-V could not find the virtual machine on the replica server.

Has this yet to be recognized as a bug in Windows Server 2019?

Snaphot

$
0
0
Hi Experts i am using hyperv2016, i have checkpoints created by our backup solution and i am not able to delete the checkpoints since the option to delete checkpoints is grayed out. Experts guide me how to delete those checkpoints

Hyper-V 2016 Replication Error

$
0
0

Hi, My Hyper-V 2016 replication state error. i think this happened after the electricity off during night time and the host went down.

Pls help how can i fix it?

Event 10400 and 25 losing network connectivity on Hyper-V

$
0
0

We are having trouble with both our servers.  Here's our setup and the problem:

2 identical Asus RS520-E8-RS12-EV2 servers, fully updated, with Server 2019 Standard Hyper-V. Both servers have an Intel X710 2-port networkcard (SFP+) (latest Intel driver) These cards have been added later for faster networking. So they don't come standard onboard.

The servers are directly connected together using one SPF+ cable for quick Hyper-V replication that works fine.

Both servers are also connected to the LAN network on one RJ45 port 1GB (no teaming) This network card is also attached to a Virtual Switch (1GB)

Both servers are also connected to the LAN network on one SPF+ port using a 10GB Fibre cable to a Huawei switch (no teaming), also connected to a Virtual Switch (10GB)

The problem:  We keep getting this error 10400 in the event logs every 30 seconds:

The network interface "Intel(R) Ethernet Converged Network Adapter X710-2" has begun resetting.  There will be a momentary disruption in network connectivity while the hardware resets. Reason: The network driver detected that its hardware has stopped responding to commands. This network interface has reset 455 time(s) since it was last initialized.

When this event occurs, the connectivity on the 10GB Fibre port (to the LAN) is lost for about 3 or 4 pings. All the virtual machines (6) connected to this Virtual Switch (10GB) also lose connection so the whole network is crippled that way.

Once I switched all VM's to the Virtual Switch (1GB) RJ45, the problem stops and the host itself can be pinged again on the 10GB port, no problem all day.  At this point I don't really know what to look for.  We also get this message all day long every second of the day, despite the problem went away, 

Event 25, Hyper-V-VmSwitch

The MAC address 3C-FD-FE-CD-FE-5D has moved from port 515A1F44-F3BA-49FB-8E2D-2F4D970F472E (Friendly Name: Virtual Switch - DAN_External) to port C40C1E38-A55D-4415-B7ED-2D29C6BEE007 (Friendly Name: Virtual Switch - DAN - SPF - 10GB)

The MAC address 3C-FD-FE-CD-FE-5D has moved from port C40C1E38-A55D-4415-B7ED-2D29C6BEE007 (Friendly Name: Virtual Switch - DAN - SPF - 10GB) to port 515A1F44-F3BA-49FB-8E2D-2F4D970F472E (Friendly Name: Virtual Switch - DAN_External).

What I notice is that the friendly name "Virtual Switch - DAN - SPF - 10GB"  is the one I created, the friendly nameVirtual Switch - DAN_External is unknown to me, this is not a Virtual Switch present in Hyper-V there is no switch with that name.

Both ports of the Intel X710 show this message all day filling the log (direct attached cable and the 10GB LAN connection)

We checked the switch and there are 0 errors or collissions on all switch ports so it does not seem to be switch related.

When the VM's are not connected to the 10GB Virtual Switch the card is 100% stable

To me this appears to be a driver problem or maybe a config error in Hyper-V that we are unaware of. VMQ is enabled by default in Hyper-V and also the drivers of the Intel card.

Any clue?




Scale Out Cluster vs Clustered Shared Volume Usage

$
0
0

Hey everyone,

I tried using Windows Server category for the post but for some reason it's not available. Feel free to move it accordingly.

So I've been reading some information about clustering in general in Microsoft environments and I have a big doubt.

Microsoft says that scale out file servers are meant for storing virtual disks or SQL instances in an active-active way of clustering through clustered shared volumes. I can understand the statement as that will make the volumes accessible by the cluster at any time with no downtime. However, you can also create clustered shared volumes, without the need of choosing "Scale Out File Server" as an option, and you can also store virtual disks there for a Hyper-V host. So what would be the difference between these two if at least in theory the work in the same way.

I think I need some light in this dark thought I'm having for clarification haha.

Thanks in advance!

How to Install Guest OS from USB

$
0
0

I need to install an operating system onto a Hyper-V virtual machine via a bootable USB flash drive.  I am not using an ISO file.  It has to be from this bootable USB flash drive.  I am using a product called SHB (Secure Host Baseline).  The project I am working with at my company requires this setup to install this pre-configured version of Windows 10 (SHB) onto virtual machines.

So far I am not finding any info out there on how to accomplish this task.  I could really use some guidance on this subject.  Essentially, I want Hyper-V to boot from the USB flash drive at the initial startup.  I have selected the option to "install OS later" so that I can install this specific version of Windows 10.

Viewing all 19461 articles
Browse latest View live


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