What is my username when logging in with a Microsoft account What is my username when logging in with a Microsoft account

View Categories

What is my username when logging in with a Microsoft account

< 1 min read

When logging into Windows using a Microsoft account, a new local account is generated. If an account with the same name exists, the account name is altered slightly and no longer matches your assumed account name.

To ascertain the actual account name, follow these steps:

  1. Launch a command prompt.
  2. Enter the ‘set‘ command.
  3. Examine the output, which includes all environment variables.
  4. Look for the ‘USERNAME‘ variable, which will display the genuine username.

Powered by BetterDocs