Frank Schiller asked:
>
> ... anyone know how to get/set the "Terminal Services Profile"
> User-Property with ADSI?

ADSI can't modify a lot of WTS attributes, because they're stored
in the NT SAM "User Parameters" field -- which ADSI can't access without
an add-on.  So if you want to muck around with profile paths and
permissions, for example, you're stuck using the WTSAPI32 functions.
I've heard that someone has wrapped these in a COM object, so they can
be used from scripting environments, but I haven't seen it.

Oh, and like Jenda said, WTS API functions are available as part of the
Win32::Lanman module.

--Bill

winmail.dat

Reply via email to