Solved

map computer logged user

Posted on 2013-11-04
9
285 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Upgrade Windows 7 pro to Enterprise 8 80
VMWare Calculate number of processors 10 68
Windows 10 in-place ugprade stuck on 0% 6 32
Windows 2008 set profile 9 16
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

821 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