I have a machine running Windows 7 which I set up a long time ago to autmatically log into Windows.
That's still working fine, but how can I work out the username of the currently logged-in user when I'm sat at the desktop?
I have a machine running Windows 7 which I set up a long time ago to autmatically log into Windows.
That's still working fine, but how can I work out the username of the currently logged-in user when I'm sat at the desktop?
From a cmd window run:
echo %USERNAME%
cmd and click OKwhoami then press EnterThis will return the fully qualified user name.
Run (WinKey+R) > cmd /c "echo %username% & pause"
Fastest, easiest way to do it.
EDIT:
Changed run command. Was ECHO %USERNAME%| PAUSE. Did not work due to echo being an internal command of cmd.exe.
Click the Start button. Your username is on the right hand section of the start menu, under the picture at the top.