Solved

Hyper-V Ms won't start after updates and reboot

Posted on 2014-11-13
17
1,414 Views
Last Modified: 2014-11-20
I need some help.
I installed the November 2014 MS updates last night. I installed them on my lab Hyper-V box. The Hyper-V box is joined to a domain but is not a domain controller. It is Server 2012R2 with Hyper-V with all previous patches applied. I had two VMs configured on the box. The VMs were a 2012R2 server and a Windows 8.1 box. Both were running fine. In fact I shut them down before I did the Microsoft Updates on the server.
The issue I describe below was not present until I did the updates and rebooted. The server and the associated VMs had been running fine for months. These updates are the ones that my SUS server provided to this server.
After I rebooted the server I could not restart either VM. I kept getting the same error that is listed below. I tried DELETING the VM from Hyper-V manager and then building a new VM and using the old vhdx. Again NO LUCK. I even tried CREATING a new VM and I got the same problem.
(Additional Note: I appeared as though I was able to delete the VM from Hyper-V Manager. Hyper-V Manager displayed 'Destroying....' for some period of time and then the VM was removed from Hyper-V Manager. However, recreating the VM did not solve the problem.)
Each time I get the following error displayed on screen.
'Unnamed VM' could not intiialize.
An attempt to read or update virtual machine configuration failed
'Unnamed VM' could not initialize (Virtual Machine ID)
'Unnamed VM' could not read or update virtual machine configuration: Ran out of memory (0x8007000E) Virtual machine ID B9xxxxxxxxxxxx
=======================

I adjusted permissions on the C:\ProgramData\Microsoft\Windows\Hyper-V folder. Opened it up to "Authenticated Users" based on a couple of TechNet articles that I found. NO luck
In the Hyper-V Config log I get the following entry,
The configuration store at'' is not accessible Unspecified error(0x80004005)
==========================
I also had these errors in the Windows Application log.
ID=1000 Source=Application Error Type=1 Message=Faulting application name: vmwp.exe, version: 6.3.9600.17334, time stamp: 0x5407c751
Faulting module name: vsconfig.dll, version: 6.3.9600.16384, time stamp: 0x5215db66
Exception code: 0xc0000194
Fault offset: 0x000000000001966c
Faulting process id: 0xb84
Faulting application start time: 0x01cffe274d55ea6b
Faulting application path: C:\Windows\System32\vmwp.exe
Faulting module path: C:\Windows\System32\vsconfig.dll
Report Id: d4210450-6a1a-11e4-80d6-0019b9eed814
Faulting package full name:
Faulting package-relative application ID:
0
Comment
Question by:Dale McKay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
17 Comments
 
LVL 58

Expert Comment

by:Cliff Galiher
ID: 40441827
Look at your disk space. One thing Hyper-V does is reserve as much disk space on the drive as you've allocated RAM for the VM. So a VM with 32 gigs of RAM needs 32 gigs of free space just to start. Hence the "ran out of memory."  It seems likely that you were already on the verge of being out of space and the latest updates put you just over the edge.
0
 
LVL 1

Author Comment

by:Dale McKay
ID: 40441846
OK,,I like your thinking.

So I went and checked. The drive that the VMs,,,and Hyper-V,, are on has 72 GB free.

I went and looked at the configured memory requirements for the VMs.  Both VMs are configured for 512 MB of startup memory and they initially weren't configured for Dynamic Memory. I went ahead and configured Dynamic Memory on both giving them 512MB Minimum and 8192 MB Maximum settings.

Still no start. Error message is the exact same.
0
 
LVL 58

Expert Comment

by:Cliff Galiher
ID: 40441852
Check your other drives. There is a logic to the scratch disk that is chosen, but it isn't immediately coming to mind and I'm mobile so I can't google it at the moment.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 1

Author Comment

by:Dale McKay
ID: 40441854
This server only has one hard drive. Not sure where the scratch disk would be...
0
 
LVL 58

Expert Comment

by:Cliff Galiher
ID: 40441856
What OSes are your guests?
0
 
LVL 1

Author Comment

by:Dale McKay
ID: 40441859
. I had two VMs configured on the box. The VMs were a 2012R2 server and a Windows 8.1 box. Both were running fine. I
0
 
LVL 58

Expert Comment

by:Cliff Galiher
ID: 40441862
Try setting the memory for the 2012 R2 VM to 2048MB, disable dynamic memory, and try starting it.  512MB is really too small for the OS to load, and since both 2012 R2 and 8.1 have integration components preinstalled, they will report memory errors up to the host. I'm surprised they were running at all with that little memory. The latest 2012 R2 installer ISO won't even boot with less that a gig.
0
 
LVL 1

Author Comment

by:Dale McKay
ID: 40441868
Ok,,did that. 2048MB for startup. No Dynamic Memory. No change. VMs still won't start. Same exact error.

Remember that these VMs were running prior to November 2014 updates being applied to the Hyper-V host. I had no issues with these VM s starting or running...
0
 
LVL 58

Expert Comment

by:Cliff Galiher
ID: 40441877
I kept that in mind. Like I said, integration components can still play a role, so even a host update can cause VMs to behave differently.

But if they aren't starting now, I'm at a loss. The only other thing I can think of is if the host is domain joined and the only DC is a guest. That could cause issues with updates trying to write config data with an account that can't authenticate. But I wouldn't expect that to present with a memory error.
0
 
LVL 1

Author Comment

by:Dale McKay
ID: 40441881
The DC for this domain is not a guest on this Hyper-V server. The 2012R2 virtual on this server is just a "play" server where I can try things and break things.

Thanks for the help but I am really focusing on the updates that were done. One of them is an XML update and since the VM configs are in XML form that might make sense.

Thanks again....
0
 
LVL 1

Author Comment

by:Dale McKay
ID: 40441884
OK,,,doing some more digging.

Had an issue on this box where I couldn't start VMs. This,, http://support.microsoft.com/kb/2779204,, solved my problem.

Now when I look at my Local Security Policy on the Hyper-V server,,I see some settings that are updated by my "Default Domain Policy" which is the only policy in play for this domain. HOWEVER, my Default Domain Policy disables the administrator account and on this Hyper-V server box the administrator account is enabled and remains that way even after a "gpupdate /force".

I am pretty certain that this whole issue comes down to a permission issue in some way so I am kinda grasping at straws right now....

I do see that NT VIRTUAL MACHINE\Virtual Machines is configured to "Log on as a service" in the Local Security Policy on this Hyper-V server
0
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 40442554
create a dummy virtual machine and see if it starts
0
 
LVL 1

Author Comment

by:Dale McKay
ID: 40442791
Yeah,,tried that. Same error as the previously existing VMs.
0
 
LVL 54

Expert Comment

by:McKnife
ID: 40443136
I would question the health of the hyper-v-components, not of the guest machines.
Do a repair installation using the setup media (it's called an inplace upgrade). This will undo all updates as well.
0
 
LVL 1

Accepted Solution

by:
Dale McKay earned 0 total points
ID: 40444842
OK,,so I solved this issue by removing the Hyper-V role and then readding the role. The permissions of C:\Programdata\Microsoft\Windows\Hyper-V and C:\Users\Public\Documents\Hyper-V definetly changed as a result of re-adding the role.

All required updates (as supplied by WSUS) are applied also.
0
 
LVL 1

Author Comment

by:Dale McKay
ID: 40444844
OK
0
 
LVL 1

Author Closing Comment

by:Dale McKay
ID: 40454643
I solved my own problem
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question