GCIH · Question #828
An incident handler runs the following command on a Windows system. What information will be displayed? net localgroup administrators
The correct answer is B. Accounts with local administrative privileges. net localgroup administrators lists all accounts that are members of the local Administrators group on a Windows system, regardless of login state.
Question
An incident handler runs the following command on a Windows system. What information will be displayed? net localgroup administrators
Options
- AAdministrators with remote connections to the system
- BAccounts with local administrative privileges
- CLocal admin account tied to running processes
- DLocal and domain admins that are currently logged onto the system
How the community answered
(66 responses)- A2% (1)
- B88% (58)
- C8% (5)
- D3% (2)
Why each option
net localgroup administrators lists all accounts that are members of the local Administrators group on a Windows system, regardless of login state.
net localgroup administrators reports group membership, not active remote connections; 'net session' is the appropriate command to view remote connections.
The 'net localgroup administrators' command queries the local Security Accounts Manager (SAM) database and returns every user and group account that is a member of the built-in local Administrators group. This includes both local accounts and domain accounts that have been added to the local group, and it shows membership independent of whether those accounts are currently active or connected.
net localgroup administrators shows group membership, not which processes are running under administrative accounts; tools like 'tasklist /v' provide that process-level detail.
net localgroup administrators lists all group members regardless of login state; 'query user' or 'net session' would show only currently logged-on users.
Concept tested: Windows local group membership enumeration
Source: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc725622(v=ws.11)
Topics
Community Discussion
No community discussion yet for this question.