Solved

password policy on local server 2003 with multi users

Posted on 2008-10-06
7
740 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Looking for easy way to upgrade Windows 2003 Server to 2012 2 96
how to check the account lockout counter? 6 75
SolarWind and DNS Server 12 90
Can’t delete a file 14 196
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Learn about cloud computing and its benefits for small business owners.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 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