For users comfortable with command-line interfaces, Windows provides a built-in tool called Command Prompt to find the username.
Tip: If you signed in with a Microsoft account, Windows often truncates this folder name to the first five letters of your email address. Check the Start Menu. For network/scripts: Use the whoami command in CMD. For file paths: Look in C:\Users .
Your Windows username is often different from your Microsoft account email address.
Under , you will see your name and the email address associated with the account (if you’re using a Microsoft account). 4. Use the Netuser Command
This will display a table of all registered accounts on that specific machine. 5. Check the "Users" Folder