Solved

map computer logged user

Posted on 2013-11-04
9
282 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
  • 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
 

Author Comment

by:dedri
ID: 39621650
could you point me to any link where  I can download it and use the program
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

867 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

20 Experts available now in Live!

Get 1:1 Help Now