Disconnect

  • Thread starter Thread starter HSK
  • Start date Start date
H

HSK

Hi

Can I get help with the following scenario:

I open a session to another server with \\servername\c$ for example and
logon as administrator.
After use I want to disconnect that session, so if I type
\\servername\c$ again I will get prompted for the password again.

rgds Henrik
 
I suppose mapping a drive would be the best option. You can either do
this from the Tools menu in Windows Explorer, or using the net use
command. You can enter the administrator password and make it remember
the password for future use.

However, remember that if you change the administrator password, the
mapped drive would prompt for the new password.

HTH
 
Coalbiter said:
I suppose mapping a drive would be the best option. You can either do
this from the Tools menu in Windows Explorer, or using the net use
command. You can enter the administrator password and make it remember
the password for future use.

However, remember that if you change the administrator password, the
mapped drive would prompt for the new password.

HTH

Ok, I knew that - I guess I explained myself wrong then.

- I am logged on at SERVER_A

- I open a share on SERBER_B with Start->Run.. \\SERVER_B\C$ and types
in the Administrator password on SERVER_B to get access to it.

- After doing whatever I'm doing with SERVER_B I close the Explorer
window to it. When I do a Start->Run \\SERVER_B\C$ again it opens up
immediately because I am already authenticated.

- I want to be able to delete this authentication, so if I later on do a
Start->Run \\SERVER_B\C$ it must prompt me again for authentication.


Hope this was explained better :-)

/Henrik
 
Oh I see, sorry.

The password I think is stored in Control Panel --> Stored Usernames
and Passwords.

I think to force it to prompt you every time you might have to run net
use /delete so that it forgets you have made the connection before.

I assume that the shares you have connected to are remembered in the
HKCU portion of the registry.

Sorry I can't be more definite.
 
Oh I see, sorry.

The password I think is stored in Control Panel --> Stored Usernames
and Passwords.

I think to force it to prompt you every time you might have to run net
use /delete so that it forgets you have made the connection before.

I assume that the shares you have connected to are remembered in the
HKCU portion of the registry.

Sorry I can't be more help.
 
Back
Top