How to find the Windows user name and domain that is currently logged in How to find the Windows user name and domain that is currently logged in

How to find the Windows user name and domain that is currently logged in
  1. Open a DOS command prompt
  2. Type: SET and press Enter
    • USERNAME is the name of the Windows user currently logged in
    • USERDOMAIN is the domain of the Windows user

Environment

 Windows 7 (32-bit);Windows 8 (32-bit)

Was this article helpful?