Hi I found this answer for registry change to deny RPD access to VM. How about denying RPD access only for one user?
Let's say I have Administrator and NewUser (in Administrators group), how do I deny RDP to NewUser but keep RDP access for Administrator ( using cmd or powershell ) ?
Normally I would have to:
Invoke Local Users and Groups console by running lusrmgr.msc from command window
Click on Administrators group and ensure NewUser exist there
- Click on Remote Desktop Users group and ensure only Administrator user exist there
- Invoke Local Security Policy console by running secpol.msc
- Expand Local Policies and choose User Rights Assignment
- Open Allow log on through Remote Desktop Services policy and ensure only Remote Desktop Users are included in it