Net services switches

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have a script to add ~200 users to various workstations along with their
passwords and add them to a group. Recently the script has been misbehaving
in that it sets the 'user cannot change password' flag to 'on,' yet the 'user
must change password at next logon' box remains checked on the properties
page. This makes for, obviously, a very sticky situation. Is there a
command line switch to turn the 'user must' flag to off? We already use the
'expires:never' switch, but it makes no difference as the first flag takes
precedence.

Thanks,
wheels.

P.S. - I know about the obvious security implications of this routine, this
is a closed network in an otherwise nailed down environment.
 
wheels said:
We have a script to add ~200 users to various
workstations along with their passwords and
add them to a group.

Holy batman! Two words: Active Directory.
 
Fine. Failing that, what are the magic words to pass to the script to
uncheck the offending box?

Thanks,
Geoff.
 
Back
Top