What is my Windows username?

Updated: 07/31/2022 by Computer Hope
Default account picture in Windows 10.

From time to time, users may need to know their Windows username for one reason or another. Whether it be for login uses or curiosity, the following sections show you some ways to view your Windows username.

Using netplwiz

  1. Press the Windows key, type netplwiz, and then press Enter.
  2. In the User Accounts window, select the account you're logged in to and click the Properties button.

User accounts in Windows 10.

  1. In the User name text field, you'll see your username.

Username in Windows 10.

Using the whoami command

  1. Press the Windows key+R to open the Run box.
  2. Type cmd and press Enter.
  3. Type whoami at the command prompt, then press Enter.
Tip

You can also enter the command echo %username% to see your username.

  1. Your username appears on the next line.

Windows command line using the whoami command in Windows 10.

Via the Windows Control Panel

  1. Press the Windows key, type Control Panel, and then press Enter.
  2. Click the User Accounts option.

User accounts selector in Windows 10.

  1. Click User Accounts again.

User accounts selector in Windows 10.

  1. In the User Accounts window, your username is next to your profile icon on the right.

Computer Hope username in Windows user accounts menu.

Via Windows Accounts

  1. Press the Windows key, type Settings, and then press Enter.
  2. In the Settings window, select Accounts.

Accounts selector in Settings.

  1. On the left side of the window, make sure Your info is selected.

Your info selector in Windows.

  1. On the right side of the Your info screen, under the profile picture, you'll see your username.

Your info username in Windows 10.

Note

If you're logged in to an administrator account, your username may appear as the e-mail address attached to your Microsoft account.