October 16, 2015

How To Disconnect Non-Mapped UNC Path “Drives” in Windows

How To Disconnect Non-Mapped UNC Path “Drives” in Windows

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.
image
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
or delete all:

net use * /del /y 
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.
image
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 wi

or:

Open cmd
type:  cmdkey /list
Type:  cmdkey /delete:ip

Source : http://www.howtogeek.com/howto/16196/how-to-disconnect-non-mapped-unc-path-drives-in-windows/

Related Posts:

  • Configure your DOS Window Make your DOS windows large and do cut and paste easier. Here we review DOS window settings that will help you to work faster. Customizing DOS Window Settings starts by right clicking the Start Menu Type in&nb… Read More
  • Hướng dẫn kiểm tra ứng dụng sử dụng cổng 80 trên Windows Đôi lúc bạn muốn start ứng dụng sử dụng Apache, Jetty hoặc mở ứng dụng port 80 nhưng không thể start được vì 1 lý do đơn giản là cổng 80 đang được sử dụng bởi các ứng dụng khác. Bài viết này tôi sẽ hướng dẫn các bạn kiể… Read More
  • Các cách kiểm tra các Process đang chạy trong windowsKhi bật Task Manager lên, các bạn thấy có rất nhiều process nhưng phân biệt được process nào là của chương trình nào!Mình xin hướng dẫn các bạn một phương pháp đơn giản để kiểm tra:- Mở CMD- gõ vào: WMIC /OUTPUT:C:\Proce… Read More
  • Thiết lập DNS Google trong Windows bằng command line Vì 1 lý do gì đó mà trong windows của bạn không thể thiết lập IP, DHCP, DNS trên giao diện, như hình dưới đây: Thay vì tương tác trên giao diện bạn có thể cấu hình thiết lập DNS Google bằng chương trình dòng lệnh CMD … Read More
  • Cách bỏ nền xanh cho Icon ở Desktop Windows XP Do có nhìu bạn thắc mắc hỏi, ko biết tại sao, các icon ở Desktop (ngoài màn hình máy tính) cứ bị có nền màu xanh, nhìn rất xấu. Muốn bỏ đi mà không biết làm sao để bỏ được Để khắc phục cái lỗi này, các bạn làm theo hướng … Read More

0 comments:

Post a Comment