Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

map computer logged user

Posted on 2013-11-04
9
Medium Priority
?
289 Views
Last Modified: 2013-11-05
I have a list of computers. I need to find out logged on user or last logged on user on these computers.
Is there any automated way, instead of doing it manually one by one.
Most of the workstations are XP Sp3
0
Comment
Question by:dedri
[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
  • 5
  • 4
9 Comments
 
LVL 9

Expert Comment

by:dustock
ID: 39621521
with pstools you can see who is logged on to a PC.  You still have to do it 1 by 1, but it could be automated with a program.

http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
0
 

Author Comment

by:dedri
ID: 39621549
any any program that can do it ?
or maybe any script
0
 
LVL 9

Assisted Solution

by:dustock
dustock earned 2000 total points
ID: 39621553
I wrote a C# program that uses a foreach statement to do this.  I'm sure it could be scripted just as easily.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:dedri
ID: 39621650
could you point me to any link where  I can download it and use the program
0
 
LVL 9

Assisted Solution

by:dustock
dustock earned 2000 total points
ID: 39622177
You can just download the zip file.  Rename "LastLoggedOn" to "LastLoggedOn.exe" before you try to run it.  Also make sure you download PS Tools from the link I provided earlier.

A few things, everything in the admin area is driven by the config file, so those settings will save if you change them.  Make sure to check your path of the PS Tools before you try running it.  The "Ping PC First" will ping the PC before it attempts to see who is logged on, the "Show Local Logins" only will only show users that are locally logged in, the default shows local and remote users. The split char is the only item you have to click save to, all other items save automatically.

Also you can load multiple PC's at once by using the split character.  So the default is a semi-colon and if you put in the names like I have below it will enter the three names
pc1; pc2; pc3

You can change that split character if you want.

You can also clear the PC list and results list by double clicking those lists.
LastLoggedOn.zip
0
 

Author Comment

by:dedri
ID: 39624086
normally i generate a list of computers in a file one computer on a row.
Is there any way to provide this list( around 1000 computers) to program. Or any idea how to convert the content of this file to be comp1;comp2;comp3; etc...
0
 
LVL 9

Accepted Solution

by:
dustock earned 2000 total points
ID: 39624121
What I done is copy that list and transpose the names in excel.  Then I copy that to a notepad or word document and replace the tab that is generated by excel with a semi-colon.  Maybe not the most efficient way, but it works.
0
 

Author Comment

by:dedri
ID: 39624479
perfect, that do the trick,
10x
0
 
LVL 9

Expert Comment

by:dustock
ID: 39624493
Cool glad its working.  That program may say not responding while running, I made it to run about 10-20 PC's at most.  You may want to break your list up into smaller chunk and copy the data out.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

670 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