xnir
asked on
password policy on local server 2003 with multi users
I have a test server, windows 2003 standard R2 SP2, machine is in standalone and workgroup
I created hundreds of users as part of the test environment using:
net user user1 Pass1 /ADD
Now I have those users locally on the machine but as part of the test i need to login with them, but get on each user that password is expired and needs to be changed.
What will be the best way to disable this local policy? Can I use net use for all of them?
Thanks
I created hundreds of users as part of the test environment using:
net user user1 Pass1 /ADD
Now I have those users locally on the machine but as part of the test i need to login with them, but get on each user that password is expired and needs to be changed.
What will be the best way to disable this local policy? Can I use net use for all of them?
Thanks
Or could it be you will have to add /LOGONPASSWORDCHG:NO ?
ASKER
i will try
thanks
thanks
ASKER
doesn't work
Doesn't? For me it does remove the checkbox "user must change password at next logon" and that seems to be what you want.
net user user1 /LOGONPASSWORDCHG:NO
net user user1 /LOGONPASSWORDCHG:NO
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
eventually i removed all the users (test Environment) and recreated them with
net user /ADD "newuser" "Pass phrase" /passwordchg:no
thanks :)
net user /ADD "newuser" "Pass phrase" /passwordchg:no
thanks :)
net user user1 /EXPIRES:NEVER