Hello everyone,
Connecting to a Windows Server over Remote Desktop is something system administrators do many times a day. Every now and then, though, an unexpected error message turns this routine task into a troubleshooting session. Today I want to walk you through one error I run into fairly often: what causes it and how to fix it.
What the Error Says
You enter the correct username and password, the connection seems to go through, and then this message appears:
To sign in remotely, you need the right to sign in through Remote Desktop Services. By default, members of the Remote Desktop Users group have this right. If the group you’re in doesn’t have this right, or if the right has been removed from the Remote Desktop Users group, you need to be granted this right manually.

It may look complicated, but the message is quite clear: your credentials are correct, but your account doesn’t have permission to sign in through Remote Desktop. The problem isn’t your password. It’s your permissions.
First Stop: Group Membership
When I see this error, the first thing I check is whether the user is a member of the Remote Desktop Users group. You can check this in Local Users and Groups by running lusrmgr.msc. If the user isn’t in the group, add them. If you prefer the command line, PowerShell does it in a single line:
Add-LocalGroupMember -Group "Remote Desktop Users" -Member "DOMAIN\username"
Keep in mind that on localized versions of Windows, this group may have a different name.
What if the user is already in the group and the error still appears? Then you need to dig a little deeper and look at user rights assignments.
The Real Fix: User Rights Assignment
Being in the right group isn’t enough for a user to sign in over RDP. The group itself must also hold that right, and this right is set in the Local Security Policy.
Press Win + R to open the Run dialog, type secpol.msc, and press Enter to open the Local Security Policy console. Then go to Local Policies > User Rights Assignment.
In the list on the right, find the Allow log on through Remote Desktop Services policy and double-click it. If the Remote Desktop Users group isn’t listed there, you’ve most likely found the cause. Click Add User or Group…, add the group, and close the window. Members of the group will now be able to sign in over RDP.
There’s one more detail that is easy to miss. The same list has a policy called Deny log on through Remote Desktop Services, and it takes precedence over the Allow policy. If the user, or any group they belong to, is listed there, they won’t be able to sign in no matter what you add to the Allow list. Make sure you check this policy too.
If You’re in a Domain Environment
If your server is joined to a domain, Group Policy also comes into play. A GPO can override the changes you make in the local policy. If the problem continues after you save the setting, or the fields are greyed out and can’t be edited, these rights are most likely being managed centrally.
To see which policies apply to the server, generate a report with gpresult /h C:\gpresult.html. Make the change in the relevant GPO under the same path, then run gpupdate /force to apply the policies right away.
Going a Step Further: Hardening Security
This policy helps you protect your server as well as fix problems. For example, you can remove the Administrators group from the list and grant RDP access only to a specific management group. This greatly reduces the risk of administrator accounts being targeted remotely. If you leave the list completely empty, RDP sign-in is disabled for all users.
One warning, though. Before you make changes like these, make sure you can reach the server another way, such as the console, iLO/iDRAC, or your hypervisor. Otherwise you could lock yourself out. Review the change against your existing security policies, and test it in a lab environment first if you can.
Wrapping Up
This error can be frustrating at first, but the fix usually takes only a few minutes. Make sure the user is in the right group, that the group has the right to sign in over RDP, and that no Deny policy is blocking them. That will most likely solve the problem. Used deliberately, the same settings also let you control exactly who can connect to your servers remotely.
See you in the next post.

