I need to get a list of all inactive user accounts in Windows 2000 Active
Directory

Re: How can I report all inactive user accounts in Windows 2000 AD by Meinolf

Meinolf
Fri Mar 28 02:36:37 PDT 2008

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
>



Re: How can I report all inactive user accounts in Windows 2000 AD by Marwan

Marwan
Fri Mar 28 03:03:03 PDT 2008

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

Re: How can I report all inactive user accounts in Windows 2000 AD by Paul

Paul
Fri Mar 28 05:50:38 PDT 2008

Check out a script I wrote that will give you multiple attributes of users
including LastLogon at:

http://www.pbbergs.com/windows/downloads.htm
Select User Account Attributes

--
Paul Bergson
MVP - Directory Services
MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.

"Marwan" <Marwan@discussions.microsoft.com> wrote in message
news:8013DF7A-D2C8-4841-9628-D3C67B9403E4@microsoft.com...
>I need to get a list of all inactive user accounts in Windows 2000 Active
> Directory



Re: How can I report all inactive user accounts in Windows 2000 AD by Marwan

Marwan
Fri Mar 28 05:52:00 PDT 2008

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

Re: How can I report all inactive user accounts in Windows 2000 AD by Jorge

Jorge
Fri Mar 28 06:11:06 PDT 2008

OLDCMP from joeware.net is your friend in this case

--

Cheers,
(HOPEFULLY THIS INFORMATION HELPS YOU!)

# Jorge de Almeida Pinto # MVP Windows Server - Directory Services #

BLOG (WEB-BASED)--> http://blogs.dirteam.com/blogs/jorge/default.aspx
BLOG (RSS-FEEDS)--> http://blogs.dirteam.com/blogs/jorge/rss.aspx
------------------------------------------------------------------------------------------
* How to ask a question --> http://support.microsoft.com/?id=555375
------------------------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test ANY suggestion in a test environment before implementing!
------------------------------------------------------------------------------------------
#################################################
#################################################
------------------------------------------------------------------------------------------
"Marwan" <Marwan@discussions.microsoft.com> wrote in message
news:8013DF7A-D2C8-4841-9628-D3C67B9403E4@microsoft.com...
>I need to get a list of all inactive user accounts in Windows 2000 Active
> Directory


Re: How can I report all inactive user accounts in Windows 2000 AD by Richard

Richard
Fri Mar 28 06:46:37 PDT 2008

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



Re: How can I report all inactive user accounts in Windows 2000 AD by Ken

Ken
Fri Mar 28 08:22:18 PDT 2008

Hello,

If you're looking for a 3rd party solution take a look at DSRAZOR for
Windows. It is not free, but it is very easy to use. It is set up for user
searches right out of the box.
As you may know, Active Directory does not replication the lastLogon
attribute. If you have 3 Domain Controllers and you asked each of those
three DCs the last time a user logged on, you might get three different
responses. You can use various scripts or software to run the queries to
each DC and make the comparison for you... thats what Joe's tool, and
DSRAZOR, does.
When you run DSRAZOR to find these old users you can right-click to generate
a report, or you can select all the users found and press a button to do
something to those accounts. This means that once the search finishes, you
could highlight them all, disable them, and moved them to a disabled user's
OU. Or you could simply delete them. This makes the cleanup job very easy.
Everything is also logged so you have a record of what changes you've made.
You can also automate the applet to run on a scheduled basis to regularly
keep your inactive users cleaned up. Customers tell us that their auditors
really like to see that.
I realize that the other solutions offered in this thread are free and a
perfect fit for many people, but if you want something that is easier to use
and backed by a company that offers free support to customers, then consider
DSRAZOR as an option.

I hope this is helpful to someone.

--
Ken Aldrich
DSRAZOR for Windows
Visual Click Software, Inc.
www.visualclick.com

"Marwan" <Marwan@discussions.microsoft.com> wrote in message
news:8013DF7A-D2C8-4841-9628-D3C67B9403E4@microsoft.com...
>I need to get a list of all inactive user accounts in Windows 2000 Active
> Directory



Re: How can I report all inactive user accounts in Windows 2000 AD by Richard

Richard
Fri Mar 28 08:31:30 PDT 2008

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



Re: How can I report all inactive user accounts in Windows 2000 AD by Marwan

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