Answered by:
Users and Computers show inactive PC's, without using any query?

Question
-
Hello
In my company we are using Windows Server 2008 R2.
In these days we are trying to find out how many computers, we have in all our departments.
In Active directory Under "Computers" folder is there any possible to make a option that makes it possible to see which computers that's inactive, so we dont count them?
I already know i can make a querry to find out which computers that hasn't been active for a while, but that's not a solution for my company.
so im asking you guys, about is there any possible option in Active Directory to show under "computer" folder whichs computers thats inactive?
I would be grateful for any responses.
Regards Jonas
NB: Sorry for wrong english
Thursday, November 15, 2012 6:56 AM
Answers
-
Hi,
As far as I know, we could query inactive computer accounts by using Dsquery command and script. For details, please refer to the following articles.
Dsquery computer
http://technet.microsoft.com/en-us/library/cc730720(v=ws.10).aspx
List Inactive Computer Accounts in Active Directory
http://gallery.technet.microsoft.com/scriptcenter/6b8163d1-5fae-43b5-a664-a2d1f6e1e2da
List Inactive Computer Objects (without 3. party module)
http://gallery.technet.microsoft.com/scriptcenter/List-Inactive-Computer-7ce9335d
In addition, we could also find inactive computers using PowerShell.
Finding Inactive or Unused Computers
http://technet.microsoft.com/en-us/library/dd391949(v=ws.10).aspx
If we have some script and PowerShell related issue, we could ask in the script and PowerShell forum.
The Official Scripting Guys Forum!
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
Windows PowerShell
http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads
Best Regards,
Andy Qi
- Marked as answer by Andy Qi Wednesday, November 28, 2012 10:59 AM
Friday, November 16, 2012 10:00 AM
All replies
-
You need to use a script for that. You can check in your AD MMC, but it's long. It's in the extended section when you turn advanced feature at on. It's the lastlogon value you want to check.
Some script exemple;
http://www.clintmcguire.com/2011/05/29/powershell-script-to-get-all-computers-last-logon-time/
MCP | MCTS 70-236: Exchange Server 2007, Configuring
Want to follow me ?| Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/
Friday, November 16, 2012 3:41 AM -
Hi,
As far as I know, we could query inactive computer accounts by using Dsquery command and script. For details, please refer to the following articles.
Dsquery computer
http://technet.microsoft.com/en-us/library/cc730720(v=ws.10).aspx
List Inactive Computer Accounts in Active Directory
http://gallery.technet.microsoft.com/scriptcenter/6b8163d1-5fae-43b5-a664-a2d1f6e1e2da
List Inactive Computer Objects (without 3. party module)
http://gallery.technet.microsoft.com/scriptcenter/List-Inactive-Computer-7ce9335d
In addition, we could also find inactive computers using PowerShell.
Finding Inactive or Unused Computers
http://technet.microsoft.com/en-us/library/dd391949(v=ws.10).aspx
If we have some script and PowerShell related issue, we could ask in the script and PowerShell forum.
The Official Scripting Guys Forum!
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
Windows PowerShell
http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads
Best Regards,
Andy Qi
- Marked as answer by Andy Qi Wednesday, November 28, 2012 10:59 AM
Friday, November 16, 2012 10:00 AM