[windows2000] Re: forcing password changes

  • From: "Sullivan, Glenn" <GSullivan@xxxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Sun, 29 Aug 2004 18:21:33 -0400

Here....

<----------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"...

HTH,

Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc. 
-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Errol & Estelle
Sapir
Posted At: Sunday, August 29, 2004 1:22 PM
Posted To: Windows 2000
Conversation: [windows2000] Re: forcing password changes
Subject: [windows2000] Re: forcing password changes


Charles
Thanks for the link but that is a general description of the security
issue. I am looking to solve a specific problem which I described in the
question below.

Errol

Charles R. Buchanan wrote:
> Didn't go through all the areas here, but maybe it will help.
> 
> http://www.microsoft.com/technet/security/guidance/secmod49.mspx
> 
> 
> On Sun, 29 Aug 2004 01:18:30 +0200, Errol & Estelle Sapir
<errol@xxxxxxxxxxx> had this to say:
> 
> E&ES> At the beginning of the school new term (September 1st) I want
all users 
> E&ES>   to be forced to change their passwords at the next login (and
then 
> E&ES> have permanent passwords of more than 4 letters). Is there any 
> way of E&ES> doing this globally on my domain which has AD? I hope I 
> don't have to do E&ES> this user by user as we have over 1000 pupils
and staff.
> E&ES>
> E&ES> TIA
> E&ES>
> E&ES> Errol
> 
> For what is a man, what has he got?
> If not himself, then he has naught
> To say the things he truly feels and not the words of one who kneels
> 
> ********************************************************
> 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
> 
> ######################################################################
> ############### This Mail Was Scanned by 012.net Anti Virus Service - 
> Powered by TrendMicro Interscan
> 
********************************************************
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
********************************************************
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: