Operating Systems

A user's mapped drive S: no longer opens after a password change. The technician wants to remove the stale mapping and map \\FS01\Projects to S: again. Which command removes the existing mapping first?

Show the answer

Correct answerC. net use S: /delete

AWhy not this: It maps a home directory; it does not clear the existing S: mapping.

BWhy not this: It supplies no drive letter or valid delete switch, so nothing is disconnected.

CWhy this is right: The /delete switch disconnects the named drive letter and removes the stale mapping.

DWhy not this: It sets whether new mappings reconnect at logon; it does not remove the current S: mapping.

net use S: /delete disconnects the drive letter and removes the mapping, so a fresh net use S: \\FS01\Projects can be made. /persistent:no only controls whether future mappings survive logoff; it doesn't remove S:.