Network share not requesting credentials

Things you’d like to miss in the future...
admin
Site Admin
Posts: 59751
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Network share not requesting credentials

Post by admin »

1) Message "enumerating shares" does not exist ... you probably meant "enumerating servers in Network...", right?

2) Try to run this line through the address bar before going to \\server\c$: tweak("FastNetworkEnumeration", 1); Is the enumeration faster now?

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

Re: Network share not requesting credentials

Post by admin »

Try v25.40.0006, it should be faster.

jreynolds
Posts: 74
Joined: 09 Nov 2009 19:48

Re: Network share not requesting credentials

Post by jreynolds »

Will do; I won't be back at work until Dec 27, but will try first thing and reply back. Happy holidays!

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

Re: Network share not requesting credentials

Post by admin »

Alright, happy holidays! :party:

Can anyone else on Windows 11 confirm that network enumeration is now blindingly fast?

Borut
Posts: 1406
Joined: 19 Oct 2010 19:29

Re: Network share not requesting credentials

Post by Borut »

Hi! I "tested" .0007 in the morning under Win10 on a nonessential machine: It seemed to do almost nothing. Only one server has been shown. I decided not to report that, since I was unsure if my "testbed" was OK.

Now I tried it once more (the same version .0007). The same result of course. Log is empty. Then I tried the right click on Network | Browse for Network Server: After a few seconds the list in the dialogue box (probably shell?) has been populated with expected servers.

Maybe this experience can be of some help.

For the holidays and the New Year 2024: No wars please! ☮ Make love, not war. Peace! ☮
Win 10 Pro 64bit

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

Re: Network share not requesting credentials

Post by admin »

Thanks!

In the next beta use these scripts and see which works better/faster:

Code: Select all

        text get("networki", 0);   //Shell
        text get("networki", 1);   //NetServerEnum
If NetServerEnum is better than Shell on your system you can select it as new default using this script:

Code: Select all

        tweak("NetworkEnumeration", 1); //NetServerEnum

Borut
Posts: 1406
Joined: 19 Oct 2010 19:29

Re: Network share not requesting credentials

Post by Borut »

Thanks! Here are my (very misterious) test results with v25.40.0011 (server names changed):
// text get("networki", 0);
\\server1
\\server2
\\server3

#0
00:00.450
Windows 10 Pro, 64-bit, Version 22H2, Build 19045.3803 (10.0)

// text get("networki", 1);
<EMPTY!>

#1
00:00.040
Windows 10 Pro, 64-bit, Version 22H2, Build 19045.3803 (10.0)

// text get("networki", 2);
\\server3

#2
00:00.026
Windows 10 Pro, 64-bit, Version 22H2, Build 19045.3803 (10.0)

// tweak("NetworkEnumeration");
NetworkEnumeration=0

Now, these results are repeatable, although not always the same servers are listed! In any case, all of the results would indicate that nothing works, since the test network contains some 50 servers.

BUT, as soon as I in tree click on Network, I get them all in tree and list (and that very fast, 1-2 sec), presumably with NetworkEnumeration=0. Could it be that the results dialogue should be given some more time for populating the list there? Actually, I am of course out of ideas.
Win 10 Pro 64bit

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

Re: Network share not requesting credentials

Post by admin »

Very mysterious indeed! Cannot reproduce and cannot understand. :veryconfused:

Tree click on Network has a fallback strategy: if 0 fails, it tries 1, then 2. But the networki results should always be the same of course, and at least the shell one should be complete. :eh:

jreynolds
Posts: 74
Joined: 09 Nov 2009 19:48

Re: Network share not requesting credentials

Post by jreynolds »

Hello again! I downloaded the latest 25.40.0100, now we're back to immediate "Access is denied" without prompts for c$ shares again.

Here is the log from `exist "\\server\c$";`

XYplorer 25.40.0100 - Windows 11 Enterprise, 64-bit, Version 23H2, Build 22631.2861 (10.0) - 2023-12-27 09:39:12

Path: \\<redacted>\c$
Real Path: \\<redacted>\c$

ExistFile: False
ExistPath: False
ExistFolder: True
ExistItemFF: False
ExistPathFF: False (Access is denied.)
ExistPathOrFile: False
ExistPathOrFileShell: True
ExistDrive: False

Shell DisplayName: c$ (\\<redacted>)
Shell TypeName:
Opens with: Windows Explorer [C:\WINDOWS\Explorer.exe]

Shell Icon: 87
Resolved Icon: 87
Custom File Icon: 87 (enabled)

HasFolderContents: False - Error 5: Access is denied.

IsNetworkLocation: True
GetDriveType: 0 (DRIVE_UNKNOWN)
GetItemType: 5
GetFileAttributes: 0xFFFFFFFF (-1) - (invalid)
Owner:
IsDriveHidden: False/False, ShowHiddenDrives: 0, HideDrivesByLetter:
Watchable: True

LockedTree: 0, MiniTree: 0, MiniTreeVerifyOnSelect: 0, TreeSkipVerifyOnSelect: 0
FilenamesCaseSensitive: 0, Portable Devices Count: 0

NetworkEnumeration: 0, AssumeServersExist: 0, PrecheckServers: 0, CacheServers: 1
CheckServerMethod: 0, CheckServer3: 0, NetworkCapsCheck: 0, ShowAllServers: 0, ShowHiddenShares: 0

ExistItemUNC: True
ExistPathUNC: False
ExistPathUNCQuick: True

ExistServer: True - AccessDenied: False - BadNetPath: False - AccessErrorCode: 0
IsShareAccessDenied: True - AccessErrorCode: 5
IsOnKnownServer: True
IsServerConnected: True - Return/BufferType: 0/3

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

Re: Network share not requesting credentials

Post by admin »

Really? I did not change anything and it still works here. :?

jreynolds
Posts: 74
Joined: 09 Nov 2009 19:48

Re: Network share not requesting credentials

Post by jreynolds »

When I get a chance in a few min, I'll restart and see if that clears things.

jreynolds
Posts: 74
Joined: 09 Nov 2009 19:48

Re: Network share not requesting credentials

Post by jreynolds »

Here's what I can offer.

First, after installing the latest the other day I re-did all my settings from the ground up, nothing I care to repeat any time soon. That was after the beta worked. I figured there might be new settings that are missing from later versions.

I am running 25.40.0100.

If I remove the %APPDATA%\Roaming\XYplorer directory and start the app as if it were never installed, I'm able to put in the address bar \\server\c$, then it states, "enumerating network shares..." for a while in the status bar, then I get the authentication pop-up.

If I cancel the pop-up it will state, "Location is unavailable", which is normal because I didn't enter credentials. I then quit, and start it again. Because the last drive was the server admin share, re-starting the app takes a while because I assume it's enumerating shares each time, and I have yet to set any settings about caching network servers or don't browse to network shares on start-up. When it finally does show up, the first thing I see even before the App is a network credential pop-up, which I have to address before XYplorer will show. At this point one of the tabs is the server c$ share as you might expect. I can close, and re-open XYplorer and get the same pop-up results each time.

In configuration, "Startup", I configure it to "No network browsing on startup", and then save and close. When I re-launch, it opens immediately and states that I need to click the icon to browse the share. No problem, I click it. After a bit of time, instead of receiving the authentication pop-up as I expect, it instead states that the location is unavailable (this is unexpected).

I go back and uncheck "No network browsing on startup" and save the config, then close XYplorer. Launch it again, and after a short wait I receive the authentication pop-up again.

This time I check the box to "General >> Safety Belts, Network >> Network >> Cache Network Servers". Save config, shut down XYplorer. Run it again, and I almost immediately get the authentication pop-up. I check "No network browsing on startup" and save, try again - now it opens immediately to the pane with "Location currently not available". I click the icon, and am (unexpectedly) met with an authentication pop-up. I close and re-open XYplorer over and over and click that icon, and same thing every time.

Thinking I'm on to something, I go back to my own settings, and try all kinds of combinations of these two check boxes - to no avail. I even get rid of the servers.dat file (I wish I could see into these) and attempt various combinations. I purge or replace sections in the XYplorer.ini of the server share, so nothing is there... no joy.

I simply can't figure out what is different that is causing the issues between the non-customized settings that I can _eventually_ get to work like I want them to, and my customized settings. Furthermore, there seems to be some kind of relationship between the two settings above which make the authentication possible, and also optimize start-up.

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

Re: Network share not requesting credentials

Post by admin »

v25.40.0101 should handle most if not all of it.

Conc. the enumeration speed, try if this makes it any faster: tweak("NetworkEnumeration", 1); //NetServerEnum
Factory default is: tweak("NetworkEnumeration", 0); //Shell (factory default)

jreynolds
Posts: 74
Joined: 09 Nov 2009 19:48

Re: Network share not requesting credentials

Post by jreynolds »

So, I installed the latest beta, 25.40.0101.

If I wiped out the "AppData\Roaming\XYplorer" directory and started fresh, I get prompted for credentials on C$ shares. If I put my original folder back in with all my settings, things fail again. This is despite having the same network-related items checked in Settings.

So, I just let it create a fresh folder. I then judiciously copied over my old panes, catalogs, etc. to the new folder, leaving out any .dat files. I also used Beyond Compare to move over any settings I really wanted in the .ini file from my original to the new one.

I fired up XYplorer, and behold, it's now working as it should, and most of my customizations are intact. So I'm providing a "diff" of the two .ini files. I think you'll agree that there's nothing there which should have caused the issue. This leaves perhaps the .dat files or something else I'm not aware of which consistently caused the problem?

Text Compare
Produced: 12/28/2023 7:14:51 AM

Mode:  Differences, Ignoring Unimportant
Left file: C:\Users\<redacted>\AppData\Roaming\XYplorer\XYplorer.ini
Right file: C:\Users\<redacted>\AppData\Roaming\XYplorer.old\XYplorer.ini
dc=0                                <> dc=7
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WinW=1866                           <> WinW=1875
WinH=1228                              WinH=1096
WinX=479                               WinX=836
WinY=120                               WinY=207
WinZ=45288                             WinZ=45281
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
StartPath=\\<redacted>\c$\               <> StartPath=C:\Users\<redacted>\Downloads\
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LastTab=0                           <> LastTab=6
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ModulesOff=0                        <> ModulesOff=16
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LMLeft=0                            <> LMLeft=1216
LMTop=0                                LMTop=466
LMWidth=0                              LMWidth=800
LMHeight=0                             LMHeight=481
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
UDCCategoryLast=0                   <> UDCCategoryLast=1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ScriptTryLeft=0                     <> ScriptTryLeft=1216
ScriptTryTop=0                         ScriptTryTop=507
ScriptTryWidth=0                       ScriptTryWidth=800
ScriptTryHeight=0                      ScriptTryHeight=400
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RunScript=""                        <> RunScript="tweak("NetworkEnumeration", 1); //NetServerEnum"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LastTab=28                          <> LastTab=5
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ShowSpecFolderLinks=1               <> ShowSpecFolderLinks=0
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ShowNethood=1                       <> ShowNethood=0
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MiniTreePaths=                      <> MiniTreePaths=C:\Users\<redacted>\Downloads\|Desktop|Documents|Downloads|OneDrive|<redacted>|G:\|S:\|T:\|U:\|Recycle Bin|\\<redacted>\<redacted>\<redacted>\
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MaxiTreePaths=                      <> MaxiTreePaths=This PC
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NetworkNetServerEnum=0              <> NetworkNetServerEnum=1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RepOFCur=0                          <> RepOFCur=1
RepOFDate=0                            RepOFDate=1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RepCSVSepOpt=0                      <> RepCSVSepOpt=2
RepCSVSepOther=,                       RepCSVSepOther=|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Zoom=0                              <> Zoom=1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MaxBytesTextPreview=0               <> MaxBytesTextPreview=5242880
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TabPromptOnCloseLocked=0            <> TabPromptOnCloseLocked=1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TabXClose=1                         <> TabXClose=3
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LookIn0=\\<redacted>\c$                  <> LookIn0=C:\Users\<redacted>\Downloads
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Latest=5                            <> Latest=31
Count=5                                Count=31
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                    <> 2=Network
2=Documents                            3=Documents
3=<redacted>                        4=<redacted>
4=C:\Users\<redacted>\Downloads\    26=C:\Users\<redacted>\Documents\
                                       27=Documents
                                       28=Documents
                                       29=C:\
5=\\<redacted>\c$\                          30=\\<redacted>\c$
                                       31=C:\Users\<redacted>\Downloads\
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Count=4                             <> Count=1
1="\\<redacted>\c$"                         1="text get("networki", 1);"
2="This PC"
3="Desktop"
4="C:\Program Files (x86)"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Count=0                             <> Count=3
                                       1=C:\Users\<redacted>\Downloads\xyplorer_25.40.0100.zip
                                       2=C:\Users\<redacted>\Downloads\XYplorer-20231222.ini


highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Network share not requesting credentials

Post by highend »

Code: Select all

NetworkNetServerEnum
That should be the only relevant setting.
New = 0
Old = 1
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

Post Reply