Solved

map computer logged user

Posted on 2013-11-04
9
287 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 500 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

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 500 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 500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

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