Announcement

Collapse
No announcement yet.

OU Password Change

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • OU Password Change

    I need to change the passwords for all users in a OU and force them to change at the next login.

    I have looked at DSSMOD but can only find a way to do for a certain user. Can anyone tell me how to do it for all users of a OU.

    Thanks In Advance.

  • #2
    Re: OU Password Change

    You can do it with Dsmod by creating multiple entries one after the other in a notepad like you did for one account and then save the file as a batch file and run it as a batch job.
    Caesar's cipher - 3

    ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

    SFX JNRS FC U6 MNGR

    Comment


    • #3
      Re: OU Password Change

      You can use ADModify as well.

      Comment


      • #4
        Re: OU Password Change

        I cant seem to get the syntax right. Can anyone give a example.

        Thanks Again

        Comment


        • #5
          Re: OU Password Change

          Code:
          dsmod user "CN=Don Funk,CN=Users,DC=Contoso,DC=Com" -pwd A1b2C3d4 -mustchpwd yes
          dsmod user "CN=Don Punk,CN=Users,DC=Contoso,DC=Com" -pwd A1b2C3d4 -mustchpwd yes 
          dsmod user "CN=Don Splunk,CN=Users,DC=Contoso,DC=Com" -pwd A1b2C3d4 -mustchpwd yes
          Ref: http://technet.microsoft.com/en-us/l.../cc732954.aspx
          Caesar's cipher - 3

          ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

          SFX JNRS FC U6 MNGR

          Comment


          • #6
            Re: OU Password Change

            Originally posted by tssizemore82 View Post
            I cant seem to get the syntax right. Can anyone give a example.

            Thanks Again
            Here is a link to Joe's suggestion. Looks as if it writes the code for you and would make life easier.

            http://www.computerperformance.co.uk...s/admodify.htm

            Comment


            • #7
              Re: OU Password Change

              If you are a GUI fan then there is this freeware from Wisesoft as well: http://www.activedir.org/Articles/ta...6/Default.aspx
              Caesar's cipher - 3

              ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

              SFX JNRS FC U6 MNGR

              Comment

              Working...
              X