Categories
Remote Access Technology

Add AD user to remote computer RDP Group

If you admin a Microsoft domain, and users use Remote Desktop to remote into their LAN PC, you have to at times add the users account to the computers local remote desktop group.

Powershell Script

$sb = {
$members = ‘NET\persons.account’
Add-LocalGroupMember -Group ‘Remote Desktop Users’ -Member $members
}
Invoke-Command -ScriptBlock $sb -Computername station60

Leave a Reply