Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I restart a Hyper-V host one or more of the attached virtual machines (Server 2008 R2) do not start up successfully, rather they pause waiting for the recovery dialogs to be either completed or cancelled. If I cancel the dialog the VM in question starts up fine.

This is less than optimum solution as I want the VM's to start upi without requiring any input from me.

Has anyone got any suggestions?

share|improve this question
    
Is the "recovery dialog" the one inside the guest (ie. guest OS saying something like "too many unexpected restarts")? Also what is the Automatic Stop Action for the guest set to? –  Richard Feb 6 '11 at 8:56
    
the recovery dialog is inside the guest OS when it starts up. It shows me a drop down lsit of langugages to continue the recovery with. I choose to cancel the recovery and it starts normally. –  Xhalent Feb 8 '11 at 9:35
    
the automatic stop action is "Turn off the virtual machine". Is this a bit harsh? Should it be "Shut down the guest operating system" instead? –  Xhalent Feb 8 '11 at 9:37
add comment

1 Answer

up vote 3 down vote accepted

You have essentially two options here.

1) Reconfigure the OS within the guest VMs so that they don't drop into the recovery console after a hard reset. See various bcdedit options for that.

For a full list of them, type:

bcdedit /? types bootapp

Pay particular attention to "RECOVERYENABLED" and "RECOVERYSEQUENCE".

2) Reconfigure the guest VMs themselves so that they don't experience a hard reset when you restart the host. Under VM settings, see "Automatic Stop Action." Set it to shut the VM down cleanly.

Personally, I prefer to do both.

share|improve this answer
    
thanks for the info. I have used been able to set the recvoeryenabled = no on the VM and set the Automatic stop action to shut down the guest OS. Can/Should I also clear the RecoverySequence bcdedit setting, if how would I do that? –  Xhalent Feb 8 '11 at 9:57
    
I don't think that's necessary. –  Jake Oshins Feb 8 '11 at 18:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.