Yesterday I created two Azure VMs from Gallery images:
- Windows Server 2012 R2 Datacenter
- BASIC tier
- A2 (2 cores, 3.5 GB memory)
- New cloud service DNS name (msvwfswebui)
- Machine name msvwfswebui
- North Central US
- Automatically generated storage account
- Remote Desktop public port 60149
- SQL Server 2012 SP1 Standard
- STANDARD tier
- A2 (2 cores, 3.5 GB memory)
- Same cloud service DNS name (msvwfswebui)
- Machine name mzvwfswebui (notice the 2nd character is "z" distinguishing it from #1)
- North Central US
- Automatically generated storage account
- Remote Desktop public port 60148
I was able to remote into #1 no problem. After that I created #2, but was unable to remote into it. I just get the error Remote Desktop can't connect to the remote computer for one of these reasons:
1) Remote access to the server is not enabled
2) [... etc ...]
After searching the forums for an answer I haven't gotten much help, but I did see something that led me to try this, which I eventually managed to get to work (if the VERBOSE messages are an indication of success), but it didn't help:
PS C:\> get-azurevm -servicename "msvwfswebui" -name "mzvwfswebui"|set-azurevmaccessextension|update-azurevm
VERBOSE: 7:44:54 AM - Completed Operation: Get Deployment
VERBOSE: 7:44:55 AM - Completed Operation: Get Deployment
VERBOSE: 7:44:55 AM - Begin Operation: Update-AzureVM
VERBOSE: 7:45:28 AM - Completed Operation: Update-AzureVM
So now I'm wondering what else I can to to determine why the second VM is not allowing a remote desktop connection, or to fix it.