How to enter credentials into a mapped drive?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: How to enter credentials into a mapped drive?

Post by acheton »

admin wrote:All on the same domain.

This is very hard to investigate. I'm currently into totally different things. So this will have to wait, sorry.
Np. I hope your into breadcrumbs :)

I suspect as they are on the same domain that is why you are not prompted because your credentials are passed across to the VM.

Feelgood
Posts: 45
Joined: 06 Dec 2013 16:50

Re: How to enter credentials into a mapped drive?

Post by Feelgood »

Hi,

I use no VM but a physical computer, no vpn either as i'm in front of the computer :) and have the same problem on every computer installed with seven 64bits so i guess we are able to reproduce easily as it seems the problems appears systematically. Problems being :
* windows does not mount automatically the drives, i have to ask for accessing them and fullfill credentials
* xyplorer does not try to mount the drive so i have to go through the explorer first and then go back to xyplorer

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: How to enter credentials into a mapped drive?

Post by binocular222 »

@Feelgood: To make windows auto map network drives every start-up, you can either:
- Run windows' cmd command:
net use G: ""C:\some\folder"" /P:Yes"
- Run XY script:
Run "cmd /c net use G: ""\\VNHANFSR01\KPMG-CD1"" /P:Yes";

XY neither remember nor promt for credential on Win7.

@Don: You can repo by:
Connect 2 computers over a LAN
Setup an user account with password on Computer1
Share a folder on Computer1
From Computer2: goto \\Computer1\sharedfolder
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 66358
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to enter credentials into a mapped drive?

Post by admin »

It's on my list.

Feelgood
Posts: 45
Joined: 06 Dec 2013 16:50

Re: How to enter credentials into a mapped drive?

Post by Feelgood »

Thanks for your informations.
Good to know it's on going investigations

Feelgood
Posts: 45
Joined: 06 Dec 2013 16:50

Re: How to enter credentials into a mapped drive?

Post by Feelgood »

binocular222 wrote:@Feelgood: To make windows auto map network drives every start-up, you can either:
- Run windows' cmd command:
net use G: ""C:\some\folder"" /P:Yes"
- Run XY script:
Run "cmd /c net use G: ""\\VNHANFSR01\KPMG-CD1"" /P:Yes";
Yep, i tried with cmd : net use x:""\\192.168.2.20\Assets"" /P/Yes" and net use x:"\\192.168.2.20\Assets" /P/Yes". Apparently syntax is not recognized.

About XY script, how do i fullfill this rule please ?
I tried Menu scripting\Try script..., fullfilled with "cmd /c net use x:""\\192.168.2.20\Assets"" /P/Ye" andi got "Overflow 0 \ 0"

highend
Posts: 14954
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to enter credentials into a mapped drive?

Post by highend »

Because it's not a valid script command...
One of my scripts helped you out? Please donate via Paypal

PeterH
Posts: 2828
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: How to enter credentials into a mapped drive?

Post by PeterH »

Seems you missed the script command run :?:

Everything else are just operands for this command...

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: How to enter credentials into a mapped drive?

Post by binocular222 »

- Run windows' cmd command:
net use G: "C:\some\folder" "/P:Yes"
- Paste this in addressbar and press enter:
::Run "cmd /c net use G: ""\\VNHANFSR01\KPMG-CD1"" /P:Yes";
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Feelgood
Posts: 45
Joined: 06 Dec 2013 16:50

Re: How to enter credentials into a mapped drive?

Post by Feelgood »

I tried with success : net use z: "\\192.168.2.20\News" "/P:Yes".
Success because the windows explorer does not ask for credentials anymore.

But still problems with xyplorer and for a reason, even more than before and whatever i enter credentials or type the net use command : xyplorer does not access network drives, result being always "Location currently not available".
So windows explorer access volumes without problems but xyplorer never can access them

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: How to enter credentials into a mapped drive?

Post by binocular222 »

admin wrote:It's on my list.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Feelgood
Posts: 45
Joined: 06 Dec 2013 16:50

Re: How to enter credentials into a mapped drive?

Post by Feelgood »

Yep, just tested the new 13.60 release, the occasion to wish an happy new year !
I clicked on a network drive not yet mounted with the default windows explorer and xy display "Location currently not available".

Then i mounted it with the default windows explorer and tried again with xy but it still display "Location currently not available".

I suggest to make available an xy debug release for beta testers like us so that we could upload here useful reports to help identify the different problems to be resolved

admin
Site Admin
Posts: 66358
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to enter credentials into a mapped drive?

Post by admin »

I will look at this again once I have win8.1 running.

Feelgood
Posts: 45
Joined: 06 Dec 2013 16:50

Re: How to enter credentials into a mapped drive?

Post by Feelgood »

Thanks you

Feelgood
Posts: 45
Joined: 06 Dec 2013 16:50

Re: How to enter credentials into a mapped drive?

Post by Feelgood »

Really, it would be just fine if xy could just remap the drive at each startup by giving the credentials.
It works manually with tools\tools special\map network drive, so by doing it automatically, it should works whatever the windows release

Post Reply