Reconnection of Mapped Network Drives

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Reconnection of Mapped Network Drives

Post by petersboulton »

Why doesn't XYplorer automatically reconnect to mapped network drives? I'm running Vista Business. I map F: to a shared folder on my computer (I have a valid reason for this!).

I specify the 'Reconnect at logon' option when setting the drive mapping. When Xyplorer starts next time after I've rebooted the list view says 'Drive not available'. But in FreeCommander, Windows Explorer, QDir and the File Open dialog box of any application the F: drive is clearly visible and accessible.

The Xyplorer 'Reconnect All Mapped Network Drives' appears to reconnect.

Is that the intended behaviour? If it is, wouldn't it be better to automatically reconnect if the mapped drive is available? What's the rationale for NOT automatically reconnecting?

Pete

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

Re: Reconnection of Mapped Network Drives

Post by admin »

petersboulton wrote:The Xyplorer 'Reconnect All Mapped Network Drives' appears to reconnect.
You mean it works as expected, and should automatically be run at app startup?

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Reconnection of Mapped Network Drives

Post by petersboulton »

Yes, I guess so. :oops: How can I get it to run automatically at app startup?

(Also, under Remote Desktop / Windows Terminal Services I notice the remote drives are not available in XYplorer (as far as I can see), whereas they are in Windows Explorer. Is it possible to show the remote drives? I mean, in the Remote Desktop, when controlling another computer, the host drives of the computer doing the controlling are normally visible (if the feature is enabled in the connection properties.)

Thanks!

(By the way, can I say that I've just purchased XYplorer and it's brilliant. I've been through between 5 to 10 file managers over the last several years. I think I'm very demanding of them - hence the churn - but I've been using the freeware Xyplorer version for several months now, which gave me the conviction that the paid one is the last file manager I will even use. Thanks for making a great product!)

Pete

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

Re: Reconnection of Mapped Network Drives

Post by admin »

petersboulton wrote:Yes, I guess so. :oops: How can I get it to run automatically at app startup?
You can't but I can. I will add a tweak. You are the first ever to ask for this so I assume a tweak (that's a sub-offical feature only available by manual INI-file-editing) is enough for now.

petersboulton wrote:(Also, under Remote Desktop / Windows Terminal Services I notice the remote drives are not available in XYplorer (as far as I can see), whereas they are in Windows Explorer. Is it possible to show the remote drives? I mean, in the Remote Desktop, when controlling another computer, the host drives of the computer doing the controlling are normally visible (if the feature is enabled in the connection properties.)
I don't think so. (BTW, again nobody has ever asked for this. -- you are demanding! :wink: )

petersboulton wrote:(By the way, can I say that I've just purchased XYplorer and it's brilliant. I've been through between 5 to 10 file managers over the last several years. I think I'm very demanding of them - hence the churn - but I've been using the freeware Xyplorer version for several months now, which gave me the conviction that the paid one is the last file manager I will even use. Thanks for making a great product!)
Thanks! I hope you don't regret it (see previous paragraph)

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Reconnection of Mapped Network Drives

Post by petersboulton »

Thank you ever so much for offering to add a tweak to get the network drives to reconnect automatically at startup. Please only if it's no trouble! Only a simple tweak can turn into a major headache for you if, say, one or more of the targets is not available at startup. (I had that problem with the freeware XYplorer and had to edit the ini just to get it to restart.) I can work with what I've got - I was just expecting, I guess, that it would reconnect automatically (or when I click on the drive in the tree), like Windows Explorer does.

The value of being able to display the host drives of the computer you're running the Remote Desktop Client on, within the Remote Desktop client session of the remote computer is in being able to copy/move files easily between host and remote (and vice versa). The only alternative, as far as I know, to do this is to use Windows Explorer (yuk!) or to do something with ftp clients and servers (double yuk!).

I absolutely don't think I'm going to regret buying XYplorer! The trouble with setting high standards for your software, which you clearly do, is people expect perfection in accommodating all their little whims! I realise that no file manager can ever meet 100% of everyone's whims/requirements, but having looked at and tested LOADS I'm pretty sure I have found a home with XYplorer!

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Reconnection of Mapped Network Drives

Post by jacky »

admin wrote:
petersboulton wrote:(Also, under Remote Desktop / Windows Terminal Services I notice the remote drives are not available in XYplorer (as far as I can see), whereas they are in Windows Explorer. Is it possible to show the remote drives? I mean, in the Remote Desktop, when controlling another computer, the host drives of the computer doing the controlling are normally visible (if the feature is enabled in the connection properties.)
I don't think so. (BTW, again nobody has ever asked for this. -- you are demanding! :wink: )
Hey, we can do that! Wow, I didn't know we could do that with Remote Desktop (or had totally forgotten about it)!

It's a cool trick, but I personally find it to be quite slow, and for my own uses & needs I think FTP is much better, but to each his own of course.

That said, since I just tried this I also tried it in XY of course, and you can totally use this in XY as well (though not as drives). At least I didn't had any trouble with it : say you usually go to drive D on your local computer (e.g. something like "D on PC_LOCAL" in Explorer) then all you have to do in XY to go there is use UNC paths, for example \\tsclient\C will be drive C:, \\tsclient\D\Folder will be D:\Folder, etc

I think \\tsclient\ is the standard here, stands for Terminal Service or something like that I guess. The only thing I noticed is that, for some reason, I had to enable option "Assume that server exist" on Configuration|Advanced, otherwise XY would list the folders on Tree but on List it was the usual gray "\\tsclient\D is unavailable" message. Don't know why, but that option made things work without problem for me.
(Also, I strongly recommend the use of some network options, such as "Use generic icons for super-fast browsing + But only in network locations" otherwise speed might be quite slow -- more on the XYwiki)

As I said I found it to be slow, but not any slower than Explorer, so you should be able to use it just fine within XY I'd say.
Proud XYplorer Fanatic

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Reconnection of Mapped Network Drives

Post by petersboulton »

That said, since I just tried this I also tried it in XY of course, and you can totally use this in XY as well (though not as drives). At least I didn't had any trouble with it : say you usually go to drive D on your local computer (e.g. something like "D on PC_LOCAL" in Explorer) then all you have to do in XY to go there is use UNC paths, for example \\tsclient\C will be drive C:, \\tsclient\D\Folder will be D:\Folder, etc
Ah yes, you are right! I guess that's an acceptable solution for something which occasionally is invaluable but mostly just slows the tree down! (You are right, it is unaccountably slow when used in Windows Explorer.)

Thanks for taking the trouble to point out the 'tsclient' way out.

Pete

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Reconnection of Mapped Network Drives

Post by j_c_hallgren »

petersboulton wrote:Yes, I guess so. :oops: How can I get it to run automatically at app startup?
Well, now you can via latest beta as of about 2 1/2 hrs before I posted this msg:

Code: Select all

v7.50.0008 - 2008-09-01 15:35
    + INI-Tweak to automatically reconnect mapped drives on startup.
        [General]
        ReconnectMappedDrives=1
That's the support level that we often get here!
petersboulton wrote:(By the way, can I say that I've just purchased XYplorer and it's brilliant. I've been through between 5 to 10 file managers over the last several years. I think I'm very demanding of them - hence the churn - but I've been using the freeware Xyplorer version for several months now, which gave me the conviction that the paid one is the last file manager I will even use. Thanks for making a great product!)
I think almost every user of this forum will readily agree with this! And welcome to the XY world!
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Reconnection of Mapped Network Drives - UPDATE

Post by petersboulton »

Hi,

OP here again. This morning I started my PC, loaded XYplorer, ran the menu option 'Tools' -> 'Reconnect all network drives' and .... nothing. The mapped network drive was reported as unavailable to XYplorer but is available, straight away, in Windows Explorer.

If I then use the XYplorer menu option 'Tools' -> 'Map Network Drive' and create the mapping again XYplorer can navigate the network drive, but the icon in the tree still shows it as unavailable, even though the tree does now expand correctly for the network drive. This is shown in my screenshot. (If I do Ctrl+F4 on the drive in the tree view the icon is finally displayed correctly.)

In my view, this appears to be 2 bugs: (1) The 'Reconnect all..' menu option is definitely not working (for me). and (2) The drive icon in the tree is incorrect where the folder tree for the network drive is displayed (unless I do Ctrl+F4 on it).

Just to recap, what I'm doing is mapping an existing drive letter on my PC to F: so that I can do some development and testing which mirrors a customer's drive letter assignments. I'm creating the mapping and definitely checking the 'Reconnect at logon' checkbox. I'm running XYplorer in Administrator mode on Vista (using the compatibility flag in my shortcut) and the desktop session I'm running under is 'Peter Boulton', who is also a computer administrator. If I launch a command prompt from XYplorer and type 'SET' I can see that the current user as far as XYplorer sees it is also Peter Boulton. So I cannot see why XYplorer should not be able to reconnect successfully.

Hope I've described all that clearly. It isn't a deal-killer bug for me because it only takes a moment to reconnect one drive manually. But if I had loads of mapped drives it would be! :)

Pete
xyplorer.png
To see the attached files, you need to log into the forum.

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

Re: Reconnection of Mapped Network Drives - UPDATE

Post by admin »

Yesterday you told me the function 'Reconnect all network drives' works. Now you tell me it does not work. :|
petersboulton wrote:Just to recap, what I'm doing is mapping an existing drive letter on my PC to F: so that I can do some development and testing which mirrors a customer's drive letter assignments.
How do you do this? I can only map network drives to local drives. :?

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Reconnection of Mapped Network Drives

Post by petersboulton »

How do you do this? I can only map network drives to local drives. :?
First, make the root of whatever you want the root of the 'networked drive' shareable - i.e. create a named share. (Right-click on root, 'Create share' or whatever. You need Advanced Sharing, depending on Windows version.)

Then 'Map Networked Drive' as usual.

You need to be on a network to have these options available, but 90% of internet connected people can - I just have a normal 4-port wireless ADSL router.

HTH!

Pete

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

Re: Reconnection of Mapped Network Drives

Post by admin »

Okay, I tested it, and of course it all works as expected in XP. The problem is Vista, and I should have remembered that immediately. I was confused because you said the function works. AFAIK, however, restoring networks drives under Vista does not work in XY. I tried everything and had to give up at some point.

I will remove the tweak since it's useless for you and nobody ever wanted it anyway. :)

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Reconnection of Mapped Network Drives

Post by petersboulton »

Hmmm. Well, I can live without it working, though Vista won't go away any time soon. :o

Is the comment someone made in this article any use?

http://www.codeproject.com/KB/system/ma ... x1632974xx

I don't know VB or how your VB works (obviously) but I do know other file managers appear to pick up networked drives automatically after a reboot without any user intervention. That is all I'm really hoping for from XYplorer, which is rock solid in every other activity I have used it for.

Pete

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

Re: Reconnection of Mapped Network Drives

Post by admin »

petersboulton wrote:Hmmm. Well, I can live without it working, though Vista won't go away any time soon. :o

Is the comment someone made in this article any use?

http://www.codeproject.com/KB/system/ma ... x1632974xx
No. This function is not supported in Vista. You know, I spent about a week trying to make it work. There's a point when you have to stop trying. Many other file managers don't even have to solve such problems because they just are Explorer skins. XY is totally independent of Explorer, so I have to do a little more background work here -- and sometimes may fail. I'm sure it is possible, and I will find a way some day, but currently: nope.


PS: I removed the last 2 posts because they don't add anything useful. In future I will immediately ban posters who insult me, without further warning. I'm sick of dealing with this level of bullshit. (And I don't mean you, petersboulton.)

petersboulton
Posts: 157
Joined: 01 Sep 2008 09:54

Re: Reconnection of Mapped Network Drives

Post by petersboulton »

Sorry for the bum steer on the Codeproject thing.

Thanks for deleting the OT posts. I probably should not have responded to it. :oops:

Please be reassured that I know that XYplorer is very robust (and functional) as, although I've only been using the paid for version for a few days, I've been using the freeware version you put out a while back very intensively since November 2007 and never noticed a problem. Anything I post here, I hope, comes over as a constructive attempt to help make the product stronger / better!

Pete

Post Reply