Mapping a Network Share with Net Use Command

220-1202 By islever Editorial Last updated

Given a scenario, configure Microsoft Windows networking features on a client/desktop Given a scenario, use Microsoft Windows operating system features and tools

Short answer

B The technician should run net use Z: \WinNAS\shared to map the remote Windows share to the local Z: drive.

Question

A desktop technician is mapping a remote windows share \\WinNAS\shared as a local disk z:. Which of the following commands should the technician run?
  1. nslookup -opt Z: \\WinNAS\shared
  2. net use Z: \\WinNAS\shared Correct Answer
  3. chkdsk /R Z: \\WinNAS\shared
  4. sfc /offwindir Z: \\WinNAS\shared

Key Takeaways

The question tests knowledge of basic Windows networking commands, specifically identifying that 'net use' is the correct tool for mapping UNC paths to drive letters, while other options serve entirely different diagnostic or administrative functions.

Learn how to map a remote Windows network share to a local drive letter using the net use command in Windows command prompt.

Common mistake: Technicians might confuse 'net use' with 'nslookup' if they mistakenly believe the task involves resolving the hostname 'WinNAS' first. However, nslookup only resolves names; it does not establish a persistent drive mapping.

Expert Analysis

The scenario requires mapping a network share to a local drive letter in Microsoft Windows. This is a fundamental networking task handled by the command-line interface.

Network Share Mapping: The net use command is the standard utility for connecting, disconnecting, and listing network resources. Specifically, net use [DriveLetter] [\ServerName\ShareName] maps the remote share to the specified local drive letter. In this case, net use Z: \WinNAS\shared correctly assigns the UNC path \WinNAS\shared to the local drive Z:.

Incorrect Options Analysis:

  • A. nslookup: This tool is used for querying Domain Name System (DNS) servers to resolve hostnames to IP addresses. It has no functionality for mapping drives or managing network shares. Using -opt with a drive letter is syntactically invalid for this purpose.
  • C. chkdsk: This command checks the file system and disk surface for errors. The /R flag locates bad sectors and recovers readable information. It operates on local volumes or specific paths but does not perform network mapping operations. Supplying a UNC path as a second argument to check a drive letter is incorrect usage.
  • D. sfc: The System File Checker (sfc /scannow) verifies protected Windows system files. The /offwindir switch is typically used when running SFC from an offline environment (like WinPE) to specify the location of the offline Windows directory. It is unrelated to network drive mapping.

The core concept here is distinguishing between DNS resolution, disk integrity checking, system file verification, and network resource management. Only net use belongs to the category of network resource mapping.

Exam Strategy

When encountering questions about drive mapping or network connections, immediately look for the 'net' family of commands (net use, net view, netstat). Distinguish these from diagnostic tools like nslookup (DNS), ping (connectivity), or chkdsk/sfc (disk/file integrity). Memorize the syntax: 'net use [LocalDrive:] [\RemoteServer\Share]'.

Frequently Asked Questions

What is the difference between net use and net view?

'Net view' lists shared resources on a remote computer without mapping them locally. 'Net use' actively connects a local drive letter to a remote share, making it accessible via File Explorer.

Can I map a network drive using PowerShell instead of CMD?

Yes, you can use the New-SmbGlobalMapping cmdlet in PowerShell. However, the CompTIA A+ exam often focuses on traditional CMD commands like 'net use' for basic troubleshooting scenarios.

More 220-1202 FAQ →

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 1 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 1

  1. cde24c9 👍 1 Answered B
    net use command is used for mapping

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All 220-1202 Questions

Access 105 questions with complete answers and detailed explanations.

View Full 220-1202 Practice Test →

← Back to 220-1202 Study Guide