Prev: Upgrading to XP w/SP2 from 98SE, via boot of CD
Next: Re-installing XP Home OEM - product key problem
From: wheels on 19 Mar 2008 17:00 "Dave R." wrote: > > "Jim" <j.n(a)nospam.com> wrote in message > news:7v7oj.5269$so6.4243(a)newssvr19.news.prodigy.net... > > > > "wheels" <wheels(a)discussions.microsoft.com> wrote in message > > news:86659934-B56E-4D31-8CF1-4321E371156F(a)microsoft.com... > >>I have a script that uses 'NET USER' to alter user parameters on a > >> workstation. I'm wondering what the parameter is to set the 'Password > >> never > >> expires' flag to 'YES.' > >> > > I don't know the answer, but if it is all possible to do this, you can > > find out by entering: > > Net User ? > > > > 'NET HELP USER' (and more generally, 'NET HELP <command>'), reveals much > more information about the parameters and options than 'NET USER ?' (or > 'NET <command> ?'). > > FYI > > Dave > > Unfortunately, 'User must change password at next logon' was added after the 'Net help user' was created, so it doesn't show up in that help reply. Our problem is that we use the script to change 'User can change password' to 'No.' This, combined with the default check of the change at logon box made for a circular logon experience. By the time I get to the bottom of it, we _may_ have ADS installed, but I'd still like to know what the flag is... Thanks for all the replies, Geoff.
From: wheels on 24 Mar 2008 17:36 What I _really_ mean is what is the flag for 'User must change password at next logon,' since this is the checkbox that gets our users hung in an endless loop (when combined with 'User cannot change password'). TIA, Geoff. "wheels" wrote: > I have a script that uses 'NET USER' to alter user parameters on a > workstation. I'm wondering what the parameter is to set the 'Password never > expires' flag to 'YES.' > > Any ideas? Please, no 'Active Directory' suggestions, it's not an option. > > Thanks, > Geoff.
From: "Dave R." dwragle drbsystems on 25 Mar 2008 08:34
"wheels" <wheels(a)discussions.microsoft.com> wrote in message news:12CE71BA-43FC-4EF9-91FA-9D1A4CADD378(a)microsoft.com... > What I _really_ mean is what is the flag for 'User must change > password at > next logon,' since this is the checkbox that gets our users hung in an > endless loop (when combined with 'User cannot change password'). > Near as I can tell there isn't any way to do this with NET USER. You might check in microsoft.public.win2000.cmdprompt.admin to see if they have a way to do what you want with another utility/tool. Regards, Dave |