Solved

Active directory PCs and Users

Posted on 2011-09-28
6
199 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Ready to trade in that old firewall?

Whether you need to trade-up to a shiny new Firebox or just ready to upgrade from whatever appliance you're using now, WatchGuard has the right appliance for you! Find your perfect Firebox today with appliance sizing tool!

Question has a verified solution.

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

Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
Make the most of your online learning experience.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Suggested Courses

617 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