Solved

Active directory PCs and Users

Posted on 2011-09-28
6
195 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
The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
How important is it to take extra precautions to protect your online business? These are some steps you can take to make sure you're free of any cyber crime.
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…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now