Windows Azure Virtual Machine hangs in “Starting” state

Once one and then you might experience that your VM hangs with the status “Starting”.

AzureVMStarting

This is really frustrating as you do not have a force power off button in the Azure GUI.

This is where PowerShell is your savior.

Open a Windows Azure PowerShell window, and connect to your subscription. The run this command

Stop-AzureVM -Name YourVMName -ServiceName YourServiceName -Force

Force is the keyword here. Give it some seconds, and the VM should stop. Now, you can try to start it again.

For more on this command, and Azure Powershell in general, visit http://msdn.microsoft.com/en-us/library/jj152831.aspx

Advertisements

2 comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s