LightSail Windows Server 2022 VM - Unable to connect using RDP - Administrator user is disabled and cannot be accessed error

0

I am trying to access the Windows VM on LighSail, using RDP from my local Windows PC and getting the following error

Remote Desktop Connection
The user account is currently disabled and cannot be used. For assistance, contact your system administrator or technical support.

[Expanded Information]
Error code: 0xb07
Extended error code: 0x0
Timestamp (UTC): 06/26/24 06:56:38 AM

Enter image description here

When I tried to access from the LightSail console using the Browser RDP getting this error.

An error occurred and we were unable to connect or stay connected to your instance. If this instance has just started up, try again in a minute or two.

CLIENT_FORBIDDEN [771]

Enter image description here

How to resolve this.

ETC
asked 3 months ago465 views
1 Answer
0

To resolve the issues you are encountering while trying to access your Windows VM on LightSail using RDP, follow these steps:

Step 1

  1. Reset the Administrator Password: Go to the LightSail console -> Navigate to your instance -> Select the "Connect" tab -> Click on "Manage" under the "Windows password" section -> Reset the password and make sure the account is not disabled.

  2. Use the LightSail Browser-based RDP: If you are unable to connect via the browser-based RDP due to the CLIENT_FORBIDDEN [771] error, ensure that your network security groups and firewall settings are correctly configured to allow RDP connections.

Step 2

Check Security Group Settings: Go to the LightSail console -> Select the instance -> Click on the "Networking" tab -> Ensure that there is a rule allowing inbound traffic on port 3389 (RDP).

Check Windows Firewall:

  • Once you have access, check the Windows Firewall settings on the VM to ensure that it allows RDP traffic.

Step 3

Verifying Network Connectivity:

  • Ensure that your local machine can reach the LightSail instance.
  • Use tools like ping or telnet to check connectivity to the instance's IP address on port 3389.
  • Sometimes, rebooting the instance can resolve connectivity issues.

Step 4

Review Logs:

  • Check the Windows Event Logs on the LightSail instance for any relevant error messages related to RDP or account login.
profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions