2

If I only have access to the Azure web interface (eg: no RDP access) is there any way I can boot a windows Azure VM into safe mode AND remotely access it?

John
  • 161
  • 1
  • 5
  • 1
    My question specifically relates to not having RDP access to the server. Can it be booted into safe mode from the Windows Azure web interface? Can I access a Network KVM or other device to recover the VM if RDP is not working? – John May 22 '14 at 23:47

3 Answers3

1

I know this is late but I thought I'd put this here better late than never! The services required for RDP are disabled in Safe Mode and is thus unsupported for Azure VMs operating Windows. As a workaround, you can copy the OS disk and attach to a Rescue VM, RDP to the Rescue VM, then boot the cloned disk in Nested Virtualization to access the server from the Hyper-V Management console. Then you can put it in safe mode, take it out of safe mode, etc without accessing it directly with RDP. If you have made changes to the server while it is nested, you can then shut down the Hyper-V server and swap the OS disk with the Azure VM.

1

Without knowing your specific guest OS setup, I can't get tell you for certain or give you an exact step by step, but if you want to change how Windows boots, you want BCDEdit.

You can find an intro guide here: http://msdn.microsoft.com/en-us/library/windows/hardware/ff547251(v=vs.85).aspx

More specific boot options for later versions of Windows (Including Server 2012 and 2008): http://msdn.microsoft.com/en-us/library/windows/hardware/ff542273(v=vs.85).aspx

Thai Wood
  • 353
  • 2
  • 8
1

I don't think you can boot Azure VM to safe mode if you don't have RDP access. Even if you have RDP access and boot the VM to safe mode in your RDP session, you may not connect back with the RDP as it is likely disabled in safe mode. Here is a feedback request for this topic, you probably want to vote for it. safemode for azure VM.

If you just want to do something on the VM without RDP access, you can try to connect to the VM with a remote PowerShell session. Here is a guide: Remoting into Azure ARM Virtual Machines using Powershell.

Chun Liu
  • 426
  • 2
  • 7