question

laco avatar image
0 Votes"
laco asked LuisCantu-9922 answered

Connect to Azure VM by RDP: An internal error has occurred

Hi all,
we have the Azure virtual machine:
account: xxxxxxxxx@xxxxxxx.xxx,
account type: Personal account,
subscription: Microsoft Partner Network,
resource group: xxxxxxxxxxx,
virtual machine: xxxxxxxxxxx,
public ip address: xx.xxx.xx.xx:xxxx and
OS: Windows Server 2012 R2 Datacenter.

I downloaded the xxxxxxxxxxx.rdp from Azure portal.

If I clicked on the RDP I had got error:
Remote Desktop Connection: An internal error has occurred.

Do you know cause?

Thank you very much.

azure-virtual-machines
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Here is screenshot:
23217-image003.png


0 Votes 0 ·
image003.png (8.7 KiB)

Hi Iaco,

Do you have any NSG Inbound rule applied to the VM?

Thanks,
Vinicius Deschamps
https://viniciusdeschamps.com.br


0 Votes 0 ·
laco avatar image laco ViniciusDeschamps ·

Hi Vinicius,
yes, we have got inbound rules see the picture.
Thanks

23523-image005.png


0 Votes 0 ·
image005.png (84.9 KiB)
Show more comments

Remove the rule in NSG Inbound rule and create again. :)

0 Votes 0 ·

Remove the rule in NSG Inbound rule and create again. :)

0 Votes 0 ·
whoward-msft avatar image
0 Votes"
whoward-msft answered whoward-msft commented

Hey @laco,

Because you are receiving an internal service error when attempting to RDP into your VM. I'd advise you to take a look at this doc here. This doc explains what that error means and offers a solution. Hope this helps!

If this answer helped you solve your issue, please mark this answer as accepted to help others in the community with similar issues.

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Winston,
the document, on whom you referred I read, but my problem did not resolve.
Thanks.

0 Votes 0 ·

Hey @laco,

Sorry to hear that didn't work, so what error specifically do you get after detaching the OS disk and recreating the VM? I'd like to learn where the troubleshooting guide failed so I know where you are. After detaching the OS disk, recreating the VM, and attempting to RDP into it, what do you get? Thanks!

0 Votes 0 ·

Hi Winston,
I will redeploy VM and I will inform you, if it helped to me or not.
Thanks.

1 Vote 1 ·
Show more comments
RuiCouto-9973 avatar image
0 Votes"
RuiCouto-9973 answered

Hii !!!

I am having the same problem

But it is an intermitent problem, if i try several time sometimes it connect well.

If i drop the connection again it can take a while, but in a lot of tries, one connect well

any idea of waht it can be?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ManishJ avatar image
0 Votes"
ManishJ answered

Have you tried connecting to the VM via SAC

Please perform these steps

https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-internal-error

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasHermansen-9871 avatar image
0 Votes"
AndreasHermansen-9871 answered

Hi - had same issue on 3 diffrent machines. I can connect to mine if I connect while it is restarting.

I did a permanent fix, with these 3 settings. Remove the checkmark in pic1. Change setting in group policy in pic2. And delete the machine keys, pic3. So now i dont have the issue anymore. 25812-take1.png25813-take2.png25777-take3.png



Br Andreas


take1.png (17.7 KiB)
take2.png (83.7 KiB)
take3.png (17.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SatharFaiq-5652 avatar image
0 Votes"
SatharFaiq-5652 answered

Hi, Even I am facing the same issue and I couldn't find solution for this.
Can anyone please help me on this ?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LuisCantu-9922 avatar image
0 Votes"
LuisCantu-9922 answered

Hi,

I was have the same issue and the solution was been change the port of RDP in the server close the rule 3389 in azure portal, create a new rule with the new port because the internal error its attributed an attack to RDP.

https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-internal-error#cause

Best

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.