How to retrieve a username in Windows

Quick and easy way to get the username of the user that is currently logged in on a Windows machine

Prerequisites: N/A

Difficulty Level: Member • Nerd • Platypus

Estimated Time: 1 minute

Expected Outcome: You will be able to see the username of the current user

Tools Required: A Windows PC

Screen Shot 2020-03-27 at 5.00.45 PM-1

Steps to Perform 

  1. From the desktop press Windows key + R on the keyboard to bring up the run dialog
  2. In the dialog type cmd and press Enter to open the command prompt
  3. From the command prompt type whoami and press Enter
    The username is the text after the slash