Announcement

Collapse
No announcement yet.

Change Password for User in Active Directory using Web Browser

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

  • Change Password for User in Active Directory using Web Browser

    Hi All,

    I want to change the password for a user in Active Directory using a web browser , is there any way that I can do it?

    It is a bit urgent, please let me know ASAP...

    Regards,
    Mitul

  • #2
    Re: Change Password for User in Active Directory using Web Browser

    Not that I am aware of.

    There is 3rd party software out there that will allow you to do this but I bet is costs serious $$$$$

    Just out of curiosity, why cant you use Active Directory Users and Computers?

    Michael
    Michael Armstrong
    www.m80arm.co.uk
    MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment


    • #3
      Re: Change Password for User in Active Directory using Web Browser

      Do you have Exchange 2000/2003?
      Cheers,

      Daniel Petri
      Microsoft Senior Premier Field Engineer
      MCSA/E, MCTS, MCITP, MCT

      Comment


      • #4
        Re: Change Password for User in Active Directory using Web Browser

        i'm not sure why you would want to do this but you could write an asp page to do this for you and host it on a server on your network. i dont have a page written off hand but it would be pretty easy to do.
        MCSE 2000\2003, A+
        00000001-00000011-00000011-00000111

        Comment


        • #5
          Re: Change Password for User in Active Directory using Web Browser

          hello this task impossible


          Özgür ŞENERDOĞAN

          Comment


          • #6
            Re: Change Password for User in Active Directory using Web Browser

            And you say that it's impossible based on what knowledge? Why impossible, when I have one that does exactly that, right in front of my eyes?



            Also a simple Google search will yield this, along with others:

            http://www.codeproject.com/aspnet/ac...rectoryuse.asp
            Last edited by danielp; 31st August 2006, 23:01.
            Cheers,

            Daniel Petri
            Microsoft Senior Premier Field Engineer
            MCSA/E, MCTS, MCITP, MCT

            Comment


            • #7
              Re: Change Password for User in Active Directory using Web Browser

              I dont understand why you would want to do this through the web though, you could remote or vpn in...instead of opening up your whole active directory through the web.

              Comment


              • #8
                Re: Change Password for User in Active Directory using Web Browser

                It IS possible. with plain HTML and some vbscripting.

                Add a form in a web page, with a textbox type'ed as password (to show only asterixes) and add a function to change the password.
                It should look something like this:
                Code:
                Sub ChangePassword(sNewPassword)
                   Set objSysInfo = CreateObject("ADSystemInfo")
                   Set objUser = GetObject("LDAP://" & objSysInfo.UserName)
                   objUser.Password = sNewPassword
                   objUser.SetInfo
                   Set objUser = Nothing
                   Set objSysInfo = Nothing
                End Sub
                Notes:
                1. The IIS server hosting the web page should be a memeber in the Domain (same Domain where the user who wants to change his password resides)
                2. The virtual directory should be set to Windows Authentication (this way the credentials running the script are the user's itself).
                3. You should validate the password (as in input the password twice) on the Client-side (maybe use javascript).
                4. Keep in mind that the user browsing the page will be able to change ONLY his own password.

                Post here if you need the whole enchilada (I'll create the whole HTML page for you).

                Comment


                • #9
                  Re: Change Password for User in Active Directory using Web Browser

                  The IISADMPWD virtual directory allows users to change their account passwords remotely through IIS by means of ASP scripts.
                  <"How to use the IISADMPWD password change pages">

                  \Rem

                  This posting is provided "AS IS" with no warranties, and confers no rights.

                  __________________

                  ** Remember to give credit where credit's due **
                  and leave Reputation Points for meaningful posts

                  Comment

                  Working...
                  X