Use the NET USE /DELETE command to remove a mapped drive.

By [)ia6l0 iii

Use the Net use command with the /DELETE switch to remove the mapped drive.NET USE [driveletter: or share] /DELETE

The syntax is as follows:

NET USE Z: /DELETE

This would remove the mapped drive (Z:)

Related FAQs

You can run this command from the command prompt
You can use the NET use command to map a drive letter to a shared source. The shared source could be another device on the network, a share or a drive.
Use the NET USE /DELETE command to remove a mapped drive.  (8229 Views)