Marwan
Fri Apr 04 00:43:00 PDT 2008
Thanks Richard for your help.
Your script help me out
"Richard Mueller [MVP]" wrote:
> For scripting solutions, I have two sample VBScript programs that can help.
> First a program that documents the last logon times for all users in the
> domain:
>
>
http://www.rlmueller.net/Last%20Logon.htm
>
> You would use the first program in the link if your domain is not at Windows
> 2003 functional level. You would run the program at a command prompt using
> the cscript host and redirect the output to a text file. For example, you
> could use the command:
>
> cscript //nologo LastLogon.vbs > report.txt
>
> The "//nologo" parameter suppresses logo information from the output. This
> assumes the file LastLogon.vbs is in the current folder. Otherwise you must
> specify the path as well as file name. The command redirects the output to
> the text file report.txt in the same folder. This file can be imported into
> a spreadsheet for analysis. The fields in the output are delimited by
> semicolons. Next, a program that documents the last time each user changed
> their password:
>
>
http://www.rlmueller.net/PwdLastChanged.htm
>
> This program accepts the name of a file as a parameter and outputs to that
> file.
>
> --
> Richard Mueller
> Microsoft MVP Scripting and ADSI
> Hilltop Lab -
http://www.rlmueller.net
> --
>
> "Richard Mueller [MVP]" <rlmueller-nospam@ameritech.nospam.net> wrote in
> message news:%23aNumoNkIHA.4076@TK2MSFTNGP05.phx.gbl...
> > oldcmp should do what you want. Or, your can try Joe Richards' adfind.
> >
> > --
> > Richard Mueller
> > Microsoft MVP Scripting and ADSI
> > Hilltop Lab -
http://www.rlmueller.net
> > --
> >
> > "Marwan" <Marwan@discussions.microsoft.com> wrote in message
> > news:AED19E99-C764-42BF-82C6-49771B3E7ED7@microsoft.com...
> >> Hello,
> >>
> >> Thanks for your fast reply. However, they require Windows Server 2003
> >> domain
> >> functional level, we are running Windows 2000 mixed mode domain level.
> >> I can not use the graphucal user interface neither the dsquery.
> >> olcmp - report -users... will give me when the last time users change
> >> their
> >> password.
> >> I am looking for users that have not logged in over a period of time.
> >>
> >> Thanks
> >>
> >> "Meinolf Weber" wrote:
> >>
> >>> Hello Marwan,
> >>>
> >>> Check out this one:
> >>>
http://codeidol.com/active-directory/active-directory/Users/Finding-Users-Who-Have-Not-Logged-On-Recently/
> >>>
> >>>
http://www.joeware.net/freetools/tools/oldcmp/index.htm
> >>>
> >>> Best regards
> >>>
> >>> Meinolf Weber
> >>> Disclaimer: This posting is provided "AS IS" with no warranties, and
> >>> confers
> >>> no rights.
> >>> ** Please do NOT email, only reply to Newsgroups
> >>> ** HELP us help YOU!!!
http://www.blakjak.demon.co.uk/mul_crss.htm
> >>>
> >>> > Hello Meinolf,
> >>> >
> >>> > I am able to get the list of disabled accounts in the domain. However,
> >>> > i need to get the list of inactive accounts (for example inactive for
> >>> > the last 70 days).
> >>> >
> >>> > Thanks and Best Regards,
> >>> >
> >>> > "Meinolf Weber" wrote:
> >>> >
> >>> >> Hello Marwan,
> >>> >>
> >>> >> Do you mean disabled accounts or not used over a long period?
> >>> >>
> >>> >> Best regards
> >>> >>
> >>> >> Meinolf Weber
> >>> >> Disclaimer: This posting is provided "AS IS" with no warranties, and
> >>> >> confers
> >>> >> no rights.
> >>> >> ** Please do NOT email, only reply to Newsgroups
> >>> >> ** HELP us help YOU!!!
http://www.blakjak.demon.co.uk/mul_crss.htm
> >>> >>> I need to get a list of all inactive user accounts in Windows 2000
> >>> >>> Active Directory
> >>> >>>
> >>>
> >>>
> >>>
> >
> >
>
>
>