Network Location

233 views
Skip to first unread message

John Durso

unread,
Sep 13, 2023, 1:52:41 PM9/13/23
to OneCommander
How cam I get One Commander to show network locations (UNC). It will show mapped drives fine, but I can not figure out how to show network locations. Is there a setting somewhere that I am missing?
Thanks 

OneCommander Support

unread,
Sep 13, 2023, 2:02:18 PM9/13/23
to OneCommander
Do you not get network locations when click [...] under Networks, and Scan?

John Durso

unread,
Sep 13, 2023, 6:54:55 PM9/13/23
to OneCommander
No, nothing comes up when I scan network. Regular drives and mapped drives show under Drives group. Nothing shows under the Network group. No drives created with the network location show up. They do show up under File Explorer of course.

OneCommander Support

unread,
Sep 13, 2023, 7:32:45 PM9/13/23
to OneCommander
I am not sure as it is using the same network discovery that Explorer is using. You are running it as regular user, not elevated (shouldn't run elevated)? Anything special about the network or the computers that are missing?

John Durso

unread,
Sep 13, 2023, 11:15:57 PM9/13/23
to OneCommander
Nope, running in local account, not elevated. There is nothing special about the network or computers that I can think of. I've tried some other file explorers and they can see it fine (Free Commander, Q-Dir, Total Commander).

François RIVIERRE

unread,
Sep 14, 2023, 2:47:04 AM9/14/23
to OneCommander
Milos,

I think I have something similar with my work network: when I try to scan network, nothing shows. Even the dotted moving line that normally show during the scan is performing doesn't appear.

But all mapped drives show correctly under the Drives group.

At home, with my personal network, all seems to work fine: I see network places, with the IP address below the names.

Same version used on both computer: 3.52.0

John Durso

unread,
Sep 15, 2023, 9:33:16 AM9/15/23
to OneCommander
Some more info:

I have 4 pcs here. 2 Win 11 and 2 Win 10. All logging to the same network locations. So I loaded One Commander onto each machine.

On the 2 Win 10 machines. Everything seemed fine. One Commander could see the network locations.

On the 2 Win 11 machines, neither could see the network locations.

So, based on my limited testing, it seems that One Commander has an issue viewing network locations on Win 11 but is fine with Win 10. Since it was the same network, we can rule out the network hardware being an issue.

François RIVIERRE

unread,
Sep 16, 2023, 3:38:37 AM9/16/23
to OneCommander
Hi Milos,

On my side, I can confirm that I've the same trouble about viewing network on a Windows 10 computer (my work one). So maybe it is more related to server OS than client OS ?

François RIVIERRE

unread,
Sep 16, 2023, 3:44:30 AM9/16/23
to OneCommander
I just checked on my Windows 11 Pro and Windows 10 Pro computers at home, both are able to view network correctly after scanning it. But it's a home network, without centralized server.

OneCommander Support

unread,
Sep 17, 2023, 10:15:19 PM9/17/23
to OneCommander
I checked on Windows 10 and 11, home and also at work with enterprise network, and it discovers computers, so I don't know what can be the reason. 
In 3.52.1 that I just added on site there is a new way of scanning IPs instead of relying on Networks folder, but to check if it find anything on your networks:

1. Hold Alt while clicking on About icon
2. Debug window will open and at the bottom there is a button to scan 
3. Main window will display message at the bottom when it starts scanning and when it finishes - it won't show these results in UI anywhere yet, but you have to...
4. Right-Click OC in tray and View Logs and it will list of all IPs that have something on them, and also try to resolve names of devices (for phones it won't resolve names). 
Does it find everything as expected?

Scanning speed depends on the subnet of the network, so a home network with just 192.168.1.0 - 192.168.1.255 will finish in less than 5 seconds
I don't know if this will make a difference or if any antivirus/security software will complain that program is pinging all IP addresses on the subnet

John Durso

unread,
Sep 18, 2023, 2:07:21 AM9/18/23
to OneCommander
Here is the output with comments. Let me know if there is more I can do.

[01:48:56 INF] ----------------------
Starting 3.52.1.0
[01:48:56 INF] Updating resource files...
[01:48:56 INF] Update finished
[01:49:06 INF] Selection made. Starting...
[01:49:06 INF] Theme MinimalWhite with Vertical layout
[01:49:06 INF] First-Run window closed
[01:49:07 INF] Initializing OC Window
[01:49:07 INF] OC Window initialized
[01:49:07 INF] Window created
[01:49:07 INF] Initialization finished
[01:49:07 INF] Drives listed. 4
[01:49:07 ERR] D:\Junk_1\OneCommander3.52.1.0\Settings\TabsPersonal2.json does't exist
[01:49:07 ERR] D:\Junk_1\OneCommander3.52.1.0\Settings\TabsPersonal1.json does't exist
[01:49:12 INF] Window deactivated:Personal
[01:49:20 INF] Window deactivated:Personal
[01:49:23 INF] App activated
[01:49:27 INF] Window deactivated:Personal
[01:49:34 INF] App activated
[01:49:38 INF] Window deactivated:Personal
[01:50:06 INF] MSG: Network scan started
[01:50:06 INF] Computer at 192.168.81.154 has name LG_Gram_17.myhome.lan.  Round-trip time: 0 ms

this is the location of my PC that my 4 drives are on (OC sees these fine)

[01:50:06 INF] Computer at 192.168.81.1 has name GT-AC2900-3428.myhome.lan.  Round-trip time: 1 ms

This is the location of my router that has the USB drives attached.  My network locations are on these.

[01:50:08 INF] Ping to 192.168.81.175 succeeded, but DSN resolution failed

Not sure what this is

[01:50:08 INF] MSG: Network scan Finished. Check OC in System Tray - View logs

I couldn't find this

[01:50:14 FTL] UNHANDLED EXCEPTION from TaskScheduler
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.Net.Sockets.SocketException: No such host is known
   at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)
   at System.Net.Dns.EndGetHostEntry(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.Net.Sockets.SocketException (0x80004005): No such host is known
   at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)
   at System.Net.Dns.EndGetHostEntry(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)<---

[01:50:34 INF] App activated
[01:50:49 INF] App activated

OneCommander Support

unread,
Sep 18, 2023, 6:51:14 PM9/18/23
to OneCommander
So is everything there?

OneCommander

unread,
Sep 18, 2023, 7:15:21 PM9/18/23
to OneCommander
I'm not sure. I have 4 network connections on USB drives attached to my router with address  192.168.81.1. All I can see is the line:

[01:50:06 INF] Computer at 192.168.81.1 has name GT-AC2900-3428.myhome.lan.  Round-trip time: 1 ms

in the debug log. I do not see the network connections in OC (but you said they would not show up in there). But it is seeing the IP address of the router and the name. My hope would be that the network connections will show now that OC is seeing the router that hosts the network connections.

OneCommander

unread,
Sep 19, 2023, 12:32:55 AM9/19/23
to OneCommander
Now that we know that it is able to find more devices aside from what a "proper" network search provides, I can add this type of search in the sidebar. It will take some time as I have more testing to do

John Durso

unread,
Sep 20, 2023, 3:22:57 PM9/20/23
to OneCommander
Updated info.

When I set up my computer, I set up my network as a public network. I just changed it to a private network, and now, when I click on Network Scan in OC, it can scan the network and find the router (before it would not even show the scanning blue lines when selecting scan). If I then click on the login screen and enter my credentials, OC can see all the partitions on my drives attached to my router.

Note, this is different than Network Locations By Network Location I am refering to where, in File Explorer under This PC, select "Add a network location" and select a specific drive and folder and giving that a specific name. File Explorer and other file managers can see these Network Locations as a "drive" (probably using the wrong term here) and give them a listing in the system "tree" in File Explorer's version of OC's Drives Group.

What I am asking is if OC can view these network locations (created in File Explorer) and list each as a drive in the Drives Group or somewhere in the Sidebar similar to how File Explorer and other file managers can display them?
2023-09-20_15-18-54.png

OneCommander Support

unread,
Sep 23, 2023, 8:39:11 PM9/23/23
to OneCommander
Thank for the update on private/public network setup. I'll make a notification in next version if no computers show up and user is on public network.

What you are referring in screenshot looks to be something similar to OC's favorites. While OC can't read those, you can open the same shares and add them to any favorite group within OC.

John Durso

unread,
Sep 24, 2023, 3:11:35 PM9/24/23
to OneCommander
It is probably more complicated than that. On Public networks "Network discovery" and "File and printer sharing" are toggled off (on my system ... so those are probably the defaults). Probably has to do with how these settings are set for each network type and, of course, what type of network you have your network set as.
Reply all
Reply to author
Forward
0 new messages