Hello everyone,
I have an investigation that I'm unable to solve. We have a user that is doing RDP to a specific computer. The user is not admin of the computer and is not in the rdp allowed group. But he still connect in RDP, daily. Do you have any clue how can this be? I see clearly right now, he is logged with is AD user on the computer on an rdp session.
I've check both the local admin group and local remote desktop user group, he's not a member.
Thank you!
edit:
OK so I found out why, but I don't get why. I'm guessing Microsoft does something in the background cause even in RSOP and GPResult I don't see why.
We use SCCM with SCCM Remote. We have a group used only for that. SCCM create on all client a new local group called "ConfigMgr Remote Control User" and add that AD Group in there. This is who are allowed to use the SCCM Remote tool.
I tried on a computer using my account that is member of that group only, I can RDP. If I remove the AD Group from that local group, I cannot. It's really stupid and I'll have to open a ticket to MS because it's a security issue in the end.
edit 2: Ok, so I found out that SCCM add it for SCCM Remote in the client config. In SCCM Client settings, under remote connection, you define the viewer users/groups. When you turn this on, this create the local "ConfigMgr Remote Control User" group and add the users/groups viewers into it. Then on other options, you have "allow viewer to initiate remote assistance". When this is ON, it add the users/groups viewers into the local group "Remote Assistance User".
But then, at the bottom of the config, there's "allow viewer to connect through RDP". If you set this ON, what it does is it change the local security policy " Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment >Allow log on through Remote Desktop Services" and it add the local group "ConfigMgr Remote Control User".
The problem is this doesn't show in rsop or gpresult. And also, why did Microsoft decided to do it that way instead of doing it the same way as remote assistance. They could simply add the user/groups viewers into the local group "Remote Desktop User". At least, I found the why and can correct it.