The fastest way: Settings

Open the Settings app by pressing the Windows key and typing "settings", then press Enter. Click Accounts in the left sidebar. At the top of the window under "Your info", you will see your username displayed next to "Email address" or "Local account". This is the name Windows uses to identify you on this computer.

If you see an email address instead of a straightforward name, that email is your username for this device. Windows 10 allows both types — some accounts use a Microsoft email, others use a local username like "JohnSmith" or "HomePC-Admin".

Key Takeaways

  • Your Windows 10 username appears in Settings under Accounts > Your info, usually next to your email address or profile picture.
  • The Command Prompt method using whoami shows your username when ready if you prefer not to navigate menus.
  • File Explorer displays your username in the address bar when you open "This PC" — look for the folder path that contains your name.
  • System Information (accessible by pressing Windows key + Pause) lists your username under "Computer Name" and "User Name" fields.

Using Command Prompt for when ready results

Press the Windows key, type "cmd", and press Enter to open Command Prompt. Type whoami and press Enter. The result will show your username in the format "COMPUTERNAME\username" — the part after the backslash is your Windows username.

This method works even if you cannot access the graphical Settings menu. The username appears exactly as Windows recognizes it, with no extra information to sort through. If you see only a number or a string of characters instead of a readable name, your account may be using a temporary or system-generated identifier.

Finding it in File Explorer

Open File Explorer by pressing Windows key + E. Click This PC in the left sidebar. Look at the address bar at the top — it will show a path like "C:\Users\YourUsername". The folder name after "\Users\" is your Windows username.

You can also look in the left sidebar under "Quick access" — Windows often displays a folder with your username on it. Right-click that folder and select Properties to confirm the exact spelling of your username, which matters when you need to enter it elsewhere.

Checking System Information

Press the Windows key and type "system information", then press Enter. In the window that opens, look for the field labeled User Name — this shows your full username as Windows recognizes it. You will also see "Computer Name" above it, which is different from your username.

System Information is useful because it displays your username alongside other account details in one place. If you need to provide your username to a technician or for troubleshooting, copying it directly from this window ensures you get the spelling exactly right.

What to do if you see an email instead of a straightforward name

Windows 10 allows you to sign in with a Microsoft account (usually an email address) or a local account (a straightforward username). If you see an email address in Settings, that email is your username for this device. Some programs and network connections will ask for your username — in these cases, you can use either the email address or just the part before the @ symbol, depending on what the program requires.

To find out whether you are using a Microsoft account or a local account, return to Settings > Accounts > Your info. If it says "Manage your Microsoft account" or shows a Microsoft email, you are signed in with a Microsoft account. If it says "Local account", your username is the straightforward name displayed there.

Why you might need your username

Windows asks for your username when you set up network connections, share files with other computers, or troubleshoot permission problems. Some programs also require it during installation. Knowing your exact username — including capital letters and numbers, if your account has them — prevents errors when you enter it.

Your Windows username is different from your password. The username identifies which account you are, while the password proves it is really you. You can change your username through Settings > Accounts > Your info > Rename your device or account, though this does not change the folder name in C:\Users\ on most systems.

Frequently Asked Questions

Is my Windows username the same as my email address?

Only if you signed in with a Microsoft account. If you use a Microsoft email to sign in to Windows 10, that email is your username. If you created a local account with a straightforward name like "Sarah" or "HomePC-Admin", that name is your username instead.

Can I change my Windows username?

Yes, through Settings > Accounts > Your info, where you can rename your account. However, this does not rename the folder Windows created for you in C:\Users\ — that folder keeps its original name. Programs that look for your username in that folder path may not recognize the new name.

What if I see a number or strange characters instead of a name?

This usually means your account was created automatically or imported from another system. You can rename it through Settings > Accounts > Your info > Rename your device or account. If the option is grayed out, you may need administrator permissions or to sign in with a different account first.

Do I need my username to sign in to Windows?

No. Windows 10 signs you in automatically if you are the only user, or shows your account picture on the login screen if there are multiple users. You only need to type your username if you are signing in remotely or if Windows specifically asks for it during a troubleshooting step.