Troubleshooting specific RDP error messages in Azure

In this Azure tutorial, we will discuss Troubleshooting specific RDP error messages to a Windows VM in Azure. Apart from this, we will also discuss on the below topics:

  • Windows Security error: Your credentials did not work.
  • This computer can’t connect to the remote computer.
  • The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.

Troubleshooting specific RDP error messages to a Windows VM in Azure.

Let’s try Troubleshooting specific RDP error messages in Azure.

Below are a few specific RDP error messages which you might get while trying to connect to your Azure virtual machine(VM). Below are a few errors. We will discuss one by one how can we fix those.

  • Windows Security error: Your credentials did not work.
  • This computer can’t connect to the remote computer.
  • The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.

Windows Security error: Your credentials did not work.

You might get an error like Windows Security error: Your credentials did not work.

This error is because the Remote desktop is not able to validate the entered username and password.

1- For local accounts, you can use the ComputerName\UserName syntax as the username.

2- For domain accounts, you can use the DomainName\UserName syntax as the username.

3- If you have already configured the DNS name, you can use the Fully Qualified Domain Name(FQDN) as the username.

Verify the Username and Password entered are correct. You can reset the username and password from the Azure portal. To reset the username and password, You can refer to How to access Azure VM (Virtual Machine).

This computer can’t connect to the remote computer

We might get the error This computer can’t connect to the remote computer while connecting the virtual machine(VM).

This error you will get because the account is using to connect may not have the Remote Desktop sign-in rights.

So always be sure that the account you are using has the Remote Desktop sign-in rights.

To fix this issue what you need to do is you need to give Remote Desktop sign-in rights to that particular account.

To give these rights you need to go to System Tools -> Local Users and Groups -> Groups > Remote Desktop Users and add the account to this group.

The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.

You might get the error The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license while working with a virtual machine(VM).

Normally, the grace licensing period for a Remote Desktop Server role is 120 days. Once it expires you need to install the license.

But you can disable this by running the below command with PowerShell before that you can keep a local copy of the RDP file

mstsc <Your local RDP File name>.RDP /admin
mstsc MyNewVM.RDP /admin

MyNewVM.RDP is my Remote Desktop File(RDP) file which i have downloaded.

All the above errors are the part of Troubleshooting specific RDP error messages in Azure.

Related article

Conclusion

In this Azure tutorial, We discussed

  • Troubleshooting specific RDP error messages in Azure
  • Windows Security error: Your credentials did not work.
  • The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.