WindowsDevice ManagementIT Support

How to Find Your Windows Username

Regroove IT Consulting3 min read420 words

Whether you are filling out an IT support ticket, setting up a new application, or just trying to confirm which account you are logged into on a shared device, finding your Windows username is one of those tasks that should take five seconds and somehow never quite does. Here are the fastest ways to get it, in order of how quickly they work.

The fastest way: Command Prompt

Press Windows key, type cmd, and press Enter. In the Command Prompt window, type:

whoami

This returns your username in the format COMPUTERNAME\username or DOMAIN\username if your device is joined to a domain or Microsoft Entra ID. It is the single most reliable method and works identically on Windows 10 and Windows 11.

Through Settings

Go to Settings, then Accounts, then Your info. This shows the full name and email tied to the signed in account. It is a more visual option if you are already in Settings for another reason.

Through File Explorer

Open File Explorer and navigate to the C: drive, then the Users folder. The folder name that matches your profile is your local Windows username, which is useful specifically when you need the local account name rather than your Microsoft 365 sign in name. These are not always the same thing, particularly on a device joined to Microsoft Entra ID.

One more option

Typing echo %USERNAME% into Command Prompt returns just the username itself, without the computer or domain prefix, if that is all you need.

If you manage devices for a whole team and want usernames, sign in accounts, and device compliance handled consistently rather than looked up one machine at a time, that is exactly what our managed IT services are built to take off your plate. Get in touch if that is a conversation worth having.

Regroove IT Consulting

Microsoft Solutions Partner specializing in Managed IT Services and Modern Work, covering Microsoft 365, Teams, SharePoint, Power Platform, and Azure. Helping organizations everywhere get lasting value from their Microsoft investment since 1993.

About Regroove →

Need help with your Microsoft environment?

We work with organizations everywhere. Tell us where you are and what you're trying to solve.

Talk to Regroove