• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Utility to determine who is logged on to a remote computer given its IP or name?

nbtstat is one that was used, but it does not work always.  Is there a utility that can be used for this? The workstation is XP Pro, NT network-
0
dunquen
Asked:
dunquen
1 Solution
 
b0bmasterCommented:
Hi

I usualy use nbtstat also but there is a nice little utility called - NetUsers that i sometimes use, you can download it here:
   http://www.optimumx.com/download/#NetUsers

I also sometime use a little VBScript - Copy/Paste it to notepad and just Save it as "NetUserStat.vbs"

-----------------------------------------------------------------------------------------------------------

strComputer = InputBox("Enter Name Of Remote computer:")

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery ("Select * from Win32_ComputerSystem")

For Each objComputer in colComputer
 Msgbox "Logged on user is:: " & objComputer.UserName
Next

------------------------------------------------------------------------------------------------------------

Hope I helped, Thanks
0
 
mcp_jonCommented:
There is a tool called tcpview, which is a nbtstat in graphical view !

Very usefull, it lets you know the Ip's and ports they are using
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Managing Security Policy in a Changing Environment

The enterprise network environment is evolving rapidly as companies extend their physical data centers to embrace cloud computing and software-defined networking. This new reality means that the challenge of managing the security policy is much more dynamic and complex.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now