• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Active directory PCs and Users

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
DRRAM
Asked:
DRRAM
1 Solution
 
ienaxxxCommented:
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
 
GovvyCommented:
You could also write a script to check the latest documents and settings or users folders on each PC to confirm the consumer
0
 
DRRAMAuthor Commented:
HOW CAN I DO THIS SCRIPT PLEASE
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
DRRAMAuthor Commented:
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
 
hirenvmajithiyaManager (System Administration)Commented:
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
 
DRRAMAuthor Commented:
THX
0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now