nerdexam
CompTIA

N10-005 · Question #595

A technician discovers that a malware infection has damaged part of the Windows TCP/IP stack. Which of the following commands can help repair the damage?

The correct answer is D. netsh winsock. The 'netsh winsock reset' command repairs the Windows Sockets (Winsock) catalog, which is the component of the TCP/IP stack most commonly corrupted by malware.

Network troubleshooting

Question

A technician discovers that a malware infection has damaged part of the Windows TCP/IP stack. Which of the following commands can help repair the damage?

Options

  • Anetsh lan
  • Bnetsh interface
  • Cnetsh wlan
  • Dnetsh winsock

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    3% (1)
  • D
    88% (28)

Why each option

The 'netsh winsock reset' command repairs the Windows Sockets (Winsock) catalog, which is the component of the TCP/IP stack most commonly corrupted by malware.

Anetsh lan

'netsh lan' manages wired LAN profile settings and does not repair the underlying TCP/IP stack or Winsock catalog.

Bnetsh interface

'netsh interface' is used to configure IP addresses and interface settings but cannot reset or repair the Winsock catalog.

Cnetsh wlan

'netsh wlan' manages wireless LAN profiles and adapter settings and has no function related to repairing the TCP/IP stack.

Dnetsh winsockCorrect

Winsock (Windows Sockets API) is the interface that applications use to access TCP/IP network services. Malware frequently corrupts the Winsock LSP (Layered Service Provider) entries to intercept or redirect network traffic. Running 'netsh winsock reset' restores the Winsock catalog to its default clean state, repairing corruption that can cause loss of network connectivity or unexpected traffic redirection.

Concept tested: netsh winsock reset TCP/IP stack repair

Source: https://learn.microsoft.com/en-us/windows-server/networking/technologies/netsh/netsh-contexts

Topics

#netsh winsock#TCP/IP stack repair#Windows CLI#malware recovery

Community Discussion

No community discussion yet for this question.

Full N10-005 Practice