Solved

Active directory PCs and Users

Posted on 2011-09-28
6
197 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
Most MSPs worth their salt are already offering cybersecurity to their customers. But cybersecurity as a service is wide encompassing and can mean many things.  So where are MSPs falling in this spectrum?
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

840 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