Fix: “The remote connection was denied” in Windows 10

Milan Stanojevic avatar. By: Milan Stanojevic
7 minute read

Home » Fix: “The remote connection was denied” in Windows 10

Remote Desktop is one of the simplest ways to fix problems on a computer remotely, but it seems that this feature has some issues on Windows 10. Users reported The remote connection was denied error on Windows 10, so let’s see how to fix it.

“The remote connection was denied” on Windows 10, how to fix it?

Table of contents:

    • Fix -“The remote connection was denied because the user account is not authorized for remote login” Windows 10
      1. Change Remote settings
      2. Change Local Security Policy settings
      3. Delete local and roaming profile
      4. Set the Remote Desktop Services logon to Network Service
      5. Alter your registry
      6. Recreate Domain Certificates
      7. Create a new DWORD
      8. Align the MaxTokenSize for the server
      9. Add domain users instead of Remote Desktop users
    • Fix – “The remote connection was denied because the username and password combination” Windows 10
      1. Turn on CHAP and CHAPv2
      2. Use rasphone command
      3. Create NTLMv2 Compatibility DWORD

Fix -“The remote connection was denied because the user account is not authorized for remote login” Windows 10

Solution 1 – Change Remote settings

According to users, they are unable to start Remote Destkop session due to this error, so in order to fix this problem you need to check Remote settings on your host computer. To do that, follow these steps:

  1. Press Windows Key + S and enter system. Choose System from the menu.
    remote-connection-was-denied-system-1
  2. Select Remote settings from the left pane.
    remote-connection-was-denied-system-2
  3. Be sure that Allow remote connections to this computer option is selected and click Select Users.
    remote-connection-was-denied-system-3
  4. Click the Add button.
    remote-connection-was-denied-system-4
  5. Enter the user name in Enter the object names to select and click Check Names. Be sure to enter the computer name before the user name like this: COMPUTERNAME\username.
    remote-connection-was-denied-system-5
  6. Save changes, and try to use Remote Desktop again.

If you have Remote Desktop Users group, be sure to add it by following the steps above.

Solution 2 – Change Local Security Policy settings

Sometimes you can get The remote connection was denied error if your Local Security Policy settings are incorrect. To fix this problem you need to edit Local Security Policy by following these steps:

  1. Press Windows Key + R and enter secpol.msc. Click OK or press Enter to run it.
    remote-connection-was-denied-local-1
  2. When Local Security Policy window opens go to Local Policies > User Rights Assignment in the left pane.
  3. In the right pane locate Allow log on through Remote Desktop Services and double click it.
    remote-connection-was-denied-local-2
  4. Click Add User or Group button.
    remote-connection-was-denied-local-3
  5. Enter the user name or group name in the Enter the object names to select and click Check Names button. If your input is valid, click OK to save changes. If you have Remote Desktop Services group, be sure to add it.

Solution 3 – Delete local and roaming profile

Few users claim that you can fix this problem by deleting local and roaming profile. We don’t know if this solution works, but you might want to try it.

Solution 4 – Set the Remote Desktop Services logon to Network Service

Users reported that The remote connection was denied error appears if the Remote Desktop Services service logon is set to Local System. To change that, follow these steps:

  1. Press Windows Key + R and enter services.msc. Press Enter or OK.
    remote-connection-was-denied-services-1
  2. When Services window opens, locate Remote Desktop Services and double click it.
    remote-connection-was-denied-services-2
  3. When the Properties window opens, go to Log On tab and make sure that Local System account isn’t selected.
    remote-connection-was-denied-services-3
  4. After Network Service is selected, click Apply and OK to save changes.

After changing the Remote Desktop Services service logon to Network Service, the issue should be completely resolved.

Solution 5 – Alter your registry

One solution that users proposed is to edit your registry. To fix this problem you need to grant certain permissions to the Users group. Before we start, we have to mention that editing your registry can cause certain issues, therefore you might want to create a backup of your registry just in case. To edit your registry, do the following:

  1. Press Windows Key + R and enter regedit. Press Enter or click OK.
    remote-connection-was-denied-regedit-1
  2. Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon key in the left pane, right click it and choose Permissions.
    remote-connection-was-denied-regedit-2
  3. In Group or user names select Users. Make sure that Users group has Read permissions set to Allow. After setting the Read permissions to Allow, click Apply and OK to save changes.
    remote-connection-was-denied-regedit-3

Solution 6 – Recreate Domain Certificates

After a bit of research, few users found out that their logon server was giving them Event 29 warning, and that warning was the cause of this problem. To fix this problem you need to recreate Domain Certificates by following these steps:

  1. On main domain controller press Windows Key + R. Enter mmc.exe and press Enter to run it.
    remote-connection-was-denied-delete-1
  2. Go to File > Add/Remove Snap-in.
    remote-connection-was-denied-delete-2
  3. Select Certificates and click the Add button.
    remote-connection-was-denied-delete-3
  4. Select Computer account and click Next.
    remote-connection-was-denied-delete-4
  5. Now click the Finish button.
    remote-connection-was-denied-delete-5
  6. Click the OK button.
    remote-connection-was-denied-delete-6
  7. Go to Certificates (Local computer) > Personal > Certificates.
    remote-connection-was-denied-delete-7
  8. Locate old domain controller certificate, right click it and choose Delete. Click Yes to confirm that you want to delete the certificate.

After deleting the certificate, you need to request the new one by following these steps:

  1. Expand Certificates (Local computer) and right click Personal. Select All Tasks > Request New Certificate.
    remote-connection-was-denied-request-1
  2. Follow the instructions in the wizard to request a new certificate.
    remote-connection-was-denied-request-2

Lastly, you just need to verify the certificate. To perform this step you need to be a member of the Domain Admins group or have the appropriate privileges assigned to your account by your administrator. To verify Kerberos Key Distribution Center (KDC), follow these steps:

  1. Open Command Prompt as administrator. To do that, press Windows Key + X and select Command Prompt (Admin) from the menu.
    remote-connection-was-denied-verify-1
  2. When Command Prompt opens, enter certutil -dcinfo verify and press Enter to run it.
    remote-connection-was-denied-verify-2

If the procedure is successful, reboot the domain controller and the server that you’re trying to connect to and the issue should be resolved.

Solution 7 – Create a new DWORD

According to users, you can fix this problem by creating a new DWORD in registry. To do that, follow these steps:

  1. Start Registry Editor.
  2. In the left pane navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server key.
  3. In the right pane, right click the empty space and choose New >DWORD (32-bit) Value.
    remote-connection-was-denied-dword-1
  4. Enter IgnoreRegUserConfigErrors as the name of the new DWORD and double click it to open its properties.
  5. Once the properties window opens, set the Value data to 1. Click OK to save changes.
    remote-connection-was-denied-dword-2

Solution 8 – Align the MaxTokenSize for the server

According to users, you should be able to connect to the server by using the mstsc.exe /admin command. After that, you need to align MaxTokenSize for this server and that should solve the issue.

Solution 9 – Add domain users instead of Remote Desktop users

Users reported The remote connection was denied error on their PC while trying to use Remote Desktop feature, and according to them, they were unable to add Remote Desktop users for some strange reason. To circumvent this issue, it’s suggested that you add domain users instead of Remote Desktop users. After doing that, this error should be fixed.

Fix – “The remote connection was denied because the username and password combination” Windows 10

Solution 1 – Turn on CHAP and CHAPv2

Users reported this issue while trying to use VPN, and in order to fix it you’ll need to turn on CHAP and CHAPv2. By default Windows 10 disables these features, so you’ll need to enable them. To do that, simply locate your VPN network, right click it and choose Properties from the menu. Go to Security tab and make sure that you check Microsoft Chap Version 2 (MS-CHAP v2). After doing that, click Apply and OK to save changes.

Solution 2 – Use rasphone command

You can quickly connect to your VPN by using the rasdial command, but sometimes you can get The remote connection was denied error while using this command. To circumvent this issue, users are suggesting to use rasphone command instead. To use it, simply start the command line tool, enter rasphone -d “Your VPN connection name” and press Enter.

Solution 3 – Create NTLMv2 Compatibility DWORD

You should be able to fix this problem by adding a certain DWORD to the registry. To do that, follow these steps:

  1. Start Registry Editor and go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess\Policy key in the left pane.
  2. In the right pane, right click the empty space and choose New > DWORD (32-bit) Value. Enter NTLMv2 Compatibility as the name of the new DWORD.
    remote-connection-was-denied-reg-1
  3. Double click NTLMv2 Compatibility DWORD to open its properties.
  4. When Properties window opens, enter 1 in the Value data field and click OK to save changes.
    remote-connection-was-denied-reg-2
  5. Close Registry Editor.

If you’re still having issues on your PC or you simply want to avoid them for the future, we recommend you to download this tool (100% safe and tested by us) to fix  various PC problems, such as file loss, malware and hardware failure.

The remote connection was denied error can prevent you from using Remote Desktop or VPN, but we hope that you managed to fix this issue by using one of our solutions.

READ ALSO:

Discussions

Next up

What to do if you are unable to restart DNS client

Sovan Mandal avatar. By: Sovan Mandal
3 minute read

The DNS server, short for Domain Name Server is where the management, maintenance and processing of Internet domain names take place. Or in simple terms, […]

Continue Reading

4 Christmas gifts for FIFA fans they’ll really appreciate

Madeleine Dean By: Madeleine Dean
Less than a 1 minute read

Getting the perfect gift for FIFA fans is actually an easy job. Basically, you get them anything related to their favorite game and you’ll make […]

Continue Reading

New Windows 10 Tablet mode concept shows what could have been

Matthew Adams By: Matthew Adams
2 minute read

Microsoft added Tablet mode to Windows 10 primarily for 2-in-1 laptops and tablets, such as the Surface Pro. Tablet mode displays a start screen from […]

Continue Reading