CompTIA A+ Core 2 (220-1202)Operating SystemsEasy
A technician is setting up a new Windows 11 workstation. The user frequently needs to access a specific network share located at \\fileserver\department_data. Which command-line tool would be most efficient to persistently map this network share as the 'Z:' drive for the user?
- Anet share
- Bmap drive
- Cmountvol
- Dnet use
Show answer & explanationAnswer & explanation
Correct answer: D. net use
The 'net use' command is specifically designed for connecting to and managing network resources, including mapping network drives. It allows for persistent connections, meaning the drive will be reconnected automatically after a reboot.
Why the other options are wrong
- A. 'net share' is used to create and manage shared resources on the local computer, not to connect to remote shares.
- B. 'map drive' is not a standard Windows command-line utility for this purpose; it's often a graphical interface term.
- C. 'mountvol' is used to manage volume mount points, typically for local disks, not network shares.
net use command
A command-line utility in Windows used to connect to, disconnect from, and view network resources like shared folders and printers.
- Can map network shares as drive letters.
- Supports persistent connections ('/persistent:yes').
- Requires administrative privileges for some operations.
Memory trick: Net USE to CONNECT and manage network shares.