Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

Windows 2003 AD question ?

Is there a way of finding out if a PC in AD has not logged on for more than a month ?

Thx
Adam.
0
adam_kan2000
Asked:
adam_kan2000
2 Solutions
 
NikCommented:
I believe not. For that purpose you'll have to use Microsoft System Center Configuration Manager, or some third party application.
0
 
oBdACommented:
Try this one:
OldCmp
http://www.joeware.net/freetools/tools/oldcmp/index.htm

Or, in a W2k3 domain running in W2k3 functional level, with the following command:
dsquery computer -inactive 4 -limit 0
-inactive expects the number of weeks!
This might yield false positives for notebooks or machines that are shut down.

Ordsquery computer -stalepwd 30 -limit 0
This might yield false positives for notebooks or machines that are shut down, or if the changing of the computer passwords has been disabled for some reason.
0
 
RobinHumanCommented:
Use the dsquery command from the server 2003 adminkit;
syntax is: dsquery computer -inactive 10
where 10 is the number of weeks the machine has been inactive; - note: this only works in an AD 2003 native environment
alternatively, you could use Oldcmp - available here: http://www.joeware.net/freetools/tools/oldcmp/index.htm
0
 
up_grayed_outCommented:
I did it through the logon script. Echo hostname, username, date/time to a csv file. I also used smbios2.exe from ibm. This reads the service tag off of dell systems to keep a running inventory.
0
 
adam_kan2000Author Commented:
Hi up_grayed_out - Do you have the script that you used.

Regards
Adam
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now