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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DSMOD Group adds 11
DSMOD 5
Change Pswrd at Next Log on 3
DSMOD 4
DSMOD User 2
Remove user from all groups from command line 1
dsmod returns 0x80005000 7
addusers utility 2

Back
Top