Changing password options for an entire OU
Date: Wed, 30 Jul 2003 06:13:31 -0700
I currently have an OU where all the users are accounts
are set to "User cannot change password" and "Password
never expires." Does anyone know of a way that I can
change the each user's option in the OU to "User must
change password at next logon"? I know I can go in
individually to each user. I am looking for some kind of
shortcut like a batch file or a command that I can run
that will reset everyone.
Thanks,
Tim
Relevant Pages
- Re: AD password policy in Forms auth against AD
... > failed (due to lockout, disabled, expired, user must change password, etc. ... >> password expires ... >> possible with AD, I could set the expiration time to a year, and force ... >> hundred customers, where all customers will be stored in a AD (in their ... (microsoft.public.dotnet.framework.aspnet.security) - Re: removing the "password never expires" setting from LOCAL user (not Active Directory) a
... The code shouldn't set "User must change password at next logon". ... Note that with the LDAP provider, you assign the value 0 to the pwdLastSet ... > This does indeed remove the "Password never expires" option but it ... (microsoft.public.scripting.vbscript) - Re: password never expires
... Set objCommand = CreateObject ... Set objConnection = CreateObject ... > In my requirement i need to uncheck both the> 1) "user cannot change password"> 2) "Password never expires" checkboxes. ... (microsoft.public.win2000.active_directory) - Re: AD password policy in Forms auth against AD
... need a service account that can access the user account to read all of their ... (due to lockout, disabled, expired, user must change password, etc. vs. ... > password expires ... > hundred customers, where all customers will be stored in a AD (in their ... (microsoft.public.dotnet.framework.aspnet.security) - Local user properties set using scripts
... *user cannot change password. ... It set only password expires. ... objPasswordExpirationFlag = objUserFlags OR ADS_UF_DONT_EXPIRE_PASSWD ... (microsoft.public.windows.server.scripting) |
|