Fix: The Connection Was Denied Because the User Account Is Not Authorized for Remote Login

The Remote Desktop feature allows users to connect to a system remotely and operate it. If the user account you use to connect to a remote system doesn’t have sufficient permissions, you see the below error- 

The Connection Was Denied Because the User Account Is Not Authorized for Remote Login

In this article, we discuss ways to fix this issue while connecting to systems remotely.

NOTE: One should have Admin privileges to perform the below fixes.

Fix 1: Create a new Security Group for Remote Desktop Services

1. Open the Run Dialog using the keys Windows+R.

2. Enter the command secpol.msc, and press Enter.

 

Local Security Policy Editor

 

3. The Local Security Policy window opens. Double-click on Local Policies.

4. Now, double-click on Users Right Assignment.

5. From the right-hand side panel, locate and double-click on Allow log on through Remote Desktop Services.



 

Allow Log On Through Rds

 

6. Check if you can see Remote Desktop Users listed. If you don’t see it listed, follow the below steps.

7. Click on Add User or Group button.

 

Add Users Or Groups

 

8. In the Select Users or Groups window, enter Remote Desktop Users, and click OK.

 

Select Users

 

9. You will see a Name Not Found window. Verify the object name, Remote Desktop Users.

10. Click on the OK button.

 

Name Not Found

 

11. In the Allow log on through the Remote Desktop Services Properties window, click on the OK button.

12 -Now, search cmd in windows search box.

13 – Right click on Command prompt icon from the result.

14 – Select run as administrator.

 

Cmd Admin Min

 

15. In the Command Prompt window that opens, enter the below command and hit Enter.

gpupdate /force

 

Gpupdate Force

 

Check if this solves the error. If not, try the next fix.

Fix 2: Change the Log on for Remote Desktop Services

1. Open the Run Dialog.

2. Enter the command services.msc and press Enter.

3. The Services window opens. Locate the service named Remote Desktop Services and double-click on it.

 

Remote Desktop Services

 

4. Go to the Log On tab.

5. Click on This account option.

6. Click on the Browse button.

 

Click On Browse

 

7. In the Select User window, click on the Advanced button.

 

Advanced Button

 

8. In the appearing window, click on the Find Now button.

9. Under the search results section, double-click on NETWORK SERVICE.

 

Network Service

 

10. In the Select User window, click on OK.

 

Network Services Ok

 

11. Click on the Ok button in the Remote Desktop Services Properties window.

12. Right-click on the Remote Desktop Services and choose Restart.

 

Restart The Service

Fix 3: Provide Sufficient rights to your User Account

1. Open the Run Dialog.

2. Enter the command lusrmg.msc and hit the Enter button.

 

Lusrmgr

 

3. In the opening window, double-click on Users.

4. Now, double-click on your User Account. In this case, it is admin.

 

Admin Users

 

5. Go to the Member Of tab.

6. If you do not see Remote Desktop Users listed, click on the Add button.

 

Admin Properties

 

7. In the appearing window, click on the Advanced button.



 

Click On Advanced

 

8. In the opening window, click on the Find Now button.

9. From the Search results, double-click on the Remote Desktop Users.

 

Find Now Remote Desktop Users

 

10. In the Select Groups window, click on the OK button.

 

Rds Ok

 

11. Now, you can see the Remote Desktop Users created.

12. Click on Apply and then click on the OK button.

 

Remote Desktop Users Apply Ok

 

 

 

That’s All.

Kindly comment and let us know the fix that helped you solve the error.