Azure – Unable to Connect to Sysprepped VM

azuresysprep

I created a Server 2008R2 VM in Hyper V, ran Sysprep on it, then uploaded the VHD to Azure via Azcopy.

Then I converted the VHD file into a managed disk, and created a VM from the managed disk.

Now I am unable to RDP to this VM to complete the installation.

I tried running mstsc /admin however this didn't work either.

I installed boot diagnostics and got a picture of the current state, however I'm not sure how to proceed from here.

Is there any way I can connect to it to complete the installation?

screenshot of current VM state (via boot diagnostics)

Thanks.

Best Answer

You must have missed the step in the process to convert VHD to and Azure Image before deploying. Below is a link to the process.

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/upload-generalized-managed#generalize-the-source-vm-by-using-sysprep

At this point you will have to delete VM and disk. Upload sysprep VHD again, this time convert to image then deploy from image.

Easiest and fastest way to fix issue.