Stop Password Expiration vía command-line

  • Thread starter Thread starter Aleco
  • Start date Start date
A

Aleco

What's the command / option / flag to stop password expiration when we
create a new user account via command-line. Or how to do this with
scripts (vbs).

Thanks in advance.
 
Hi Aleco,

Looks like NET.EXE doesn't support this option. If you're a domain admin,
check the following links:

JSI Tip 9625. How can a batch set a user's UserAccountControl attribute for
'Password never expires' on or off?:
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=9625
http://www.google.com/search?q=ADS_UF_DONT_EXPIRE_PASSWD

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com



What's the command / option / flag to stop password expiration when we
create a new user account via command-line. Or how to do this with
scripts (vbs).

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top