Re: How can I force a re-login to another win2k system's share

From: Dave (ds_at_ondacorp.com)
Date: 08/11/03


Date: Mon, 11 Aug 2003 13:36:22 -0700


Herb,
Thanks! I've not explored all of this approach, but the
parameters for 'net use' do show and control the
authentication 'memory' of the 'client' system.

I did the simple experiment:
- start with no client access to server share
- 'login' to server share via explorer access to the share
- c:\>net use ... to get list of connections; 1 listed
- close explorer so no access is kept alive
- c:\>net use /delete \\server-name ... to kill connect
- c:\>net use ... to verify
- re-start explorer to locate the system
- share access again requires a fresh 'login'
- there is no memory of the last share 'login'

I can now semi-automate this with a script but it would
have been nice for MS to have added a menu option
'connection clear' for the user ease.

Thanks for the help !

>-----Original Message-----
>Ah, you aren't trying to "kick a user" you are trying
>to disconnect yourself from one authentication and
>use another.
>
>Ok, two choices if this is your issue.
>
>Presumably you authenticated the first time explicitly and
>will do so again (either at the command line or in Explorer
>but the following will show the command line...)
>
>If you map (net use) the D: drive on Other
>net use G: \\Other\DDrive * /user:Other\youUser
>
>Then later want the C: drive without disconnecting then do
>this -- first get the IPAddress of "Other" (e.g.,
192.168.2.1),
>then use that in net use to map the drive:
>
>net use H: \\192.168.2.1\CDrive * /user:Other\notYouAdmin
>
>If you want to reuse the mapped drive letter OR you don't
>want to use the IP address then first disconnect YOURSELF:
>
>net use G: /d
>net use G: \\Other\CDrive * /user:Other\notYouAdmin
>
>I have no idea why the "IP address" trick works, but it
does --
>years I have not understood the whole set of weird rules for
>this behavior but I can make it work.
>
>Note: The second trick requires you /D deleting the map for
>EVERY connection to that server, IF you have more than
>one. This includes any "automatic" ones based on the UNC
>name (like from your applications using \\Other\CDrive)
>
>
>.
>



Relevant Pages

  • Re: Using UNC path through Start->Run causes continuous authentication
    ... windows reset to their start position when trying to be dragged. ... basically seems like explorer is getting in some sort of loop. ... authentication error (as expected, as the local account does not exist ... credentials, I supply them and all is well, if I then put the same UNC ...
    (microsoft.public.windowsxp.general)
  • Using UNC path through Start->Run causes continuous authentication
    ... Hi all - I have a very odd problem on a Windwos XP SP2 computer. ... basically seems like explorer is getting in some sort of loop. ... authentication error (as expected, as the local account does not exist ... credentials, I supply them and all is well, if I then put the same UNC ...
    (microsoft.public.windowsxp.general)
  • Re: Prompted to login again when switching to explorer view or opening office doc
    ... pass through authentication so when I hit the server I am automatically ... If I switch to explorer view I am prompted to login again. ... in the behavior of trusted sites in IE7 that may or may not be ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Proxy Web Authentication
    ... I had tested this configuration, but my explorer ask me time and time again, ... As if the explorer not is capable to pass the credentials to ... There will be a list of authentication methods which you can ... session of web protocol, he is authenticated. ...
    (microsoft.public.isaserver)
  • Re: Access / Security
    ... but I do using explorer. ... >> would be required if you need to access a share on a separate server. ... >> order to daisy chain authentication, you need to have a kerberos ticket ... >> like C$ only allow admins to access them by default. ...
    (microsoft.public.inetserver.asp.general)