Solved

active directory users

Posted on 2014-11-20
2
100 Views
Last Modified: 2014-11-21
Windows Server 2008 R2.  How do you reconcile or run a program on the server to show which users have not logged into the network or had a response from a DHCP server in the past year?  Not sure if I'm explaining that right.  One time I had someone do this for me on our server and it showed the users that have not logged into the network for a year.  They ended up having a red x beside the name.  Want to clean up active directory.
0
Comment
Question by:mkramer777
2 Comments
 
LVL 10

Accepted Solution

by:
Maclean earned 500 total points
Comment Utility
Not 100% sure what you want out of this besides seeing when perhaps a user last logged on over 1 year, or when a computer was last on the network.

I recommend using a free utility from joeware for these two, which runs from a cmd prompt. It prints out a report to html or csv for these types of info.

For old computers:

http://www.joeware.net/freetools/tools/oldcmp/

For old users:

http://www.joeware.net/freetools/tools/getuserinfo/index.htm

There might be alteratives in  gui, but personally I enjoyed the toolsets provided by JoeWare
0
 
LVL 95

Expert Comment

by:Lee W, MVP
Comment Utility
You can use a powershell script for the users - see this TechNet entry:
https://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-User-bbcdd771

As for finding stale computers (DHCP, I don't think, is a good method).
Here are a couple of scripts that can get you that information.
http://pipe2text.com/?page_id=121
https://gallery.technet.microsoft.com/scriptcenter/Get-Inactive-Computer-in-54feafde
0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
I was asked if I could set up a fax machine so that incoming faxes were delivered to people's Exchange inboxes and so that they could send faxes from their desktops without needing to print the document first.  I knew it was possible but I had no id…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now