Share this article
Improve this guide
FIX: The remote connection was denied in Windows 10/11
8 min. read
Updated onOctober 4, 2023
updated onOctober 4, 2023
Share this article
Improve this guide
Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more
Key notes
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 reportedThe remote connection was deniederror on Windows 10.
The full error reads:
the connection was denied because the user account is not authorized for remote login windows 10
We’ve looked over several solutions for this issue, and have put them together in this detailed article, as you can see below.
How can I fixthe remote connection was deniederror?
1. Change Remote settings
According to users, they are unable to start the Remote Desktop 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:
If you have Remote Desktop Users group, be sure to add it by following the steps above.
2. Change Local Security Policy settings
Sometimes you can getThe remote connection was deniederror if your Local Security Policy settings are incorrect. To fix this problem you need to edit Local Security Policy by following these steps:
3. Delete local and roaming profile
Few users claim that you can fix this problem by deleting local and roaming profiles. We don’t know if this solution works, but you might want to try it.
4. Set theRemote Desktop Serviceslogon to Network Service
Users reported thatThe remote connection was deniederror appears if the Remote Desktop Services service logon is set to Local System. To change that, follow these steps:
After changing the Remote Desktop Services service logon to Network Service, the issue should be completely resolved.
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:
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:
After deleting the certificate, you need to request the new one by following these steps:
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 the Kerberos Key Distribution Center (KDC), follow these steps:
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.
7. Create a new DWORD
According to users, you can fix this problem by creating a new DWORD in the registry. To do that, follow these steps:
8. Align the MaxTokenSize for the server
According to users, you should be able to connect to the server by using themstsc.exe /admincommand. After that, you need to align MaxTokenSize for this server and that should solve the issue.
9. Add domain users instead ofRemote Desktopusers
Users reportedThe remote connection was deniederror 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: Remote connection denied because of username and password combination
Users reported this issue while trying to useVPN,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 choosePropertiesfrom the menu. Go to theSecuritytab and make sure that you checkMicrosoft Chap Version 2 (MS-CHAP v2). After doing that, clickApplyandOKto save changes.
You can quickly connect to your VPN by using therasdialcommand, but sometimes you can getThe remote connection was deniederror while using this command.
To circumvent this issue, users are suggesting to use rasphone command instead. To use it, simply start thecommand-linetool, enterrasphone -d “Your VPN connection name”and pressEnter.
You should be able to fix this problem by adding a certain DWORD to the registry. To do that, follow these steps:
In case the error keeps occurring, another viable option is trying a differentremote management software.Mikogois a popular alternative that works well across multiple platforms. It comes with a free version which is enough for controlling one device at a time.
The remote connection was deniederror 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.
Make sure your connection speed is good enough, otherwise see ourlist of the fastest VPNs.
More about the topics:Remote Desktop Connection
Milan Stanojevic
Windows Toubleshooting Expert
Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He’s a PC enthusiast and he spends most of his time learning about computers and technology.
Before joining WindowsReport, he worked as a front-end web developer. Now, he’s one of the Troubleshooting experts in our worldwide team, specializing in Windows errors & software issues.
User forum
2 messages
Sort by:LatestOldestMost Votes
Comment*
Name*
Email*
Commenting as.Not you?
Save information for future comments
Comment
Δ
Milan Stanojevic
Windows Toubleshooting Expert
Before joining WindowsReport, he worked as a front-end web developer. Now, he’s specialized in Windows errors & software issues.