?
Solved

password policy on local server 2003 with multi users

Posted on 2008-10-06
7
Medium Priority
?
747 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 56

Expert Comment

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

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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

Author Comment

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

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 375 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

762 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