GCIH · Question #367
Which of the following commands would set up an administrative session with a remote system and mount 'one' on your system?
The correct answer is B. net use \\10.0.0.1\one adminpassword /u:adminuser. The Windows 'net use' command is the correct tool for mapping a remote network share while authenticating with explicit credentials in a single command.
Question
Which of the following commands would set up an administrative session with a remote system and mount 'one' on your system?
Options
- Amount \10.0.0.1\one adminpassword /u:adminuser
- Bnet use \10.0.0.1\one adminpassword /u:adminuser
- Cnet mount \10.0.0.1\one /p:adminpassword /u:adminuser
- Dnet use \10.0.0.1\one adminpassword adminuser
How the community answered
(25 responses)- A4% (1)
- B92% (23)
- C4% (1)
Why each option
The Windows 'net use' command is the correct tool for mapping a remote network share while authenticating with explicit credentials in a single command.
'mount' is a Unix/Linux command and is not a valid Windows command for connecting to network shares.
The 'net use' command is the built-in Windows command-line utility for connecting to shared network resources. The correct syntax places the share path first, then the password, then '/u:username', which both mounts the share and establishes an authenticated administrative session with the remote system simultaneously.
'net mount' is not a valid Windows command; the correct command name is 'net use'.
This syntax is invalid because the username must be preceded by the '/u:' switch; omitting the switch causes the command to fail.
Concept tested: Windows net use command syntax for remote share access
Source: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/gg651155(v=ws.11)
Topics
Community Discussion
No community discussion yet for this question.