Re: How can I force a re-login to another win2k system's share
From: Dave (ds_at_ondacorp.com)
Date: 08/11/03
- Next message: rainie klein: "rpc errors"
- Previous message: Doug Smith: "Success Audits in Event Viewer"
- In reply to: Herb Martin: "Re: How can I force a re-login to another win2k system's share"
- Next in thread: Herb Martin: "Re: How can I force a re-login to another win2k system's share"
- Reply: Herb Martin: "Re: How can I force a re-login to another win2k system's share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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)
>
>
>.
>
- Next message: rainie klein: "rpc errors"
- Previous message: Doug Smith: "Success Audits in Event Viewer"
- In reply to: Herb Martin: "Re: How can I force a re-login to another win2k system's share"
- Next in thread: Herb Martin: "Re: How can I force a re-login to another win2k system's share"
- Reply: Herb Martin: "Re: How can I force a re-login to another win2k system's share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|