Re: password never expires script



You are welcome! --- Steve

"Jerome" <Jerome@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2D0E81DD-B8D6-4229-8691-F23456647E97@xxxxxxxxxxxxxxxx
> THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK
> YOU,
> THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK
> YOU,
> THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK
> YOU.
>
> "Steven L Umbach" wrote:
>
>> You can not use block inheritance to keep password/account policy from
>> being
>> applied to domain users. You can however configure the accounts with
>> password never expires if that works for you. If you have a Windows 2003
>> domain controller you can do all the user accounts at one time by
>> highlighting them all, selecting properties - account. If you do not have
>> a
>> Windows 2003 domain controller you can install adminpak for Windows 2003
>> [free download from MS] on an XP Pro domain computer, logon as a domain
>> administrator and use the Active Directory command line tools [VERY
>> handy]
>> to do what you want using dsquery and piping the results to dsmod. Below
>> is
>> an example of what command to use and what it shows. Of course you need
>> to
>> substitute your domain name and OU name. You may have a problem if any
>> account is configured with must change password at next logon. But you
>> could use the same command below except substitute -mustchpwd no
>> or -pwdneverexpires yes and run that command first. --- Steve
>>
>> F:\Documents and Settings\administrator.UMBACH1.>dsquery user
>> OU=west,dc=umba
>> h1,dc=com | dsmod user -pwdneverexpires yes
>> dsmod succeeded:CN=john,OU=west,DC=umbach1,DC=com
>> dsmod succeeded:CN=joe,OU=west,DC=umbach1,DC=com
>> dsmod succeeded:CN=roger,OU=west,DC=umbach1,DC=com
>> dsmod succeeded:CN=fox,OU=west,DC=umbach1,DC=com
>> dsmod succeeded:CN=fred,OU=west,DC=umbach1,DC=com
>>
>>
>> "Jerome" <Jerome@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:A605825A-39B7-42C9-8B14-DF3295C277C1@xxxxxxxxxxxxxxxx
>> > Hello,
>> >
>> > Due to a new merger in my org, some new users are not yet joined to the
>> > domain so they get no notification prior to when Group Policy applies
>> > password age policy on all users. This throws them out of exchange and
>> > I
>> > have
>> > to reset passwords for about 3000 users every 31 days (i have a vbs
>> > script
>> > for this).
>> >
>> > Due to company policy and security reasons, I don't want to disable the
>> > password age policy in GP. I moved all the new users to an OU and
>> > created
>> > a
>> > new GP for them then enabled "block inheritance" but I also want a
>> > script
>> > that will enable password never expires for these users.
>> >
>> > I checked the scripter page in technet but could not get the applicable
>> > LDAP
>> > script or ldifde, pls assist. <Exchange 2003 in Active Directory
>> > Environment>.
>> >
>>
>>
>>


.



Relevant Pages

  • Re: password never expires script
    ... If you have a Windows 2003 ... > domain controller you can do all the user accounts at one time by ... > an example of what command to use and what it shows. ... >> password age policy on all users. ...
    (microsoft.public.windows.group_policy)
  • Re: Rails on a Mac, so strange (to me) behavior
    ... Grant Hollingworth wrote: ... ('script' in this case) ... You only need ./ if you are already in the same directory as a command. ... normally no for user accounts, but for dev accounts (where I'll be ...
    (comp.lang.ruby)
  • Task scheduler not sending command line arguments
    ... scheduled as an automated task. ... The command line for the task is ... When the script runs, it is logging to the event log telling me that it ... have tried multiple accounts, with no luck on any (admin accounts, my ...
    (microsoft.public.scripting.vbscript)
  • Re: Task scheduler not sending command line arguments
    ... scheduled as an automated task. ... The command line for the task is ... When the script runs, it is logging to the event log telling me that it ... have tried multiple accounts, with no luck on any (admin accounts, my ...
    (microsoft.public.scripting.vbscript)
  • Re: passwords Service accounts and services
    ... command from command line... ... Microsoft MVP - Windows Security ... I need to change a bunch 'o service accounts' passwords, ... I need to change I can tell the script to change that service's password, ...
    (microsoft.public.windows.server.security)