computer status

Posted on 2011-10-20
Last Modified: 2012-05-12
Is there a way to know if a computer in my domain is turned on or off?
I tried to ping a list of computers, and many of them dont give a reply...My task is to remove this machines from our DNS server, but first of all we need to know if those machines are in use or not (they could be not responding either by firewall or something else)...
Those machines are far away from us...
Question by:Ercélio Pedro Mabota
    LVL 2

    Expert Comment

    You can use some tool like nmap in some versions of linux (backtrack4). It can scan for ip addressess, ports, operating systems etc. etc. Command line is pretty simple and understandable.
    LVL 43

    Accepted Solution

    I don't know of an AD attribute which records the last usage time of a computer?

    As you say you can't rely on being able to PING.
    Same goes for connecting to the computer through share etc.
    And it may be genuinely off, especially if in different time zone say.

    Both of those would give you a "still in use" but can't give you a "not in use" of course.

    Some suggestions and a free util here for checking based on when the computer account last changed it's password -- around once a month.

    Other than that you could set all computers to run a GPO startup script say which then drops a log file in a share that computers can write to, e.g. \\server\dfs\info\%computername%.txt

    If users have laptops that connect rarely, or only through VPN say then these also confuse the issues.

    Interesting one, listening to see if anyone else has any better ideas -- have been lucky enough to be in fairly controlled environments where machines are (mainly) checked in and out and procedures followed for removing them.. not to say people don't bother with procedures of course :-(


    LVL 43

    Expert Comment

    by:Steve Knight
    You could also just disable the computer accounts if you suspect they are, and wait for complaints!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (…
    YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT ( The crux of this batch f…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 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

    8 Experts available now in Live!

    Get 1:1 Help Now