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

From: Herb Martin (news_at_LearnQuick.com)
Date: 08/11/03


Date: Mon, 11 Aug 2003 12:47:06 -0500


> In my specific case, there is no 'user' for system-1 .. it
> is a stand-alone "server" (common file sharing) with a lot
> of file which other users access. If I "login" to a share
> on the 'server' using a read-only account name and then
> later want to "login" via a R/W account name (different
> account, different priveledges, same share -- all perfectly
> legal with Win2k) my system remembers my first login (since
> boot) to that share. I'm looking for how to reset that
> access so I can re-login to that share under a new name.
> I'd write a tiny util and distribute it if I knew where the
> data was stored. MS should have provided a menu option (at
> least I cannot fine one).

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: Sorry its not a window 2003 server .. its NT 4.0 sever!!!
    ... Of course, if you cannot map to the same UNC path, you are in a different ... "network condition", and perhaps tou cannot resolve the name. ... the server name maybe reslved from a DNS, try using the FQDN, for example ... For mapping a network share from the command line you have to use the "net ...
    (microsoft.public.windows.server.scripting)
  • Re: Disconnected Network Drives
    ... From a command prompt on the server side ... net config server /autodisconnect:-1 ... for no disconnect. ... Setting this from the command line may turn off auto tuning for the server ...
    (microsoft.public.win2000.general)
  • REGEX (Not allowing file extenstions) or the dot
    ... REGULAR EXPRESSION REQUEST EXPLINATION ... I am running a quake2 server with a program that has the capabilities to disable commands or any ... anyone who connects to my game server and tries to issue a command that is on the "command BAN list" will not ... direcotry, EX., abcd.bsp, and anyone tries to change to this map it crashes the server. ...
    (comp.lang.perl.misc)
  • RE: Cant Access Serverfiles and folder ..Help plz
    ... How are you doing the map command?? ... you are using the FQDN of the server & share. ... Connection from a remote pc is fine. ...
    (microsoft.public.windows.server.dns)
  • Re: Disconnect Net User from Server
    ... the minutes the server pc will disconnect the connection when the guest pc is ... MS know that people will may continue to use this command to avoid using MS ... > Re. the 2nd part of your question - Closing the shared folder will not ...
    (microsoft.public.windowsxp.network_web)