Solved

Active directory PCs and Users

Posted on 2011-09-28
6
198 Views
Last Modified: 2012-05-12
I have the active directory on a server 2008
please how I can find the list of PCs wich correspond to the name of users
example, the PC (Name = pc1desk) used by the user (Account = Nicolas)
Thx
0
Comment
Question by:DRRAM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 10

Expert Comment

by:ienaxxx
ID: 36719911
you can't directly. it's because eachcomputer could be used by a number of users. The two types of objects are not joined.  But you can use psloggedon by sysinternals fo generate a list. you pass comp. names and it can loop and see who's logged on each one.  hth. bye!
0
 
LVL 13

Expert Comment

by:Govvy
ID: 36719958
You could also write a script to check the latest documents and settings or users folders on each PC to confirm the consumer
0
 

Author Comment

by:DRRAM
ID: 36783279
HOW CAN I DO THIS SCRIPT PLEASE
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:DRRAM
ID: 36803684
please I have a list users (Account) --> a search the mist Name PCs correspondent
example, the  user (Account = Nicolas) used the PC (Name = pc1desk)
0
 
LVL 7

Accepted Solution

by:
hirenvmajithiya earned 500 total points
ID: 36813783
You can do as follows:
(1) Create a share folder on server with write permission to all the users.
(2) Write logon script as batch file with following command:
           (A) If you want separate text files for each PC:
                 echo %username% >> \\path\to\shared\folder\%computername%.log
           (B) If you want all computers name against usernames in single text file:
                 echo %username% %computername% >> \\path\to\shared\folder\logfile.log
(3) apply this to GPO linked OU which contains users you want to have a log of.
(4) Wait for three four day and you will have a cool information in the folder.
0
 

Author Closing Comment

by:DRRAM
ID: 36964993
THX
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

696 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