Solved

password policy on local server 2003 with multi users

Posted on 2008-10-06
7
736 Views
Last Modified: 2012-05-05
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
0
Comment
Question by:xnir
  • 3
  • 3
7 Comments
 
LVL 53

Expert Comment

by:McKnife
ID: 22654483
There is a switch for that:
net user user1 /EXPIRES:NEVER
0
 
LVL 53

Expert Comment

by:McKnife
ID: 22654497
Or could it be you will have to add /LOGONPASSWORDCHG:NO ?
0
 

Author Comment

by:xnir
ID: 22654505
i will try
thanks
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:xnir
ID: 22654819
doesn't work
0
 
LVL 53

Expert Comment

by:McKnife
ID: 22655005
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
0
 
LVL 4

Accepted Solution

by:
placebo69a earned 125 total points
ID: 22655381
net user /ADD "newuser" "Pass phrase" /passwordchg:no
netuser "user" /pwnexp:y
aaaand you're on your merry way.
Let me know if this helps. :)
0
 

Author Comment

by:xnir
ID: 22663359
eventually i removed all the users (test Environment) and recreated them with
net user /ADD "newuser" "Pass phrase" /passwordchg:no

thanks :)
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now