|
Thanks Ken! Even if I can’t use this on the 2K machines, it’ll help a bunch in a couple of months. Many of our TS machines are about to be upgraded and/or installed. I appreciate it…
<mc> -----Original Message-----
Here's some Perl WMI code for adding a local group to the RDP security. However, if memory serves, W2K doesn't support WMI TS stuff - only 2k3
Anyway, maybe it will work...
sub TerminalServerSecurity {
my $host = shift; my $RemoteGroup = shift;
my $wmi =
Win32::OLE->GetObject("winmgmts:{impersonationLevel=impersonate}!\\\\$host\\root\\cimv2")
my $accounts =
$wmi->ExecQuery("Select * from Win32_TSPermissionsSetting" )
# Add local group giving full control
foreach my $a (in
$accounts ) {
|
Title: Message
- [ActiveDir] adding a group to the RDP permissions Creamer, Mark
- RE: [ActiveDir] adding a group to the RDP permissions Ken Cornetet
- RE: [ActiveDir] adding a group to the RDP permissions Creamer, Mark
- RE: [ActiveDir] adding a group to the RDP permissions Creamer, Mark
