Announcement

Collapse
No announcement yet.

Inactive Computer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inactive Computer

    How do I export a list of inactive computers or the the computers that failed ping?

  • #2
    Re: Inactive Computer

    Right-click on the Computers object in the left window and choose Query Active Directory->Computers(Detailed). The PwdLastSet field works fairly well for this because periodically computer accounts are forced to reset the password they use to communicate with the domain. Anything outside of a normal range (>30 days possibly) can be looked at further. We typically recommend that you first Disable suspect computers, then a week or so later actually remove them from AD.

    Comment


    • #3
      Re: Inactive Computer

      I use this tool what I wrote to find all Inactive Computers in my Domain

      ******
      cmd /x /c "dsquery computer domainroot -d DOMAINNAME -inactive 8 | dsget computer -dn -desc >C:\inactive.txt"

      ******

      Change the DOMAINNAME to your own Domain name, the 8 refers the number of weeks the computer hasn't changed it's password. Run the tool at the Domain level name in Hyena.

      Comment


      • #4
        Re: Inactive Computer

        I'm having trouble using this tool. The output file is empty. I've tried the command line in cmd console, and the error I get is:

        "The filename, directory name, or volume label syntax is incorrect."

        Comment


        • #5
          Re: Inactive Computer

          Do a search on your PC and see if you have any dsquery files in System32.

          It maybe that you need the Microsoft Adminpak tools installed to be able to run DSQuery, or run it on a PC or server that already has it installed.

          Comment

          Working...
          X