ToolHack has asked for the wisdom of the Perl Monks concerning the following question:
I need help setting some Terminal Server user profile settings on a 2008 Server machine. In particular, I want to uncheck the "Connect client drives at logon" checkbox. If I were a Windows hacker (which I admit, I'm not), I would apparently have to use the IADsTSUserEx interface described here http://msdn.microsoft.com/en-us/library/aa380823(VS.85).aspx
I don't understand how to do that with Perl.
What I was trying and failing with was:
$user->SetProperty('msTSConnectClientDrives', 0); $user->SetInfo();
where $user is a Win32::OLE object I created in Active Directory through LDAP.
I get the error:
Win32::OLE(0.1709) error 0x8007200b: "The attribute syntax specified to the directory service is invalid"
Back to
Seekers of Perl Wisdom