Re: User search in ADS Snap-in

From: Joe Richards [MVP] (humorexpress_at_hotmail.com)
Date: 10/04/04


Date: Mon, 04 Oct 2004 09:07:51 -0400

I would recommend picking up the Active Directory Cookbook and look at script
examples. I am guessing you could easily shave several minutes off whatever
process you have for resetting passwords by using a script.

   joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net
Srinivas wrote:
> Hi Everyone,
> I have a Windows 2003 ADS with a lot of OUs and sub OUs in which all the 
> users are listed.
> Now everytime a user calls me to reset his password, I would do the 
> following.
> Search for the user ID in the ADS snap in and then reset his password.
> Now I would also want to know under which OU does this user exist without me 
> asking the end user about all his department details. I do not document the 
> details of the users department in the user attributes.
> So my question is just by taking a user ID I want to search where in the 
> Active directory hierarchy is he existing.
> 
> Thanks & Regards,
> admin 
> 
> 


Relevant Pages

  • Reset Expired Password -Solution
    ... >I'd like to have a script (which will eventually run via ... >CGI/WWW) were a user can reset his or her own password ... the script won't bind to ... change the password of their Active Directory account ...
    (microsoft.public.windows.server.scripting)
  • Reset Expired Password
    ... I'd like to have a script (which will eventually run via ... Active Directory. ... reset password at next login, the script won't bind to ...
    (microsoft.public.windows.server.scripting)
  • Re: Need assistance badly!
    ... I have tried cobbling together a script that does this, ... I would use ADO in a VBScript program to retrieve all users with the ... Dim objRootDSE, strDNSDomain, strQuery, adoRecordset, strName, strCN ... adoConnection.Open "Active Directory Provider" ...
    (microsoft.public.scripting.vbscript)
  • Re: Another Newbie
    ... I need a script that will give me a list of all users who's ... ' Use ADO to search Active Directory. ... Set adoConnection = CreateObject ... ' Filter on user objects that have password never expires flag set. ...
    (microsoft.public.windows.server.scripting)
  • Re: Operations Masters
    ... Run diagnostics against your Active Directory domain. ... Run dcdiag, netdiag and repadmin in verbose mode. ... If you download a gui script I wrote it should be simple to set and run ...
    (microsoft.public.windows.server.active_directory)