Solved

Command to see what users are loged on to a remote machine

Posted on 2006-07-23
8
342 Views
Last Modified: 2013-11-21
Question:

You have been given a computer name and have been asked to remotely find out  who is logged onto it – what command would you use?


Would this be nbtstat - a??? heve tried it but it doesnt seem to let you know who is logged on to it.

Anyone know what commend you would use?

Thanks
0
Comment
Question by:capitalpro
8 Comments
 
LVL 34

Expert Comment

by:PsiCop
Comment Utility
What OS?

Use "finger" or "who" in Linux or UNIX.
0
 
LVL 13

Expert Comment

by:stergium
Comment Utility
in case of a windows box you can try a network scan. download a free version of the GFI languard www.gfi.com. That program shows you who is logged in among other information. But i must warn you that this procedure is illegal(at least in most countries, certently in EU) in case of you scanning across networks.
0
 
LVL 3

Expert Comment

by:omrisiri
Comment Utility
you could use an excellent software from sysinternals called psloggedon which is part of the pstools package -
http://www.sysinternals.com/Utilities/PsTools.html - and it's free!
0
 
LVL 9

Expert Comment

by:Krompton
Comment Utility
I would also recomend the tools from sysinternals. I use them all the time. But you'd better download them soon. I heard Sysinternals was purchased and that those tools may end up not being free.

Krompton
0
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 

Expert Comment

by:Strike_2
Comment Utility

MY tool of choice is the Angry IP scanner, available at:
http://www.angryziber.com/ipscan/

Before scanning, go to [Options] --> Select Columns
You can tell it to look for almost anything.

It can also export anything it finds for later processing

Quick Tip: If you're using a Linux server with a Samba domain, you can find out what users are on what computers with smbstatus
0
 
LVL 2

Expert Comment

by:Pankaj Chauhan
Comment Utility

The command below will help you out if you are using Terminal services.

Go to the command prompt and run the following command. Query session

In your case the command would be: Query session /server:<server IP>



Displays information about sessions on a terminal server. The list includes information not only about active sessions but about other sessions that the server runs.
0
 
LVL 2

Accepted Solution

by:
Pankaj Chauhan earned 500 total points
Comment Utility
CHECK OUT THE COMPLETE SYNTAX FOR THE QUERY SESSION COMMAND

Syntax

query session [{SessionName | UserName | SessionID}] [/server:ServerName] [/mode] [/flow] [/connect] [/counter]

Parameters

SessionName

The name of the session you want to query.

UserName

The name of the user whose sessions you want to query.

SessionID

The ID of the session you want to query.

/server:ServerName


Identifies the terminal server to query. The default is the current server.

/mode

Displays current line settings.

/flow

Displays current flow-control settings.

/connect

Displays current connect settings.

/counter

Displays current counters information, including the total number of sessions created,
disconnected, and reconnected.

/?

Displays help at the command prompt.


FOLLOW THE LINK FOR COMPLETE TERMINAL SERVICES COMMANDS

http://technet2.microsoft.com/WindowsServer/en/library/1db49727-f587-424d-8d98-bb51630d13a01033.mspx?mfr=true

I HOPE THIS WOULD HELP
0
 

Author Comment

by:capitalpro
Comment Utility
Thanks
0

Featured Post

Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

Join & Write a Comment

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 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

16 Experts available now in Live!

Get 1:1 Help Now