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

How to use a bootable VHD under Hyper-V

$
0
0

I have some VHDs created from existing bootable Windows 7 to Windows 10 partitions that run smoothly under VirtualBox.

My Question: Is it possible to run these under Hyper-V? Remark: VirtualBox emulates hardware that all runs with standard MS drivers or use  special Oracle drivers (e.g. graphics) added by Vbox GUest additions.


Regards Jörg


Livemigration of VM with vTPM in Cluster without HGS

$
0
0

Hello,

I'm trying to livemigrate a 2016 VM with vTPM in a 2016 Cluster without Host Guardian Service.

It is not a shielded VM.

It cancels with the following error:

Live migration of 'Virtual Machine ' failed.

Virtual machine migration operation for '' failed at migration destination ''. (Virtual machine ID 9DB3903D-2C13-40A1-9760-BA2DC3548860)

The version of the device 'Microsoft Virtual TPM Device' of the virtual machine '' is not compatible with device on physical computer ''. (Virtual machine ID 9DB3903D-2C13-40A1-9760-BA2DC3548860)

The key protector for the virtual machine 'Saved State' could not be unwrapped. HostGuardianService returned: Generic failure (0x80041001) A guardian wrapping could not be found in the protector.. Details are included in the HostGuardianService-Client event log. (Virtual machine ID 00000000-0000-0000-0000-000000000000)

Is it impossible to livemigrate a VM with vTPM in a Cluster without HGS?

Thanks & Greetings

Johannes

Failover Cluster - one of the nodes visited the future...

$
0
0

Hello,

Over the last weekend we had an issue with one of our 2012 R2 Hyper-v failover clustered nodes. For no reason that we can ascertain the clock went into the future (2nd Feb 2026 to be precise) On the Monday when we came back in, we restarted the server, it got the correct time via NTP from our PDC and we thought everything would be ok.

Since this happening we have had strange issues with the cluster and roles on some of the nodes just stopping communications. 
Nothing recorded in Cluster Events except for loads of events from the future. Right clicking on Cluster Events and 'Reset recent events' does not remove these logs.

Any advice on removing the logs from 2026 would be appreciated. 

Also, any suggestions on other issues we should look out for?

Thanks

Mark 

Windows Defender Exclusions

$
0
0

Hi,

I install a Hyper-V Server and leave the default setting of DisableAutoExclusions to false

I run a Get-MPPreference and I don't see the auto exclusions listed - this is expected.

I then add a custom exclusion through the Defender GUI e.g. C:\VMs

I re-run a Get-MPPreference and I now see my single custom exclusionexclusionpath: C:\VMs

QUESTION:

Has this overwritten my auto-exclusions or can I be assured that they are still in place in addition to my new custom exclusion?


HyperV - Merge avhdx checkpoints to parent vhdx script or tool.

$
0
0

Hello, 

I'm having an issue that happens because of Veeam backup, suddenly the backup fails and creates dozens of checkpoints for each machine.

I have few machines that Veeam created a checkpoint for them and the checkpoint did not delete automatically after the backup finish (It can happen on 3rd party's backup software for my understanding). 

I know how to fix it manually, need to go "Edit Disk..." and merge the newest checkpoint till the oldest one and then it's ok and the parent disk is the primary one. 

The thing is, that I have 10 machines and on each machine I have 2-3 HDD's and for each HDD there are 30 checkpoints...not reasonable to go over one by one and merge it...

Basically, I'm searching for a PowerShell script that can do it automatically.

I will very appreciate any help on this topic!

Thanks 

 

Sharing settings unavailable

$
0
0

The command "vmconnect.exe host vm /edit" should lead to a "Connect to" dialogue with Display and Local Resources settings such as drive and device sharing. But for me it leads immediately to the window displaying the VM screen. Why can't I display and edit the sharing settings?

 

Host is Windows 10 Enterprise while the VM in question is Windows 10 Home. Hyper-V Server setting Enhanced Session Mode Policy: Allow. User setting: Use enhanced session mode. It is the first Windows VM I've created with Hyper-V, so I can't say if it used to work.

Best regards,

Per

Can't ping second Windows Server 2016 on domain

$
0
0

I'm trying to set up a SQL Server lab at home. So far I've created three VMs through Hyper-V: a domain controller (DC) and two servers to run separate SQL Servers (SQL1, SQL2). I'm able to ping SQL1 from DC but can't ping SQL2. I also can't ping SQL2 from SQL1. I am able to ping both DC and SQL1 from SQL2 and can access a file share I set up on DC from SQL2. Ultimately the goal here is to set up Transaction Log Shipping between SQL1 and SQL2, but I want to get the network set up properly first. Both SQL1 and SQL2 have static IPs and were successfully added to the domain. 

I've tried opening up firewalls on SQL2 and completely recreating the virtual machine from scratch, but I'm still having these same issues. The first server on the domain (SQL1) works, but the second (SQL2) does not. 

Thanks!

hyper v manager cannot start error 1068

$
0
0

Hi

hyper-v Manager won't run.

I tried to start Hyper-V virtual Machine Management servive and I get the error hyper v manager cannot start error 1068 

After reading this post  Hype-v manager  and when tried to start Windows Management Instrumentation I get this error: The system cannot find the file specified.




Replication Broker OU :

$
0
0

While creating hyper-v broker,Confirmation page getting "OU: <unavailable>".Due to this hyper-v replication broker is not getting started.It was working fine until last Friday.

Based on requirement we removed and re added the replication broker.But we can't.

I restarted the cluster also, not solved this issue.Even the server is on domain.Kindly help me to fix this issue.

Thanks in Advance for your help

Vasanth


microsoft hyper-v vss writer state 8 failed

$
0
0

Dear All,

how to fixe hyper-v vss writer state 8 failed ,  run Veeam backup was filed

Thanks and regards

question about replication and failover

$
0
0

Hi

new to this replcation and VM stuff

I have currently setup 2 server running server 2012r2 and a numner of virtual machines, VM1 replicates to VM2 within issue, replication Health shows no errors

Yet when i perform a replication test or a "live" fail over replication, each time i connect to the new VM, its shows a unidentified network connection and with no ping

I have Fixed IP's on each of the cleints and have the same VLANS set on each replication,

I have checked and each server is connected the same vlans on the switch.

Sometimes i can get it to connect the domain, and ping by turning off the VLAN option in the network adaptor settings for the team, other times no, and requires me to put it on dchp, get an address, then back to fixed

Confused - Any ideas what could be causing this - I would like to be able to switch to the replicate without these issues

VHDX size decrease

$
0
0

Hi,

i want to decrease VHDX size from 2 TB to 1.5 TB, please help!!

Shrink C: Volume on VM's VHD

$
0
0

Hello. A couple of years ago, in my inexperience, I set up a VM and configured the C: drive to have 2TB of available space. There are no other VHDs associated with this VM. It really only needs to be 30 GB, as the current amount of data that's on it is about 20 GB.

Is there a way to shrink the C: volume to 30 GB from 2 TB? 

Thank you.

how to remove data from winsxs folder in windows server 2008 R2

$
0
0

Hi

Our server C drive have low space and as checked winsxs folder have more than 20 GB data.

can any body suggest delete this folder contents, if yes,

what will drawback and issues ?

how can reduce size of this folder.


Arvind

Replication of virtual machine

$
0
0

Running a Windows Server 2016 with Hyper-V and have one virtual machine on this server. This virtual machine seems to have been replicated to the location and show as:

Replication Mode: Replica

Replication State: Failover complete

Replication Healt: Critical

Primary server: A server that does not exist anymore

Replica server: The server I am looing at where the virtual machine is running.

Last synchronised: Over a year ago.

How can I make this virtual machine show "normal" status without any replication and have the current server as primary server as the old primary server is long gone?

Thanks for any suggestions and assistance,

Mrtro


SAN data replication and automatic VM failover

$
0
0

Hi,

Is it possible to have dual SAN's, replicating data between each other in a Hyper-V Failover Cluster environment where if 1 of the SAN's loses power, all VM's that were pointing to the SAN that has lost power, will automatically failover to the 2nd SAN which is still live and working and continue to work as normal, without any downtime?

I need to implement a solution where the downtime is minimal and users don't experience any issues if 1 of the SAN's has a fault, loses power etc.

Is this even possible, i have been looking for a solution online for a while, but cannot see anything that helps, solutions are there if one of the nodes fails and the VM's will live migrate to the best posisble node, but cannot see anything for what happens if a node loses access to it's storage.

Thanks

Internal switch - can not ping host -> VM (but VM -> host work)

$
0
0

Hi,


I create an internal switch :
host (windows 2016) : 192.168.128.1
VM (version 2) (windows 10 x64) : 192.168.128.56
same network mask (255.255.255.0)

I can ping :

host -> internet OK

VM -> host OK

Host ->  VM not OK

I try to disable the firewall on VM, no change.

FW : There is no outbound restriction on host & VM, icmp are enabled on VM & Host.

But ... the most strange, i can mstsc VM (TCP/UDP 3389) from the host (?!)

I rebooted the host & VM, i recreate the switch. 





Live migration leads to a network interruption for about 10 seconds

$
0
0

When i migrated the virtual machine by Live migration in the failure cluster, I found that the virtual machine network had 2 packets mistake, and the data display screen running the thermal application in the virtual machine would have an interruption of 10 seconds.

I used 2 switches, and there was no connection between the 2 machines. I used NIC to combine the 2 network ports  to every switches in the Server 2016.

I want to ask how to eliminate the problem of losing data packets during living migration。

Thanks

Windows Server 2012 R2, NIC Teaming, and VLAN

$
0
0

I'm testing out Hyper-V and am having some connectivity issues around the following:

  6 x 1GB NICs (single team @ OS level)

  3 x Team Interface [management (1), iSCSI storage (100), VDI (25)]

  2 x vSwitch [VLAN-1 (management), VLAN-25 (VDI)], each associated with respective vEthernet interface (Hyper-V Virtual Ethernet Adapter)

Test VM on VLAN-25 is unable to obtain an IP address from the DHCP server even though switching it to VLAN-1 is successful in doing so.

My understanding is that the vEthernet interfaces that are automatically generated after creating the vSwitches need to either have a static IP or DHCP IP address assigned but a warning pops up about multiple gateways when doing so.

I also read somewhere that the "Microsoft Network Adapter Multiplexor Protocol" checkbox needs to be enabled on each of the vEthernet but I didn't see that in official Microsoft documentation.

I'd appreciate if someone could point me in the right direction.

Extremely Slow VM running on a Hyper-V Host

$
0
0

Hi - I built three VMs from 3 physical machines about 3 years ago and all worked like clockwork.  However following a phase where the system kept reporting RPC Server not available my inexperienced self caused a huge crash and altho I now have the machines up and running I cannot get the main fileserver to behave.  I am afraid my grasp to technical terms is weak so please forgive!

The Host machine is an entry level Fujitsu TX1310 M1 Xeon E3-1226 V3 16GB 2TB  

There are three VMs (1) AD (2) File Server (3) Mail Server

The AD machine and the Mail machine work perfectly but the File server (which used to be like slightly greased lightening) has a problem which I cannot resolve - I've been at it for 2 days!  Firstly on powering it takes a few minutes before the Ctrl+Alt+Del screen shows and then it has been going either to a grey screen or else the wall paper but without any icons of start bar.

I reasoned it must be something related to memory configuration and the current config I have appears to get me in fairly reliably (I have two colleagues who depend on access) but when I fire up the Access Database it slows to a crawl.  Looking at the Performance Monitor I generally have 50-90% CPU utilisation which eventually settles to 4-5% but during the intense utilisation everything freezes.

The Memory Configuration (by trial and error and some reading for guidance) is as follows:

Memory Start-Up 2048 Dynamic 2048-4096 Memory Buffer 20% Memory weight just over half way to the right

Processor No = 2 Virtual machine % = 0 (it was 25 and 50% but that made no difference now at least I can log in)

VM Limit 50% % of system 25% Relative weight 100% 

NUMA settings 2 1 1 Max No 4 Max Memory 14150 Max NUMA 1 

(I didn't dream these up I just copied them from the AD machine which is working perfectly)

Also I have two paging files one on the system drive (size allocated by system) and one on the data drive (min 4096-8192)

As anyone reading this will gather I am a rank amateur and have probably got my knickers in a twist!  Absolutely any advice would be very gratefully received!

Viewing all 8743 articles
Browse latest View live


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