Page 1 of 1

Shift + F7 option to change drive is not what I expected

Posted: 17 May 2006, 11:23
by Gunther
Hi,

When I do a mapping to a drive via the Shift+F7 option my system tells me to give a user and password to log on to that drive, so far this is normal, because my local user can not log on to my server. By providing the server account and according password I can log on.

Now when I want to remap the drive again on the same directory with a different user and password I don't get the pop-up anymore that I need to authenticate because the user I provided earlier is the one salamander uses to connect again.

Question : How can I prevent this from happening and making sure that every time I map a drive via the Shift+F7 option I will be asked what user and password I want to map it with ?

Tnx in advance

Re: Shift + F7 option to change drive is not what I expected

Posted: 17 May 2006, 11:46
by KNUT
Gunther wrote:[...]Question : How can I prevent this from happening and making sure that every time I map a drive via the Shift+F7 option I will be asked what user and password I want to map it with ?
FIRST: Shift+F7 is not "drive mapping". This is the "change directory" function which does not map a drive. It opens a directory (on any server, indeed)

SECOND: To re-logon to any server: 1. "Disconnect" (F12 or in the "Commands"-menu or the toolbar) and 2. reopen the desired server / path.

Reply

Posted: 17 May 2006, 11:58
by Gunther
Knut,

Ok I get it that I'm not mapping a drive but opening a directory, huge difference indeed.

Still my question remains when I open a directory and it asks a user and pass, the next time I open it it will remember that user. Is there no way to open the directory using a different user and pass ?

Tnx

Re: Reply

Posted: 17 May 2006, 12:31
by KNUT
Gunther wrote:Still my question remains when I open a directory and it asks a user and pass, the next time I open it it will remember that user. Is there no way to open the directory using a different user and pass ?
As mentioned above you've to:
  1. "Disconnect" (F12 or in the "Commands"-menu or the toolbar)
  2. Reopen the desired server / path
That's it! :)

Posted: 18 May 2006, 09:27
by AbteriX
I agree with KNUT,
this belongs to Windows'TM (or TCP/IP stack?)
You can't connect to a share/remotePC with two diff logins at the same time.
You have to logoff the first user first.

A work around is to start WinExplorer (or maybe Sala) as other user:
RUNAS /user:Domain\SecondUser C:\Sala\salamand.exe
Now THIS user can connect to the same share with an second user account
at the same time.

I would have an .LNK to Sala.exe in my Windows QuickLaunch
and would have checked the "run as an other user" checkbox.
Image

Info about RUNAS:
http://www.microsoft.com/technet/prodte ... logon.mspx

Posted: 20 May 2006, 13:29
by SelfMan
Other posibility is to use NET command.

Code: Select all

NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]
        [/USER:[username@dotted domain name]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]
Here you can specify the username...
Remember, we are talking about a mapped drive... not UNC path

Posted: 22 May 2006, 15:15
by SvA
SelfMan wrote:Remember, we are talking about a mapped drive... not UNC path
It does not matter whether you map a drive letter or just connect to the share using a UNC path. Regardless of what you choose, you'll have to disconnect from the share in order to connect to it using different credentials.