Disconnecting from c$

Posted on 2007-03-20
Last Modified: 2010-03-18
I usually connect to a networked PC using the following command:  \\<device name>\c$. I then get a login prompt and log in to that PC. This works fine, but I don't know if I'm  "disconnecting" properly  (other than simply closing the window).  I don't think I am, because if I try and reconnect, I don't get the login prompt, but rather the share.

How do I successfully disconnect from a c$ share?


Question by:Mr_Fulano
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
LVL 77

Accepted Solution

Rob Williams earned 250 total points
ID: 18762099
The logon prompt will only appear at first connection. After that the user credentials are cached (saved) and used again. When you log off of your computer all cached credentials (user names and passwords) used to access these file shares will be removed. This is by design as a convenience so that each time you connect to a share during a session you do not have to re-enter the user name and password.

Having said that, the hidden '$' shares are designed for administrative purposes and can be a security risk if used for normal file access, as all files including system files are available to the user.
LVL 96

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 150 total points
ID: 18762231
I seem to recall this working:


But it HAS been a while since I've done it.
LVL 38

Assisted Solution

younghv earned 100 total points
ID: 18764395
leew's memory is working fine.

The 'net use .... /delete' command will do the job - as will 'RobWill's' comment about logging off/re-booting the computer you are on.

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 18769254
Thanks to all that contributed. I appreciate the input. I added some points and split it amongst everyone.

Thanks again,
LVL 38

Expert Comment

ID: 18770137
Thank you for the points, but I was only browsing through this Zone and offering 'back up' to what had already been said.
I am going to ask a Moderator to re-open this and delete my comment.
leew and RobWill had their answers in long before I even saw the question.

Thank you again.

LVL 77

Expert Comment

by:Rob Williams
ID: 18772045
Thanks Mr_Fulano.
Can't speak for leew but I have no problem with above point awarding.
Cheers !

Author Comment

ID: 18777867
Hi Younghv,

Don't worry. I was glad to offer the points and your contribution was appreciated. Keep the points as my thanks for your help...maybe one day you can help me again.

Moderator, please leave the points as they are. Thanks,

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
This article is in response to a question ( here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor ( Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question