How to Determine the Currently Logged on User with WinNT 4.0

Last reviewed: October 3, 1997
Article ID: Q156694
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SUMMARY

Under Windows NT Server version 3.x, the title bar of Program Manager could be used to determine the name of the currently logged on user. This information is not immediately available with the Windows NT Server 4.0 shell, but you can obtain it by using one of the techniques given in the MORE INFORMATION section of this article.

MORE INFORMATION

To find the name of the currently logged on user, do any on of the following:

Method I

  1. On the Start menu, click Run.

  2. Type "progman.exe" (without the quotation marks) and press ENTER.

The logged on user will be displayed in the title bar in the syntax of %domainname%\%username%.

Method II

While logged on, press the CTRL+ALT+DEL keys simultaneously. the name of the currently logged on user is given in the Logon Information section of the Windows NT Security dialog box.

Method III

  1. On the Start menu, click Run.

  2. Type "winmsd.exe" (without the quotation marks) and press ENTER.

  3. Click the Network tab. You can see the current user and logon domain information. Note that Winmsd.exe also displays the domain controller that authenticated the client computer within the domain.


Additional query words: prodnt
Keywords : nthowto kbenv
Version : WINNT:4.0
Platform : winnt
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.