See Microsoft Technet for all options of net use. Net use \\thepath\toyournetworkfolder /delete To stop / disconnect a network drive correctly, use this command Type net use > networkdrives.txt in the command line, then a file named networkdrives.txt will be saved to C disk (go and open it).ĭisconnecting a drive via command line is performed by net use. It is better for deleting if you output the results in a text file where you can copy the paths later. Type net use and hit enter – this will display the network drives. Display the list of current network drives attached To navigate to C:\ disk Type cd c:\ in the cmd command lineģ. Move to C disk or other location rather than staying in Windows\System32 in command line. Type cmd in your search box and right click the icon, then select “Run as administrator”Ģ. How to list and unmap network drives via command line?ġ. This leads you into needing to unmap the drives via command line. You can run into issues (especially Windows 10 users) that your network drives do not appear under your Computer window, but when you try to connect, you will get a message that they are already connected, maybe even with a different username that you tried. When you have to disconnect your network drives you first need to know which ones of them are connected.
0 Comments
Leave a Reply. |