Tab "Lock Location" is unreliable

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".
aloishammer
Posts: 17
Joined: 18 Jun 2017 22:00

Re: Tab "Lock Location" is unreliable

Post by aloishammer »

admin wrote:You can assign a keyboard shortcut to this command in Customize Keyboard Shortcuts:
Miscellaneous | Go To | Open Folder in New Tab
Thanks! Is there also a way to open the new tab in the background. Not all tabs; just when I trigger this intentionally.
admin wrote:Touch is already available as "File | File Special | Set Modified Date to Current".
Can we get a separate option that requires dialog confirmation? Otherwise, I'm very likely to trigger this by accident at some point—probably with lots of files / folders / subfolders selected.

aloishammer
Posts: 17
Joined: 18 Jun 2017 22:00

Re: Tab "Lock Location" is unreliable

Post by aloishammer »

Incidentally, where can I find documentation for the network tweaks? I'm looking at CheckServerMethod, CheckServer3, NetworkCapsCheck, NetworkNetServerEnum (mentioned in the network thread I was looking for), and NetworkDriveSkipPollingBytes?

I can't find documentation for any of these in the help, in any files installed locally with XYplorer, or with a Google custom search of xyplorer.com.

These all have very intriguing names that suggest they could well explain (or fix) the reason I'm having trouble with this server enumeration thing.

EDIT: @admin, can you help out with this? Thanks!
Last edited by aloishammer on 24 Sep 2017 07:28, edited 1 time in total.

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Tab "Lock Location" is unreliable

Post by Filehero »

aloishammer wrote:Incidentally, where can I find documentation for the network tweaks?
Afaik, there's none apart from what is documented across the thread of this board.

Some older approach is documented in viewtopic.php?f=5&t=7736&p=69961 (check the last post).

eil
Posts: 1927
Joined: 13 Jan 2011 19:44

Re: Tab "Lock Location" is unreliable

Post by eil »

just "for statistic" - i did experience this bug too. just as TS described it happens quitу seldom and locked tab points to top level of drive. as i couldn't figure out any pattern to reproduce i didn't poss a report.
Win 7 SP1 x64 100% 1366x768|1900x1080

aloishammer
Posts: 17
Joined: 18 Jun 2017 22:00

Re: Tab "Lock Location" is unreliable

Post by aloishammer »

eil wrote:just "for statistic" - i did experience this bug too. just as TS described it happens quitу seldom and locked tab points to top level of drive. as i couldn't figure out any pattern to reproduce i didn't poss a report.
Nice to have confirmation.

There's no pattern that I can find, either.

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

Re: Tab "Lock Location" is unreliable

Post by admin »

Could it be that you type very fast and another key is still down while you press Enter?

aloishammer
Posts: 17
Joined: 18 Jun 2017 22:00

Re: Tab "Lock Location" is unreliable

Post by aloishammer »

admin wrote:Could it be that you type very fast and another key is still down while you press Enter?
I can't think of a way of testing this.

Where can I find documentation for the network tweaks? I'm looking at CheckServerMethod, CheckServer3, NetworkCapsCheck, NetworkNetServerEnum (mentioned in the network thread I was looking for), and NetworkDriveSkipPollingBytes.

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

Re: Tab "Lock Location" is unreliable

Post by admin »

Download the change log: https://www.xyplorer.com/download/History.txt

Almost everything is there.

aloishammer
Posts: 17
Joined: 18 Jun 2017 22:00

Re: Tab "Lock Location" is unreliable

Post by aloishammer »

admin wrote:Download the change log: https://www.xyplorer.com/download/History.txt

Almost everything is there.
The first three tweaks are not listed there, or anywhere else that I can find

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

Re: Tab "Lock Location" is unreliable

Post by admin »

These are tweaks used for debugging specific user/configuration issues:

Code: Select all

CheckServerMethod (factory default = 0)
CheckServer3 (factory default = 0)
NetworkNetServerEnum  (factory default = 1)
NetworkDriveSkipPollingBytes:

Code: Select all

    * Drives Listing: Since v16.00.0108 polling the bytes is always skipped for 
      mapped network drives. I changed this: Now you need to set a tweak to skip 
      polling those bytes:
        NetworkDriveSkipPollingBytes=1

aloishammer
Posts: 17
Joined: 18 Jun 2017 22:00

Re: Tab "Lock Location" is unreliable

Post by aloishammer »

admin wrote:These are tweaks used for debugging specific user/configuration issues:

Code: Select all

CheckServerMethod (factory default = 0)
CheckServer3 (factory default = 0)
NetworkNetServerEnum  (factory default = 1)
Yep, I figured. Since I'm still trying to figure out why I have weird server 'enumeration' lockup issues with XYplorer, I could definitely use documentation for these, to see if I can use them to fix or work around the problem.

By the way, would you consider adding support for mDNS for server resolution / enumeration? Until or unless Microsoft change their minds and start adding support at the OS level, it's going to remain up to applications to decide whether they want to discover servers this way.

Note: This is a perfectly industry-standard approach to the problem with loads of code samples, associated RFCs, and working support in other OSes (Linux and derivatives like Android; OSX / iOS and derivatives thereof).

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

Re: Tab "Lock Location" is unreliable

Post by admin »

I might be able to look at that enumeration issue you have at a later point.

aloishammer
Posts: 17
Joined: 18 Jun 2017 22:00

Re: Tab "Lock Location" is unreliable

Post by aloishammer »

admin wrote:I might be able to look at that enumeration issue you have at a later point.
Okay. In the meantime, can we get documentation for these extra switches, so I can try to eliminate them myself?

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

Re: Tab "Lock Location" is unreliable

Post by admin »

Nope, they are just for debug.

aloishammer
Posts: 17
Joined: 18 Jun 2017 22:00

Re: Tab "Lock Location" is unreliable

Post by aloishammer »

admin wrote:Nope, they are just for debug.
Okay. Then, in the meantime—referring to your last response—apparently I'm far from the only person who has a problem with "enumeration" strangeness.

Can I ask if you've replicated a test environment with the changes I have and a lot of other people are likely to?

First, all my NBT comms are over 445/tcp. Second, all resolution is via DNS and/or /etc/hosts. ("NetBIOS" res disabled completely). LLTD—a Microsoft-only standard—is disabled because it's poorly documented, only exists on Windows, and has unclear security implications. Finally, protocols with no security model at all are disabled; mostly, this means UPnP / DLNA and the underlying discovery protocol (SSDP).

On top of this, because it has known vulnerabilities that are difficult to mitigate, the "DNS Client" service is disabled. (Internal service name: "dnscache".) The Server service is disabled as well to prevent remote exploitation. Support for SMB 1.0 has been disabled for performance testing reasons; however, XYplorer was misbehaving before this change was made.

Essentially, I'm following best practices for securing Windows workstations, plus the SMB 1.0 change.

Post Reply