CNSP practice question 6 of 15

On a Microsoft Windows Operating System, what does the following command do? net localgroup administrators

Full set: 60 questions

Domain Network Security Fundamentals

Answer options
A: List domain admin users for the current domain
B: Displays the local administrators group on the computer Correct answer
Correct Answer:
B. Displays the local administrators group on the computer
Explanation

The Net utility’s localgroup switch operates only on the local Security Accounts Manager (SAM) database. When it is followed by a group name and no additional parameters—e.g., net localgroup administrators—it simply queries that local group and returns its descriptive comment and the list of accounts that are members of that group on the current computer. It neither contacts a domain controller nor enumerates domain-wide administrative groups.

Why Incorrect

A. Lists only members of the local Administrators group; it does not query Active Directory, so it cannot list domain-level “Domain Admins” or any other domain group.

References

1. Microsoft

“Net localgroup

” Windows Commands Reference

Windows Server 2022

Section: Syntax & Remarks

Example 1 ( net localgroup GroupName )

https://learn.microsoft.com/windows-server/administration/windows-commands/net-localgroup

2. Microsoft Press

“Windows Command-Line Administrator’s Pocket Consultant

3rd ed.

” p. 312-313

NET LOCALGROUP usage—“Displays local group information when only GroupName is supplied.”

Scroll to Top