Cannot start application in Virtual Machine Windows Server 2012

Category: azure management


Yaroslav1784 on Wed, 14 Nov 2012 15:51:40

Hi all,

I decided to try Windows Server 2012 for one of my projects.

I created a virtual machine. Everything works, except i cannot start a program. More then that i cant run the installer.

On my local machine under windows 8 and on my local windows server 2012 installation works fine. But when i try to run it via RDP connection nothing happens.
I click install... and... nothing happens.
I enabled everything in options of IE. My computer is under maximum security risk, everything is allowed. But install just doent run.

I would be very glad if you can suggest any solutions to this problem?

Thanks in advance.


Tom Zhang – MSFT on Wed, 05 Dec 2012 08:17:08


Can you try removing the endpoint and adding it back?

Select the VM, and on the Endpoints tab select the RemoteDesktop endpoint and then Delete Endpoint at the bottom. After you see "Successfully deleted endpoint RemoteDesktop from virtual machine..." add it back by selecting Add Endpoint, leave it on Add Endpoint, then Name of RemoteDesktop, Protocol of TCP, public port of something in the 49152-65535 range and private port 3389.

To do the same with Powershell:

get-azurevm <cloud service name> <vm name> | remove-azureendpoint RemoteDesktop | update-azurevm

get-azurevm <cloud service name> <vm name> | add-azureendpoint -Name RemoteDesktop -Protocol TCP -LocalPort 3389 | Update-AzureVM

Leaving off the -PublicPort parameter will have it automatically select an available port.

If that doesn't work, you can try recreating the VM from the same VHD, which will show up under My Disks when you go to create a VM (after the current VM has been removed).