nerdexam
GIAC

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.

Windows and Malware

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)
  • A
    16% (11)
  • B
    6% (4)
  • C
    73% (49)
  • D
    4% (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.

AIPCONFIG.EXE

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.

BNETSTAT.EXE

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.

CWMIC.EXECorrect

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.

DC0NF1G.EXE

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

#WMIC#Windows administration#WMI#command-line tools

Community Discussion

No community discussion yet for this question.

Full GSEC Practice