How To Disconnect Non-Mapped UNC Path “Drives” in Windows
- by The Geek
Have you ever browsed over to another PC on your network using “network neighborhood”, and then connected to one of the file shares? Without a drive letter, how do you disconnect yourself once you’ve done so?
Really confused as to what I’m talking about? Let’s walk through the process. First, imagine that you browse through and connect to a share, entering your username and password to gain access.
  
The problem is that you stay connected, and there’s no visible way to disconnect yourself. If you try and shut down the other PC, you’ll receive a message that users are still connected. So let’s disconnect!
Open up a command prompt, and then type in the following:
net use
 
This will give you a list of the connected drives, including the ones that aren’t actually mapped to a drive letter. To disconnect one of the connections, you can use the following command:
net use /delete \\server\sharename
For example, in this instance we’d disconnect like so:
net use /delete \\192.168.1.205\root$
 
Now when you run the “net use” command again, you’ll see that you’ve been properly disconnected.
 
If you wanted to actually connect to a share without mapping a drive letter, you can do the following:
net use /user:Username \\server\sharename Password
You could then just pop \\server\sharename into a Windows Explorer window and browse the files that way. Note that this technique should work exactly the same in any version of windows.
		
			
				Similar Articles
				Productive Geek Tips				
			
			
				Remove "Map Network Drive" Menu Item from Windows Vista or XPDisable the Annoying "This page has an unspecified potential security risk" When Using Files on a Network ShareCopy Path of a File to the Clipboard in Windows 7 or VistaMap a Network Drive from XP to Windows 7Defrag Multiple Hard Drives At Once In Windows
							TouchFreeze Alternative in AutoHotkey
					The Icy Undertow Desktop
					Windows Home Server – Backup to LAN
					The Clear & Clean Desktop
					Use This Bookmarklet to Easily Get Albums
					Use AutoHotkey to Assign a Hotkey to a Specific Window
		
			
			
				Latest Software Reviews
				Tinyhacker Random Tips
			
			
							DVDFab 6
					Revo Uninstaller Pro
					Registry Mechanic 9 for Windows
					PC Tools Internet Security Suite 2010
		
							Enable DreamScene in Windows 7
					Microsoft’s “How Do I ?” Videos
					Home Networks – How do they look like & the problems they cause
					Check Your IMAP Mail Offline In Thunderbird
					Follow Finder Finds You Twitter Users To Follow
					Combine MP3 Files Easily