Dsmod utility

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

I need to find a way to script the dsmon utility to
automatically remove users from certain groups on logon.
Everything works except that this utility requires the
full distinguished name of the user. How can I cature
this and pass it to the utility?
 
Jeff said:
I need to find a way to script the dsmon utility to
automatically remove users from certain groups on logon.
Everything works except that this utility requires the
full distinguished name of the user. How can I cature
this and pass it to the utility?

What are You trying to achive - maybe restricted groups settings in GPO
will do this work for You

Mayby instead of using dsmod try to use a script which will use ADSI to
get access to user account ad manage its group membership
 
Back
Top