Delete Network Drive Using Command Prompt (net use delete all)

By | March 23, 2022

Using the net use command, it may be possible to delete the specified mapped drive command line. For example, we can run the following command to disconnect the share shown below that has been mapped towards the drive z.

Net use delete all –

Delete Network Drive Using Command Prompt (net use delete all)

net use /del Z:

The command below can be used to get rid of all the mapped drives.

net use /del *

You may also like: Change Directory in CMD Windows 10

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.