• Re: Finding names of computers in network

    From Paul@21:1/5 to Mr. Man-wai Chang on Tue Sep 24 20:42:24 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    On Tue, 9/24/2024 11:07 AM, Mr. Man-wai Chang wrote:
    On 24/9/2024 4:55 am, Tom Del Rosso wrote:
    This is easy in a domain, but the problem is peer-to-peer at home.

    To get a list of computers in the network, this usually works:

    NET VIEW /NETWORK

    This commmand relies on SMB 1.0, which is disabled (if not deprecated) in Windows 10 and 11. You need to enable SMB 1.0 first in Windows Features.

    I dunno whether there is a Micro$ft successor to that command for newer SMB versions. :)

    I have a test install, and with SMB 1.0 turned on, rebooted and messing about multiple times in services.msc , "net view" is *still* returning
    a complaint about "some service" is not started (2184). Of course,
    it does not say which service. Which is Microsofts definition of "fun".

    The file sharing troubleshooter (only available via searching for it),
    does not help.

    I bet I need to reinstall.

    Amiright, MWC ? :-) OK, reinstall complete, picture below.

    It is easier to just write the names on a slip
    of paper and tape the paper to the side of the monitor
    for future reference.

    Let's see, there is "Sleepy", "Dopey", "Bashful"...

    I can see why the machine does not want to connect to them.

    [Picture]

    https://i.postimg.cc/sgJSRNVF/net-view-W11-W11.gif

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kenny McCormack@21:1/5 to nospam@needed.invalid on Wed Sep 25 13:30:15 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    In article <vcvm9h$3d78b$1@dont-email.me>, Paul <nospam@needed.invalid> wrote: ...
    It is easier to just write the names on a slip
    of paper and tape the paper to the side of the monitor
    for future reference.

    I can't remember the original parameters of this issue/thread. Is OP open
    to 3rd party solutions?

    If so, I wonder if there is a Windows port of "nmap". There probably is
    (no reason why there should not be) and that may solve OP's problem.

    Meta note: I see this is cross-posted.
    I am reading/posting from alt.msdos.batch.nt

    --
    Faced with the choice between changing one's mind and proving that there is
    no need to do so, almost everyone gets busy on the proof.

    - John Kenneth Galbraith -

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Slootweg@21:1/5 to Mr. Man-wai Chang on Wed Sep 25 15:09:35 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Mr. Man-wai Chang <toylet.toylet@gmail.com> wrote:
    On 24/9/2024 4:55 am, Tom Del Rosso wrote:
    This is easy in a domain, but the problem is peer-to-peer at home.

    To get a list of computers in the network, this usually works:

    NET VIEW /NETWORK

    This commmand relies on SMB 1.0, which is disabled (if not deprecated)
    in Windows 10 and 11. You need to enable SMB 1.0 first in Windows Features.

    I dunno whether there is a Micro$ft successor to that command for newer
    SMB versions. :)

    I'm not subscribed to alt.msdos.batch.nt, so had to lookup the OP.

    As this NET VIEW stuff is rather a flimsy/brittle mess on modern
    Windows systems, the OP (Tom Del Rosso) may want to have a look at
    NirSoft's NetResView.

    <https://www.nirsoft.net/utils/netresview.html>

    "NetResView is a small utility that displays the list of all network
    resources (computers, disk shares, and printer shares) on your LAN. As
    opposed to "My Network Places" module of Windows, NetResView display
    all network resources from all domains/workgroups in one screen, and
    including admin/hidden shares."

    Hope this helps.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ammammata@21:1/5 to All on Thu Sep 26 08:47:06 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Frank Slootweg wrote on 25/09/2024 : <https://www.nirsoft.net/utils/netresview.html>

    I compared this with the above soft perfect network scanner

    the nirsoft tool misses almost all computers in the network; it lists
    the servers (not all of them) , the printers (not all of them), all the
    NAS, some VMs and my computer

    right now didn't detect at least 6 computers (a couple of them could be
    off)

    --
    /-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\
    -=- -=- -=- -=- -=- -=- -=- -=- - -=-
    ........... [ al lavoro ] ...........

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to ...winston on Thu Sep 26 02:57:00 2024
    XPost: alt.comp.os.windows-11

    On Thu, 9/26/2024 1:33 AM, ...winston wrote:
    Paul wrote:
    On Tue, 9/24/2024 11:07 AM, Mr. Man-wai Chang wrote:
    On 24/9/2024 4:55 am, Tom Del Rosso wrote:
    This is easy in a domain, but the problem is peer-to-peer at home.

    To get a list of computers in the network, this usually works:

    NET VIEW /NETWORK

    This commmand relies on SMB 1.0, which is disabled (if not deprecated) in Windows 10 and 11. You need to enable SMB 1.0 first in Windows Features.

    I dunno whether there is a Micro$ft successor to that command for newer SMB versions. :)

    I have a test install, and with SMB 1.0 turned on, rebooted and messing about
    multiple times in services.msc , "net view" is *still* returning
    a complaint about "some service" is not started (2184). Of course,
    it does not say which service. Which is Microsofts definition of "fun".

    The file sharing troubleshooter (only available via searching for it),
    does not help.

    I bet I need to reinstall.

    Amiright, MWC ? :-)  OK, reinstall complete, picture below.

    It is easier to just write the names on a slip
    of paper and tape the paper to the side of the monitor
    for future reference.

    Let's see, there is "Sleepy", "Dopey", "Bashful"...

    I can see why the machine does not want to connect to them.

        [Picture]

         https://i.postimg.cc/sgJSRNVF/net-view-W11-W11.gif

        Paul


    This symptom regarding NET VIEW when run yielding the results
     - Service not started Seee HelpMsg 2184 is an age old one dating back to Win8/Win10 era, still applies in the Win11/Win10 era.

    Ensure
    Window Features
     SMB1.0 Client and Server are enabled Windows Features
     SMB1.0 Removal - disabled
    Services (if not already configured as below)
     Function Discovery Provider Host - Auto
     Function Discovery Resource Publication - Auto
     SSDP Discovery - Auto
    Network Sharing
     Private
      Turn on network discovery, check automatic setup of network connected devices
      Turn on ile and printer sharing(optional)
     All Networks
      Public folder(On or Off, optional for either setting)
      Use 128-bit encryption(unlikely anything is still using 40-56 on Windows)   Password Protected sharing(recommended)


    Restart
    Logon same account

    ****Restart the Router*** - most important step!!
    (if a built in router/modem, restart the modem)

    Then issue the command via Command Com(Admin)or Powershell(Admin)issuing  NET VIEW /NETWORK
    and
     NET VIEW

    I did those, plus check LANMANClient and LANMANServer.

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Char Jackson@21:1/5 to ...winston on Thu Sep 26 09:10:27 2024
    XPost: alt.comp.os.windows-11

    On Thu, 26 Sep 2024 01:33:41 -0400, "...winston" <winstonmvp@gmail.com> wrote:

    Paul wrote:

    Let's see, there is "Sleepy", "Dopey", "Bashful"...

    I can see why the machine does not want to connect to them.

    [Picture]

    https://i.postimg.cc/sgJSRNVF/net-view-W11-W11.gif

    Paul


    This symptom regarding NET VIEW when run yielding the results
    - Service not started Seee HelpMsg 2184 is an age old one dating back
    to Win8/Win10 era, still applies in the Win11/Win10 era.

    Ensure
    Window Features
    SMB1.0 Client and Server are enabled Windows Features
    SMB1.0 Removal - disabled
    Services (if not already configured as below)
    Function Discovery Provider Host - Auto
    Function Discovery Resource Publication - Auto
    SSDP Discovery - Auto
    Network Sharing
    Private
    Turn on network discovery, check automatic setup of network connected
    devices
    Turn on ile and printer sharing(optional)
    All Networks
    Public folder(On or Off, optional for either setting)
    Use 128-bit encryption(unlikely anything is still using 40-56 on Windows)
    Password Protected sharing(recommended)


    Restart
    Logon same account

    ****Restart the Router*** - most important step!!
    (if a built in router/modem, restart the modem)

    Then issue the command via Command Com(Admin)or Powershell(Admin)issuing
    NET VIEW /NETWORK
    and
    NET VIEW

    Just curious, but what is the purpose of restarting the router?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to Char Jackson on Thu Sep 26 16:08:41 2024
    XPost: alt.comp.os.windows-11

    On Thu, 9/26/2024 10:10 AM, Char Jackson wrote:
    On Thu, 26 Sep 2024 01:33:41 -0400, "...winston" <winstonmvp@gmail.com> wrote:

    Paul wrote:

    Let's see, there is "Sleepy", "Dopey", "Bashful"...

    I can see why the machine does not want to connect to them.

    [Picture]

    https://i.postimg.cc/sgJSRNVF/net-view-W11-W11.gif

    Paul


    This symptom regarding NET VIEW when run yielding the results
    - Service not started Seee HelpMsg 2184 is an age old one dating back
    to Win8/Win10 era, still applies in the Win11/Win10 era.

    Ensure
    Window Features
    SMB1.0 Client and Server are enabled Windows Features
    SMB1.0 Removal - disabled
    Services (if not already configured as below)
    Function Discovery Provider Host - Auto
    Function Discovery Resource Publication - Auto
    SSDP Discovery - Auto
    Network Sharing
    Private
    Turn on network discovery, check automatic setup of network connected
    devices
    Turn on ile and printer sharing(optional)
    All Networks
    Public folder(On or Off, optional for either setting)
    Use 128-bit encryption(unlikely anything is still using 40-56 on Windows) >> Password Protected sharing(recommended)


    Restart
    Logon same account

    ****Restart the Router*** - most important step!!
    (if a built in router/modem, restart the modem)

    Then issue the command via Command Com(Admin)or Powershell(Admin)issuing
    NET VIEW /NETWORK
    and
    NET VIEW

    Just curious, but what is the purpose of restarting the router?


    It might affect DHCP, but the VM Guest seems to be on the same subnet as the Host.
    By firing up a third OS, I can at least see some things work, so I'm not convinced
    a router is in the picture.

    My daily driver host sees three machines set up right now.
    The result it gives, looks reasonable for the three OSes running right now.

    net view
    Server Name Remark

    ------------------------------------------------------------------------------- \\CHEVRON CHEVRON <=== Host
    \\DESKTOP-EO8CNRD <=== VMWare Guest (error 2184) \\WALLACE <=== Host
    The command completed successfully.

    Chevron (peer level host) sees itself only (SMBV1 is enabled). Which could indicate
    a logical network partition. Whatever. (We used to have a lot of those while testing at work, and that's why I whip out an answer like that :-) )

    The VMWare Guest (living in the daily driver Wallace), still gets error 2184 (some service not started).

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Char Jackson@21:1/5 to ...winston on Sat Sep 28 23:31:05 2024
    XPost: alt.comp.os.windows-11

    On Sat, 28 Sep 2024 12:27:32 -0400, "...winston" <winstonmvp@gmail.com> wrote:

    Char Jackson wrote:
    On Thu, 26 Sep 2024 01:33:41 -0400, "...winston" <winstonmvp@gmail.com> wrote:

    Paul wrote:

    Let's see, there is "Sleepy", "Dopey", "Bashful"...

    I can see why the machine does not want to connect to them.

    [Picture]

    https://i.postimg.cc/sgJSRNVF/net-view-W11-W11.gif

    Paul


    This symptom regarding NET VIEW when run yielding the results
    - Service not started Seee HelpMsg 2184 is an age old one dating back
    to Win8/Win10 era, still applies in the Win11/Win10 era.

    Ensure
    Window Features
    SMB1.0 Client and Server are enabled Windows Features
    SMB1.0 Removal - disabled
    Services (if not already configured as below)
    Function Discovery Provider Host - Auto
    Function Discovery Resource Publication - Auto
    SSDP Discovery - Auto
    Network Sharing
    Private
    Turn on network discovery, check automatic setup of network connected >>> devices
    Turn on ile and printer sharing(optional)
    All Networks
    Public folder(On or Off, optional for either setting)
    Use 128-bit encryption(unlikely anything is still using 40-56 on Windows)
    Password Protected sharing(recommended)


    Restart
    Logon same account

    ****Restart the Router*** - most important step!!
    (if a built in router/modem, restart the modem)

    Then issue the command via Command Com(Admin)or Powershell(Admin)issuing >>> NET VIEW /NETWORK
    and
    NET VIEW

    Just curious, but what is the purpose of restarting the router?


    More so related to Windows shortcomings and deprecated features.
    SMB 1.0 => deprecated
    Net view => deprecated

    SMB1 deprecated in favor of the Function Discovery services
    Net view relies on SMB1

    Windows has a tendency when SMB1 is enabled on Win10/11 to step on its
    own toes in the presence of both SMB1 and Function Discovery being
    active when looking for connected computernames on the network.
    - even more so by enabling SMB1 after and when Function Discovery's
    services are currently running.

    Resetting the router to find and reassigning ip's(static or dynamic)
    gives the deprecated SMB1(and Net View) a better chance when all other >network sharing options are configured properly.

    Not a perfect workaround, but helpful and more often than not, worth the >effort.

    Thanks, Winston.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tom Del Rosso@21:1/5 to Frank Slootweg on Sun Sep 29 15:58:49 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Frank Slootweg wrote:
    Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
    Frank Slootweg wrote:

    I'm not subscribed to alt.msdos.batch.nt, so had to lookup the OP.

    As this NET VIEW stuff is rather a flimsy/brittle mess on modern
    Windows systems, the OP (Tom Del Rosso) may want to have a look at
    NirSoft's NetResView.

    <https://www.nirsoft.net/utils/netresview.html>

    Thanks but the need was for a CLI command. That's why I posted in
    batch.nt but somebody cross-posted his reply.

    NetResView doesn't only have a GUI, but can also save the list of
    network resources to a file in several formats (text, tab-delimited
    text, comma-delimited text, etc.), so you can process that output in a
    batch file. It also has command-line options for specifying what type
    of info is/is-not generated. So perhaps a little less elegant than a
    pure CLI command, but quite workable.

    I tested it and found that at those random times when the peer-to-peer
    network is in a state that prevents the NET VIEW command from detecting
    the other machines, NetResView is also unable to see them. So all 3 of
    these commands fail at the same times.

    NET VIEW
    PSEXEC
    NetResView

    I don't know yet what makes that happen. Right now I can't make it
    happen again, but when it does I have some things to try like restarting services.


    --
    Defund the Thought Police

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Slootweg@21:1/5 to Tom Del Rosso on Mon Sep 30 09:13:01 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
    Frank Slootweg wrote:
    Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
    Frank Slootweg wrote:

    I'm not subscribed to alt.msdos.batch.nt, so had to lookup the OP.

    As this NET VIEW stuff is rather a flimsy/brittle mess on modern
    Windows systems, the OP (Tom Del Rosso) may want to have a look at
    NirSoft's NetResView.

    <https://www.nirsoft.net/utils/netresview.html>

    Thanks but the need was for a CLI command. That's why I posted in
    batch.nt but somebody cross-posted his reply.

    NetResView doesn't only have a GUI, but can also save the list of
    network resources to a file in several formats (text, tab-delimited
    text, comma-delimited text, etc.), so you can process that output in a batch file. It also has command-line options for specifying what type
    of info is/is-not generated. So perhaps a little less elegant than a
    pure CLI command, but quite workable.

    I tested it and found that at those random times when the peer-to-peer network is in a state that prevents the NET VIEW command from detecting
    the other machines, NetResView is also unable to see them. So all 3 of
    these commands fail at the same times.

    NET VIEW
    PSEXEC
    NetResView

    Yes, I was afraid that would be the case.

    I have only a small network, mostly two computers and a NAS, so I know
    the NetBIOS names and can check things with nbtstat (-n and -r (and, if
    needed, -a and -R or -RR)), but for a bigger network or/and unknown
    NetBIOS names, that's of course not feasible.

    I don't know yet what makes that happen. Right now I can't make it
    happen again, but when it does I have some things to try like restarting services.

    Good luck.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Frank Slootweg on Mon Sep 30 10:24:37 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Frank Slootweg wrote:

    I have only a small network, mostly two computers and a NAS, so I know
    the NetBIOS names and can check things with nbtstat

    On a large network, there will almost always be multiple domain
    controllers (often with WINS installed) and due to higher votes, these
    will tend to win subnet and domain master browser elections, giving
    stability.

    On small networks, there won't tend to be server versions of Windows,
    just desktop versions, and possibly samba on NASes, and machines will be
    "off" more of the time,therefore you don't get a stable master browser
    hence unreliable NETBIOS name resolution, machines end-up trying broadcasts

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Char Jackson on Mon Sep 30 11:37:49 2024
    XPost: alt.comp.os.windows-11

    On 2024-09-27 18:44, Char Jackson wrote:
    On Thu, 26 Sep 2024 16:08:41 -0400, Paul <nospam@needed.invalid> wrote:

    On Thu, 9/26/2024 10:10 AM, Char Jackson wrote:
    On Thu, 26 Sep 2024 01:33:41 -0400, "...winston" <winstonmvp@gmail.com> wrote:

    Paul wrote:

    ...

    Restart
    Logon same account

    ****Restart the Router*** - most important step!!
    (if a built in router/modem, restart the modem)

    Then issue the command via Command Com(Admin)or Powershell(Admin)issuing >>>> NET VIEW /NETWORK
    and
    NET VIEW

    Just curious, but what is the purpose of restarting the router?


    It might affect DHCP, but the VM Guest seems to be on the same subnet as the Host.
    By firing up a third OS, I can at least see some things work, so I'm not convinced
    a router is in the picture.

    It remains a mystery. I thought the discovery procedure was essentially contained within a LAN, meaning there wouldn't have to be a router in the picture at all, but perhaps there's an option somewhere to retrieve OUI info from the Internet to help identify the various MAC addresses? Even if so, I wonder why one would be asked to reboot the router, and I especially wonder why
    that step would be considered to be "****Restart the Router*** - most important
    step!!".

    Some routers obtain the name of the computers in the LAN (some more,
    some less). Restarting it makes the information be forgotten. Some
    routers may actively obtain it again, some passively. So it can take
    even hours.

    Maybe restarting the router makes the computers in the LAN to broadcast
    their names and such. At least they have to renew their DHCP leases.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to Andy Burns on Mon Sep 30 06:49:49 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    On Mon, 9/30/2024 5:24 AM, Andy Burns wrote:
    Frank Slootweg wrote:

       I have only a small network, mostly two computers and a NAS, so I know >> the NetBIOS names and can check things with nbtstat

    On a large network, there will almost always be multiple domain controllers (often with WINS installed) and due to higher votes, these will tend to win subnet and domain master browser elections, giving stability.

    On small networks, there won't tend to be server versions of Windows, just desktop versions, and possibly samba on NASes, and machines will be "off" more of the time,therefore you don't get a stable master browser hence unreliable NETBIOS name
    resolution, machines end-up trying broadcasts

    But shouldn't elections settle down after two elections ?
    Assuming all nodes stay connected and their network connection
    does not power off.

    .\nbtscan-1.0.35.exe 192.168.2.0/24
    192.168.2.103 WORKGROUP\CHEVRON SHARING
    *timeout (normal end of scan)

    net view
    Server Name Remark

    ------------------------------------------------------------------------------- \\CHEVRON
    \\WALLACE
    The command completed successfully.

    Symptoms vary. nbtscan "cannot see itself".

    Net View can see itself.

    But two Win 11 machines don't behave the same way on Net View.

    I suspect a random number generator is involved
    in the code somewhere :-)

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tom Del Rosso@21:1/5 to Frank Slootweg on Fri Sep 27 04:25:03 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Frank Slootweg wrote:

    I'm not subscribed to alt.msdos.batch.nt, so had to lookup the OP.

    As this NET VIEW stuff is rather a flimsy/brittle mess on modern
    Windows systems, the OP (Tom Del Rosso) may want to have a look at
    NirSoft's NetResView.

    <https://www.nirsoft.net/utils/netresview.html>

    Thanks but the need was for a CLI command. That's why I posted in
    batch.nt but somebody cross-posted his reply.

    The other CLI utility I know of is PSEXEC from Sysinternals.

    psexec \\* cmd /c set computername

    That command works every time in a Windows domain.


    --
    Defund the Thought Police

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tom Del Rosso@21:1/5 to Tom Del Rosso on Fri Sep 27 04:26:27 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Tom Del Rosso wrote:

    That command works every time in a Windows domain.

    ...but not in Win 7 I meant to say.



    --
    Defund the Thought Police

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From wasbit@21:1/5 to Ammammata on Fri Sep 27 10:21:50 2024
    XPost: alt.comp.os.windows-11

    On 26/09/2024 07:47, Ammammata wrote:
    Frank Slootweg wrote on 25/09/2024 : <https://www.nirsoft.net/utils/netresview.html>

    I compared this with the above soft perfect network scanner

    the nirsoft tool misses almost all computers in the network; it lists
    the servers (not all of them) , the printers (not all of them), all the
    NAS, some VMs and my computer

    right now didn't detect at least 6 computers (a couple of them could be
    off)


    Presumably not the free trial version of Network Scanner which only
    displays up to 10 devices
    - https://www.softperfect.com/products/networkscanner/


    --
    Regards
    wasbit

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Slootweg@21:1/5 to Tom Del Rosso on Fri Sep 27 10:08:01 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Tom Del Rosso <fizzbintuesday@that-google-mail-domain.com> wrote:
    Frank Slootweg wrote:

    I'm not subscribed to alt.msdos.batch.nt, so had to lookup the OP.

    As this NET VIEW stuff is rather a flimsy/brittle mess on modern
    Windows systems, the OP (Tom Del Rosso) may want to have a look at NirSoft's NetResView.

    <https://www.nirsoft.net/utils/netresview.html>

    Thanks but the need was for a CLI command. That's why I posted in
    batch.nt but somebody cross-posted his reply.

    NetResView doesn't only have a GUI, but can also save the list of
    network resources to a file in several formats (text, tab-delimited
    text, comma-delimited text, etc.), so you can process that output in a
    batch file. It also has command-line options for specifying what type
    of info is/is-not generated. So perhaps a little less elegant than a
    pure CLI command, but quite workable.

    [...]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tom Del Rosso@21:1/5 to Frank Slootweg on Fri Sep 27 07:56:18 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Frank Slootweg wrote:

    NetResView doesn't only have a GUI, but can also save the list of
    network resources to a file in several formats (text, tab-delimited
    text, comma-delimited text, etc.), so you can process that output in a
    batch file. It also has command-line options for specifying what type
    of info is/is-not generated. So perhaps a little less elegant than a
    pure CLI command, but quite workable.

    [...]

    Thanks. I'll try that.


    --
    Defund the Thought Police

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Tom Del Rosso on Fri Sep 27 13:10:01 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    Tom Del Rosso wrote:

    Frank Slootweg wrote:

    NetResView doesn't only have a GUI, but can also save the list of
    network resources to a file in several formats (text, tab-delimited
    text, comma-delimited text, etc.), so you can process that output in a
    batch file. It also has command-line options for specifying what type
    of info is/is-not generated. So perhaps a little less elegant than a
    pure CLI command, but quite workable.

    [...]

    Thanks. I'll try that.
    or within cmd window, try nbtstat with various flags, I forget which do
    what, no doubt /? shows help

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Char Jackson@21:1/5 to Paul on Fri Sep 27 11:44:18 2024
    XPost: alt.comp.os.windows-11

    On Thu, 26 Sep 2024 16:08:41 -0400, Paul <nospam@needed.invalid> wrote:

    On Thu, 9/26/2024 10:10 AM, Char Jackson wrote:
    On Thu, 26 Sep 2024 01:33:41 -0400, "...winston" <winstonmvp@gmail.com> wrote:

    Paul wrote:

    Let's see, there is "Sleepy", "Dopey", "Bashful"...

    I can see why the machine does not want to connect to them.

    [Picture]

    https://i.postimg.cc/sgJSRNVF/net-view-W11-W11.gif

    Paul


    This symptom regarding NET VIEW when run yielding the results
    - Service not started Seee HelpMsg 2184 is an age old one dating back
    to Win8/Win10 era, still applies in the Win11/Win10 era.

    Ensure
    Window Features
    SMB1.0 Client and Server are enabled Windows Features
    SMB1.0 Removal - disabled
    Services (if not already configured as below)
    Function Discovery Provider Host - Auto
    Function Discovery Resource Publication - Auto
    SSDP Discovery - Auto
    Network Sharing
    Private
    Turn on network discovery, check automatic setup of network connected
    devices
    Turn on ile and printer sharing(optional)
    All Networks
    Public folder(On or Off, optional for either setting)
    Use 128-bit encryption(unlikely anything is still using 40-56 on Windows) >>> Password Protected sharing(recommended)


    Restart
    Logon same account

    ****Restart the Router*** - most important step!!
    (if a built in router/modem, restart the modem)

    Then issue the command via Command Com(Admin)or Powershell(Admin)issuing >>> NET VIEW /NETWORK
    and
    NET VIEW

    Just curious, but what is the purpose of restarting the router?


    It might affect DHCP, but the VM Guest seems to be on the same subnet as the Host.
    By firing up a third OS, I can at least see some things work, so I'm not convinced
    a router is in the picture.

    It remains a mystery. I thought the discovery procedure was essentially contained within a LAN, meaning there wouldn't have to be a router in the picture at all, but perhaps there's an option somewhere to retrieve OUI info from the Internet to help identify the various MAC addresses? Even if so, I wonder why one would be asked to reboot the router, and I especially wonder why that step would be considered to be "****Restart the Router*** - most important step!!".

    <snip>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bernard Peek@21:1/5 to Mr. Man-wai Chang on Sun Oct 6 17:43:06 2024
    XPost: alt.msdos.batch.nt, alt.comp.os.windows-11

    On 2024-09-24, Mr. Man-wai Chang <toylet.toylet@gmail.com> wrote:
    On 24/9/2024 4:55 am, Tom Del Rosso wrote:
    This is easy in a domain, but the problem is peer-to-peer at home.

    To get a list of computers in the network, this usually works:

    NET VIEW /NETWORK

    This commmand relies on SMB 1.0, which is disabled (if not deprecated)
    in Windows 10 and 11. You need to enable SMB 1.0 first in Windows Features.

    Hopefully remembering to disable it again immediately afterwards. It's
    disable for a reason.

    --
    Bernard Peek
    bap@shrdlu.com
    Wigan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)