tell me where isn't that great of a tool, I think it may also be as picky as being case sensitive. The best thing to use for this, and a billion other NT LAN "Things" is dameware
.
If you get dameware utilities, navigate to the workstations or servers and do a properties on the machine you will get who is logged in under the network tab. You can also get other information that is oh-so-very-neat-and-sweet!
Here is a vb script that does the trick....
Just copy this into a text file and rename the extension to .vbs (oh, and make sure some of the lines don't wrap)
Set UserSet = GetObject( winmgmt1 ).InstancesOf ("Win32_ComputerSystem"
strCurrentUser = ""
cntrs = 0
for each User in UserSet
If cntrs > 1 Then
strCurrentUser = strCurrentUser & ", " & User.UserName
Else
strCurrentUser = User.UserName
End If
cntrs = cntrs + 1
Next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.