Computing.Net > Forums > Windows NT > How can you tell who's logged in?

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

How can you tell who's logged in?

Reply to Message Icon

Original Message
Name: dan
Date: July 3, 2002 at 06:25:06 Pacific
Subject: How can you tell who's logged in?
Comment:

You walk up to an nt4 workstation computer, how can you tell who's logged in to it?


Report Offensive Message For Removal


Response Number 1
Name: DaveStL
Date: July 3, 2002 at 07:56:48 Pacific
Reply: (edit)

Press Ctrl+Alt+Del and the dialog box that appears will tell you.


Report Offensive Follow Up For Removal

Response Number 2
Name: dan
Date: July 3, 2002 at 08:13:11 Pacific
Reply: (edit)

thank you, I've brought that screen up hundreds of times and never noticed that


Report Offensive Follow Up For Removal

Response Number 3
Name: Maurice Reed
Date: July 5, 2002 at 05:23:10 Pacific
Reply: (edit)

If vb scripting is enabled you can put the following code into a file called getuser.vbs and place it somewhere where its easily accessible on a shared drive. Execute the file and it should return the Doman name, user name and workstation name.

Set W = WScript.CreateObject("WScript.Network")
Dim S
Stop
S = "Domain:" + vbTab
S = S + W.UserDomain
S = S + vbCr + "Computer:"
S = S + vbTab + W.ComputerName
S = S + vbCr + "UserName:"
S = S + vbTab + W.UserName
WScript.Echo S


Report Offensive Follow Up For Removal

Response Number 4
Name: dan
Date: July 5, 2002 at 06:37:53 Pacific
Reply: (edit)

VB scripting enabled?
Don't I have enough problems as sysadmin?
:)


Report Offensive Follow Up For Removal

Response Number 5
Name: Spiney69
Date: July 8, 2002 at 03:39:26 Pacific
Reply: (edit)

There is a command line tool in the resource kit called whoami.exe which will tell you who is logged on. Theres also a tool you can download called netusers.exe which can also tell you this from a remote PC.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History




Data Recovery Software