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?