Can't connect to Windows 10 VM on Azure after installing update

2

3

I have a Windows 10 VM on Azure, to which I connect using remote desktop. Today I installed the latest preview build on it, and now I can no longer connect using RDP: my credentials no longer work, and I don't have any others.

What can I do to regain access to my VM?

Thomas Levesque

Posted 2014-11-14T15:07:48.940

Reputation: 447

Have you tried a forced restart? – Ramhound – 2014-11-14T15:21:45.673

@Ramhound, yes, it didn't change anything – Thomas Levesque – 2014-11-14T15:30:28.337

It sounds like your only choice is to rebuild the virtual machine. It sounds like something happen with the update. This is to be expect with pre-beta software. – Ramhound – 2014-11-14T15:31:41.443

@Ramhound, in this case, it's probably what I'm going to do, because I don't have anything important on that machine. But what if it happens on a VM where I have critical data and/or applications? There must be a way to access it when RDP isn't working, right? – Thomas Levesque – 2014-11-15T14:36:21.797

That would be a question for Microsoft. If you have critical data you might want to keep backups of said virtual machine. I am sure Azure has some mechanic that can make that process easy. – Ramhound – 2014-11-15T16:02:42.103

Answers

2

I managed to access it again by resetting the password using Azure Powershell:

Get-AzureVM -ServiceName “xxx”-Name “xxx” | Set-AzureVMAccessExtension -UserName xxx -Password xxx | Update-AzureVM

Thomas Levesque

Posted 2014-11-14T15:07:48.940

Reputation: 447

I've reseted the password with your script, and it says OperationStatus = Succeeded, but still no way to log on to the server. – Balint – 2015-06-21T12:33:20.613