GSEC · Question #70
What is the command-line tool for Windows XP and later that allows administrators the ability to get or set configuration data for a very wide variety of computer and user account settings?
The correct answer is C. WMIC.EXE. WMIC.EXE is the Windows Management Instrumentation Command-line tool that gives administrators broad ability to query and configure computer and user account settings on Windows XP and later.
Question
What is the command-line tool for Windows XP and later that allows administrators the ability to get or set configuration data for a very wide variety of computer and user account settings?
Options
- AIPCONFIG.EXE
- BNETSTAT.EXE
- CWMIC.EXE
- DC0NF1G.EXE
How the community answered
(67 responses)- A16% (11)
- B6% (4)
- C73% (49)
- D4% (3)
Why each option
WMIC.EXE is the Windows Management Instrumentation Command-line tool that gives administrators broad ability to query and configure computer and user account settings on Windows XP and later.
IPCONFIG.EXE is scoped exclusively to displaying and managing TCP/IP network configuration such as IP addresses, subnet masks, and DNS servers - it cannot configure general computer or user account settings.
NETSTAT.EXE displays active TCP/UDP connections, listening ports, and routing tables, providing network statistics only and offering no ability to get or set computer or user configuration data.
WMIC.EXE provides a command-line interface to the Windows Management Instrumentation (WMI) framework, which exposes a unified model for managing virtually any aspect of Windows systems including hardware inventory, processes, services, user accounts, and OS configuration. It supports both read ('get') and write ('set') operations across hundreds of WMI classes, making it the correct tool matching the description.
C0NF1G.EXE is not a real Windows executable - the name uses the digit '0' in place of 'O' and '1' in place of 'I', making it a fabricated distractor with no corresponding system tool.
Concept tested: Windows Management Instrumentation Command-line administration tool
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/wmic
Topics
Community Discussion
No community discussion yet for this question.