CompTIA
220-1202 · Question #163
A Windows user is having trouble accessing a fileshare. The technician would like to confirm the username that the machine is currently logged in to. Which of the following should the technician use?
The correct answer is C. whoami. The whoami command displays the username of the currently logged-in user in Windows.
Submitted by fatema_kw· Mar 30, 2026Operating Systems
Question
A Windows user is having trouble accessing a fileshare. The technician would like to confirm the username that the machine is currently logged in to. Which of the following should the technician use?
Options
- Anet user
- Btracert
- Cwhoami
- Dhostname
How the community answered
(34 responses)- B6% (2)
- C91% (31)
- D3% (1)
Explanation
The whoami command displays the username of the currently logged-in user in Windows.
Topics
#whoami command#user authentication#CLI commands#Windows networking
Community Discussion
No community discussion yet for this question.