[windows2000] Re: forcing password changes

  • From: "Sorin Srbu" <Sorin.Srbu@xxxxxxxxxxxxx>
  • To: "windows2000@xxxxxxxxxxxxx" <windows2000@xxxxxxxxxxxxx>
  • Date: Mon, 30 Aug 2004 09:12:55 +0200

On Sun, 29 Aug 2004 18:21:33 -0400, Sullivan, Glenn wrote:

On a related track, is there a way to see the history of changes,
like when a user changed the password the last time? In a nice GUI
maybe? 8-)



><----------Start Script---------->
>On Error Resume Next
>Set objOU = GetObject _
>    ("LDAP://cn=Users,dc=domain,dc=com";)
>  
>ObjOU.Filter= Array("user")
>
>For Each objUser in objOU
>       objUser.Put "PasswordExpired", CLng(1)
>       objUser.SetInfo
>Next 
><----------End Script------------>
>
>Assuming that your user accounts are in a singel OU in a domain called
>"domain.com"...


BW,

Sorin

> Sorin Srbu, Systems Engineer          Web: http://www.farmfak.uu.se/organisk/
> Dept of Medicinal Chemistry,          Phone: +46 (0)18-4714482 >> 3 signals 
> >> GSM
> Div of Org Pharm Chem,                Mobile Phone: +46 (0)701-718023
> Box 574, Uppsala University,          Fax: +46 (0)18-4714474
> SE-751 23 Uppsala, Sweden             Visit: BMC, Husargatan 3, D5:512b
>
> Public PGP key available on request.
>
> ()  ASCII ribbon campaign - Against html E-mail 
> /\
>
> Harmless tagline follows:
>
> BOFH excuse follows: Complete Transient Lockout


********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: