Re: Uncheck Password Never Expires for All Users

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



All one line

adfind -b dc=domain,dc=com -bit -t 0 -f "&(objectcategory=person)(useraccountcontrol:AND:=65536)" useraccountcontrol -adcsv | admod -sc uacclear:65536 -unsafe





--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm


Ari wrote:
Hi,

All accounts in AD when created Password Never Expiers was selected and now i wana implement a password polciy, how can i remove the check from password never expiers on all user in AD at once?

Thanks for any help
.



Relevant Pages

  • Re: Account Operators accessing other account operators
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... They cannot access builtin accounts such as domain administrators. ... If a helpdesk staff locks their account the other helpdesk staff cannot unlock it; and they have to wait for me to do it (I'm a domain admin). ...
    (microsoft.public.windows.server.active_directory)
  • Re: Active Directory Users and Computers find does not show disabled accounts
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... David Pentland wrote:> I have discovered that, unlike the main Active Directory> Users and Computers OU views which show all disabled> accounts with a 'red crossed' user icon, the ADUC "find"> results pane does not identify any user accounts which> have been disabled - they icons all display as enabled> users. ... This behaviour appears on both> Windows 2000 Server and Widndows 2003 Server. ...
    (microsoft.public.win2000.active_directory)
  • Re: Account Operators accessing other account operators
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... Create en new security group and use the delegation wizzard to delegate necesary rights to this group. ... But all members that needs to reset these accounts in this group. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADMT v3 Password Migration
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... Author of O'Reilly Active Directory Third Edition ... cswarr wrote: ... I guess I'll have to pick out the accounts and make the change myself, ...
    (microsoft.public.windows.server.active_directory)
  • Re: This email address already exists in the organization
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... I did a search and I cannot find the email address anywhere and i have no deleted accounts with that email address. ...
    (microsoft.public.exchange2000.active.directory.integration)