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

How to Fix a Corrupted Hyper-V VHD File


vWorkspace is going away, what is a good replacement

$
0
0
vWorkspace is going away, what is a good replacement

Win10 HyperV service 'mostly but not completely broken' after 1803 upgrade...

$
0
0

It's very strange...

I have a couple of linux server VMs running in my local dev workstation here.

( we also have a HyperV core installation on-premises, but it's too loaded up to add any more VMs to it...)

Deleted one the other day, and tried to restore... restored (imported) OK, but on restart the VM (Centos) begins loading its kernel, then the screen opens to a larger one with garbage video at the top. CPU on 'running' VM just climbs and climbs til it hits 50% and flatlines. The VM isnt really booting! Have to POWER DOWN the VM.

Deleted VM, tried making brand new VM... it defaults to config version 8.3 andsame problem. I can boot it from ISO and install Centos on it, but when it's done installing and asks for reboot,the VM just hangs. I looked at some stuff online and it looks like VMs created with versions higher than 8.0 refuse to run unless you are running 'the full HyperV server'?? hmmm...

So... Tried making a Version 5.0 VM in powershell, worked OK. Installed Centos on it, again OK till final reboot.HUNG!

Tried mounting backup VHDXs to the newly made V5.0 - same issue.. hangs on boot, CPU climbs! No heartbeat, have to shutdown.

THE ODD THING is that my other original ( made a couple years ago!) Version 5.0 CentOS VM is still happily ticking away on this same machine, running fine .

But I suddenly cannot restore a VM here anymore, and I cannotcreate a new one either!

THIS IS HOLDING UP PRODUCTION... anybody know a fix?? 

PS: (maybe unrelated?) I see a bunch of these errors in system log, but nothing else related to HyperV:

Failed to get Device VlanID Regkey for Physical NIC /DEVICE/{0550DDDD-7D49-4C01-9757-6F26E5982265}. vSwitch will be created on this Physical NIC without VlanID being inherited by HostVNic. Status = Object Name not found.

"TIA"!!




Can not replicate through port 443

$
0
0

Hi,

I have 10 Windows 2012 R2 HyperV server and all servers replicate their VMs to a backup server through 443.

Only one server is not able to do this through port 443, it can only use port 80. Telnet 443 is fine to the backup server and this server can also replicate to another HyperV server. I tried fqdn and netbios name but nothing works...

Any ideas where the issue came from?

Thanks

Christian

 

install operating system later

$
0
0

during the procedure of installing virtuall machine on hyper v I choose "install operating system later ".

how can I install the OS now?

failover cluster manager MMC Crashes

$
0
0
CLR20r3
  Problem Signature 01:mmc.exe
  Problem Signature 02:6.3.9600.17415
  Problem Signature 03:54504e26
  Problem Signature 04:mscorlib
  Problem Signature 05:4.6.1055.0
  Problem Signature 06:563c113c
  Problem Signature 07:157f
  Problem Signature 08:219
  Problem Signature 09:System.IO.IOException
  OS Version:6.3.9600.2.0.0.400.8
  Locale ID:1033
  Additional Information 1:7a26
  Additional Information 2:7a26859a206c9898d6333b7db353aef8
  Additional Information 3:ceb8
  Additional Information 4:ceb877ec4aaad2cb5dfe5a7a3c184d1e

Cannot select merged drive for virtual machine

$
0
0

Hi all,

I just merged an AVHD into a VHD for a virtual machine using the Edit Disk option under the action menu after all of the snapshots had been deleted, but the VM not shut down afterwards for a long time.  I'd done this on a different virtual, and Hyper-V automatically figured out where the new drive was.  With this one, I got a progress bar regarding the merge, which filled to completion.  However, the VM refused to boot, because it can't find the AVHD file that was merged away.  When I try to change the virtual, I get a message saying:

Cannot change disk since a disk merging is pending.

However, I can't figure out how to get Hyper-V to give tell me the progress of that merge.  Any ideas?

Hyper-V Manager - CredSSP Issue

$
0
0
Hello,

I hope this is the right place to post this question. I have roughly 60 servers running Hyper-v Server Core 2012 r2. From time to time I have to use Hyper-V Manager to connect to one of the machines. Such as when the server loses power and shuts down. Sometimes the RODC VM will come to the boot recovery options screen, after such a shutdown, and I have no choice but to use Hyper-V Manager to connect to it.

Recently our workstations were patched against the CredSSP vulernability, and as work around until we can get the servers patched, we've deployed a GPO disabling network level authentication. So, I can RDP into the Hyper-V core host using mstsc.exe, but I cannot"connect" to the VM using Hyper-V Manager.

Has anyone seen this? The only way I can "connect" to the VMs on the the Hyper-V host using Hyper-V Manager is to uninstall the CredSSP patch on my Windows 10, 1803 PC.

I also don't see a way to patch the Hyper-V Core server. I tried to install the patch slated for Server 2012 R2 core and it fails to install stating that the server doesn't need this patch.

Anyway, I could use some help, if anyone has any to offer. If not, I will open a ticket with MS.

Unable to delete checkpoint

$
0
0

I have a VM running Windows Server 2008 R2 previously hosted on a Windows Server 2012 R2 Hyper-V host. Eventually exported prior then imported after the host was upgraded to Windows Server 2016.

Unfortunately, we can no longer delete any checkpoint of the VM with the error message, "The operation failed because the file was not found."

There are event logs recorded by "Microsoft-Windows-Hyper-V-VMMS-Admin" in Event Viewer and here are the Event IDs: 14026, 20924, 20864, 14320, 15070, which basically looking for a differencing disk.

Running the following command indicate that there are a few VM Snapshots with missing ParentCheckpointName of and ParentCheckpointId.

"Get-VMSnapshot -VMName TEST-VM | format-table name, ParentCheckpointName, id, ParentCheckpointId"

I tried creating the missing AVHDX file using the filename indicated by the event logs and used VHD Inspect to make sure parent AVHDX file exists but when I try to delete the checkpoint, Hyper-V Manager looks for another AVHDX file and the first one created is deleted automatically.

Can you please help.

Hyper-V manager - cannot connect to new created VMs

$
0
0

I'm new to hyper-v and virtualization platform on windows.

I just follow the instructions and created a local virtual machine on my laptop.

I started it and the tried to connect, but no luck. I just get the error: "Cannot connect to the virtual machine. Try to connect again. If the problem persists contact your system administrator" 

I can see hyper-v enabled in windows features and the services are running.

The hyper-v manager shows my VM is running but still cannot connect.

Looking on another forum https://social.technet.microsoft.com/Forums/en-US/2f6c2d14-7e5f-4764-8569-850d9a4739ad/windows-10-hyperv-cannot-connect-to-the-virtual-machine?forum=win10itprovirt , i can see several people complaining about this issue but no answer in 3 years :(. Just a reference to a doc which doesn't exist.

I'm using win10  enterprise ver 1709 (OS Build 16299.551)

My laptop is part of a domain and the domain user i'm using is part of the Hyper-V administrators group.

Any help?

Regards

Ves


2012R2 VMs stopped booting under 2016 Hypervisor

$
0
0

Hello all,

My environment:

3 physical nodes running Windows Server 2016 Datacenter. Hyper-v failover cluster. Fully updated.

I deployed some virtual machines with Windows Server 2012R2, 2016 and CentOS.

They all start running fine, but after some time all the 2012R2 vms stop booting up. I can only get to the recovery menu.

2016 and CentOS keep working OK.

What I have tried:

  • Reinstalling from scratch. The problem appeared again after a while. At some point they wouldn't start anymore. Windows updates were disabled this time so it wasn't one of them what triggered the error.
  • Creating a new Gen1 VM, attaching the VHDX. No luck.
  • Local VM on one of the nodes, running standalone, out of the failover cluster. Same issue.
  • Boot repairs (checkdisks, sfc, bootrec, bcdedit...). I can't get them to boot anymore.
  • Windows Update fixes (like https://blog.workinghardinit.work/2017/10/11/quick-fix-publish-vm-wont-boot-after-october-2017-updates-for-windows-server-2016-and-windows-10-kb4041691/). It doesn't seem to be a pending update error.
  • I had one testing VM which was off for a while, almost clean. It doesn't boot either. 
  • Safe mode, safe mode with cmd, safe mode with networking, disable driver signature, disable early launch malware... boot modes don't work either.

   

The Host log shows this error for the Hyper-V Worker:

'VM-NAME' has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0x7B, ErrorCode1: 0x749E6790, ErrorCode2: 0xC0000034, ErrorCode3: 0x0, ErrorCode4: 0x0.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID <VM-ID>)

Anyone having the same problem? Is there any more information that I can provide to help troubleshooting? 

Is there any way I can check some internal VM boot log? When I select "enable boot logging" in the VM it doesn't create the log. I believe it doesn't reach that phase.

Thank you very much in advance.


An error ocurred while attempting to change the state of virtual machine XXX.

$
0
0
Hi guys,

I'm getting this errors trying to start some VMs. If the parent is restarted, they work again.
I have found no particular reason: a working VM after a Windows restart (in the child partition) stop working, stuck at "Starting 50%" and gives this error.

Ideas?

Thanks a lot!


An error ocurred while attempting to change the state of virtual machine XXX.  
 
'XXX' failed to start.  
 
Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'A device attached to the system is not functioning.'  
 
Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.'  
 
Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.'  
 
'XXX' failed to start. (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  
 
Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  
 
'XXX': Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  
 
'XXX': Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08) 

New system admin - hyper-v virtual drive

$
0
0

When I start hyper-v manager I can see that there are 2 virtual machines running (lets call them a and b). Each of them has multiple checkpoints (this is production environment). When I connect to machine b and open file explorer I can see 2 drives on it. One is marked C: and the other one is marked T_logs. This second drive T_logs is running out of space and I am trying to figure out how to add more space to it.

When I go to my host and open settings for machine b and clock on its hard drive I don't see T_logs but rather some different name ending in .vhdx. Also I do not see any checkpoints saved on this T_log drive.

I am reading docs on Hyper-v but I cant seem to deduct from it how to map whatever drive I see when I actually log into the machine to the drive that is shown on the setting on that particular machine on host.

Hyper-V Virtual Machine

$
0
0

Dear Sir.

Do you have any solution regarding to reset Hyper-V Virtual Machine to last snapshot image after log off, meaning after user log off virtual machine it's automatically reset to taken snapshot, every time log off.

Thanks & Regards.

Hossam Farrag 

keyboard problem on hyperv core server 2012 and 2016

$
0
0

Hello, I install few hyperv core server 2012 and 2016 and still use same configuration. Localization set diferend then Keyboard. ( language English, localization Czech Republic and keuboard US) after installtion a add server to local domain make updates and then is keyboard changed to same ass localization.. to Czech. Change keyboard with (SHIFT+ALT) not work.. I loged as domain administrator. What is posible change keyborad or install other? In old servers systems like W2008 is alvays installed EN (US) keyboard.. I do not underestant this change.


How do i virtualize the machines along with storage

$
0
0


Hello,

We are planning to virtualize our SQL cluster (3 machines) and Exchange Server (2 Machines) to Hyper V. I need some help how to do this.

We already have 3 node hyper v cluster using CSV. The plan is to add 2 more servers to the same cluster and move Exchange and SQL there.

For exchange and SQL the Database and Log Files are from SAN, what has to be done to migrate the storage as well and which product works the best.

Thank you all

ferouze

Hyper V VM to not access external NIO default gateway.

$
0
0

I set this as the default gateway for the other external NIC(L3 switch).

VM switch to an external NIC(10G team2) and attempt to communicate with the primary gate way of the external NIC(L3 Switch), but can not communicate.
I set it in Windows 10 Hyper-V.
VM switch <-> L3 swtich(Cisco) Ping O
Internal VM(10G team2) <-> VM switch Ping O
Internal VM(10G team2) <-> L3 Swtich(Cisco) Ping X
L3_siwtch(cisco) <-> Internal VM(10G team2) Ping X

In this section, how do you configure Hyper-V?

Failure when expanding disk (Windows Server 2016)

$
0
0

We have several Windows 2016 Std with Hyper-V role installed. Standalone server

Quite often, when we are trying to modify running VM with Expand Dynamic disk operation for guest OS - we have a problem. If we are expanding not a system drive - VMs is "reachable" with ping, it looks working, When we are looking inside guest VM - the volume that was modified - is in "freezed" state. Disk management - hanging, Open via explorer - waiting forever/not responding. A lot of errors related to volume.

When we are changing system drive (same Expand operation) - VM stop responding at all (ping, RDP, etc).

When VM is in stopped state - same operation goes without a problem.

Host 2016 server event logs - doesnt have any useful info/errors, etc.

We waited up to 20 min, then tried to cancel operation, restart HV VM management service.

But the only possible way that we found for restoring VM was to RESET HyperV host.


We were able to reproduce couple of times with VMs based on 2012 R2 and 2016 guest OS. Periodically - it goes well, without problem for same VMs. 

With 2012R2 - there is no such problem, we made same operation hundreds of times.

That is crazy solution, for such simple operation when VM is large SQL server (1,5 TB RAM, etc), and should be 99,9% uptime. Please help to find out what can be the reason of that problem.


How to delete a checkpoint file

$
0
0

Server 2012R2

I need to expand disk space in my SqlSever2102 VM. It has a checkpoint file but I see no way to delete it. With the checkpoint file present, I cannot edit the VHD to expand it.

What do I do to delete the checkpoint file?


John Lenz

HyperV host attestation failure

$
0
0

Hi,

I have setting up an HGS(Host Guardian Service) server on a physical node.

On HGS node, Get-HgsTrace -RunDiagnostics -Detailed return all passes.

Then I run the following command on the other guarded hyperV server:

Get-HgsTrace -RunDiagnostics -Detailed, 
it give me the following output as failure while other output passes: 

    HV01: Fail
        Test Attestation: Fail
            Check Attestation Status: Fail
            >>> The remote attestation request for this host failed because IOMMU was not required by the hypervisor.
            >>> Verify that IOMMU is enabled and that it is explicitly required for Virtual Secure Mode to launch. For
            >>> help, refer to http://go.microsoft.com/fwlink/?LinkId=734842

The physical hyperV server has already enabled virtualization and it TPM status is ready for use.

Please advise

Viewing all 19461 articles
Browse latest View live


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