Windows

How to Disconnect a Network Drive with CMD in Windows 10 – Step by Step

Having computers on a network is extremely useful for sharing files. Even to play on a local network, it is extremely convenient and practical. However, on some occasions you may want to disconnect a unit from your local network. How can you do it?

A little further down you will see a detailed tutorial where we are going to teach you step by step how to erase or delete a network drive with cmd and also from the Windows 10 file explorer.

In this way you will have two very simple methods to be able to disconnect said unit. It is something quite easy to do. Of course, I recommend that if you do not have much experience on this topic, you follow the steps very carefully and paying close attention.

The first method that we will see will be through the command prompt. From “cmd ” you can perform a large number of tasks in Windows, with a small script you can disconnect any computer that is on the local network in a matter of seconds.

With the cmd commands you can program and perform multiple tasks on your computer such as opening a web page with cmd.

wallpaper light blue windows

How to delete a network drive with command prompt in Windows 10

  • The first thing we are going to have to do is open the command prompt. For this we are going to press the “Windows + R ” keys and in the new window we are going to write “cmd “.
  • The first command that we are going to write is the following: “ net use ” (without the quotes) and we will be able to see the list of all available units.
  • Now we have to be clear about the letter assigned to the network drive. Once we are clear about what letter it has, we enter the following command: net use D: / delete. It is understood that where the letter “D ” is, the letter of the network drive should go.
  • In this way, said unit will be completely disconnected from your system.

main menu windows

How to delete a network drive from Windows Explorer

In case you want to make it a little easier you can do it from the file explorer. Once you have it open you will simply have to go to “Network Locations ” or “Network ” and then right click on the unit you want to disconnect.

In the context menu you will see that one of the options clearly says “Disconnect ” by clicking here we can disconnect the unit that we do not want to be on our network.

As you can see, it is considerably easy to learn in a few steps how to Disconnect a Network Drive with cmd in Windows 10. In no time, you will know how to erase a drive from the local network.

Remember that we also have tutorials for you to learn how to share files between user accounts in a simple way . Likewise, if you have questions about this article, you can leave them a little lower in the comment box and we will be happy to help you.

We upload tutorials every day related to Windows 10 which can be very useful. One of the most recommended is how to test programs that are not safe without installing them on your computer. Something that never hurts to know since on the internet we are completely exposed to the dangers of malicious programs.

And speaking of viruses, if you have any kind of security problem on your computer, we recommend that you learn how to know if my computer has a virus or malware step by step in this detailed tutorial.

Leave a Reply

Your email address will not be published.

Back to top button