How to Determine the Currently Logged on User with Windows NT 4.0 and Windows 2000

Article translations Article translations
Article ID: 156694 - View products that this article applies to.
This article was previously published under Q156694
Expand all | Collapse all

On This Page

SUMMARY

In Windows NT Server version 3.x, you can use the title bar of Program Manager to determine the name of the currently logged-on user. This information is not immediately available in Windows NT Server 4.0, but you can obtain it by using one of the methods that are listed in the "More Information" section of this article.

MORE INFORMATION

To find the name of the user who is currently logged on user, use any of the following methods:

Method 1

Click Start, click Run, type Progman.exe, and then press ENTER.

The logged-on user appears in the title bar with the syntax of domainname\username.

Method 2

While logged on, press CTRL+ALT+DEL. The name of the currently logged-on user appears in the Logon Information section of the Windows NT Security dialog box.

Method 3

Note: This method does not apply to Windows 2000.

  1. Click Start, click Run, type Winmsd.exe, and then press ENTER.
  2. Click the Network tab. The current user and logon domain information appears. Winmsd.exe also indicates the domain controller that authenticated the client computer in the domain.

Method 4

Click Start, click Run, type cmd, and then type set. Look for the Username and Logonserver.

Note: The Resource Kit has a utility named Whoami.exe. If you run this tool, you receive the following output:
%domainname%\%username%
				

Properties

Article ID: 156694 - Last Review: February 27, 2007 - Revision: 3.2
APPLIES TO
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
Keywords: 
kbenv kbhowto KB156694

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com