Solved

password policy on local server 2003 with multi users

Posted on 2008-10-06
7
737 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 54

Expert Comment

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

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

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

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 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