Brian Madden Logo
Your independent source for application and desktop virtualization.
advertisement

add domain users to remote desktop users?, in the Scripting / Automation forum on BrianMadden.com

rated by 0 users
This post has 4 Replies | 1 Follower

Top 150 Contributor
Points 1,325
Simon Hide Posted: Fri, Sep 22 2006 9:16 AM
Anyone got a quick VB script to add the "domain users" group to the local "Remote desktop Users" group?

cheers

Simon
  • | Post Points: 35
Guest replied on Mon, Sep 25 2006 3:12 AM
execute the following DOS command from your BLOCKED SCRIPT

NET LocalGroup "Remote Desktop Users" /ADD "domain\domain users"

  • | Post Points: 20
Not Ranked
Points 315
You can also use GPO to do this. Under "restricted groups" in Computer Policy?Windows Settings/Security. Add "Remote Desktop Users" here manually, and add the particular Domain Group(s)/user(s)
  • | Post Points: 5
Not Ranked
Points 10

PATH WIN32_TSPermissionsSetting.TerminalName="RDP-TCP" call AddAccount "DOMAIN\USER",2

  • | Post Points: 5
Not Ranked
Points 10

My bad,

That's WMIC then:

PATH WIN32_TSPermissionsSetting.TerminalName="RDP-TCP" call AddAccount "DOMAIN\USER",2

See: http://support.microsoft.com/kb/290720

  • | Post Points: 5
Page 1 of 1 (5 items) | RSS