Network Discovery and Sharing (Windows 10 22H2)

Discussion in 'Windows 10' started by Mvp77, Apr 10, 2023.

  1. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    #1 Mvp77, Apr 10, 2023
    Last edited: Apr 10, 2023
    Ok, this is really embarrassing.
    I can't see the other PCs on the LAN.
    I'm on my Desktop PC running Windows 10 Home 22H2.
    Actually I can see them and access shared folders from VirtualBox (installed on the same PC) and I can access this PC from Server (Windows 7 Home SP2).
    I can also ping the Server from my PC.
    So there is a bug on the system or a configuration problem on the Desktop PC.
    I've tried everything (services, SMB, commands and batches, firewall rules, network reset).
    I can't see any PCs in Network and although I activate File and printer sharing in Advanced sharing settings, this is deactivated by the system.
     
  2. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    When I had this kind of problems I always used the same trick, connecting the two computers manually:
    net use * \\ipaddress\sharedfolder /user:username password
    That doesn't work now either.
     
  3. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
    If you have Win7 machines on the net just enable SMB1 from the optional components, and be sure the browser service is enabled

    For recent W10 (1803+) only scenarios enable the service "Function Discovery Resource Publication service"

    For mixed LANs do both things.
     
  4. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    Yes, by enabling the Function Discovery Resource Publication service on the Server, I can now see it in Network folder but I still can't access it.
    I can control it remotely but I have no access from the Network folder.
    I can access the Server from another PC running Windows 10 and the noticeable difference is that on this PC the Computer Browser service is running.
    On the other PC it doesn't, and I can't make it run.
     
  5. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
    I can access the Server from another PC running Windows 10 and the noticeable difference is that on
    Computer Browser Service running =SMB1 installed and working, did you install it on the affected machine?
     
  6. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    Yes.
     
  7. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150

    Then if computer browser service don't start there is a problem with it's installation, try to uninstall the SMB1 protocol > reboot | reinstall > reboot.

    Also the logs could shed some light about why your service don't start
     
  8. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    AllowInsecureGuestAuth trick didn't work.
    Later I'll try to uninstall and reinstall SMB1.
     
  9. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    No way.
    I've tried any possible solution or workaround.
    I will format the PC.
     
  10. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,850
    2,105
    60
    USE PLEX :)

    or VLC
     
  11. nostra

    nostra MDL Novice

    Feb 3, 2010
    26
    38
    0
    1.
    Use administrative shares
    e.g. enter the following in the file manager above (you can also save it as a link)
    \\IP_of_the_target_host\C$
    For this the admin account must be active on the target computer.
    Advantage, you don't have to share manually any more.

    2.
    Create a reg and execute it (Often stands at 0 after an installation without network)
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "LocalAccountTokenFilterPolicy"=dword:00000001
    
    
    3.
    Activate the following in the Windows Firewall of the target computer, if not active
    2x file and printer sharing (SMB incoming) port 445
     
  12. nostra

    nostra MDL Novice

    Feb 3, 2010
    26
    38
    0
    #13 nostra, Apr 11, 2023
    Last edited: Apr 11, 2023
    This is what it looks like with me and Directory Opus.
    Picture 1
    A complete bar of my PCs via LAN as well as WLAN access to all partitions.

    Picture 2
    An example of which command is behind the access.

    Picture 3
    Access to partition C of my laptop


    upload_2023-4-11_3-35-13.png
    upload_2023-4-11_3-35-29.png
    upload_2023-4-11_3-41-6.png
     

    Attached Files:

  13. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    Thanks for the advice, but there is no problem on the target computer; I can access the server from another computer.
    There is something corrupt in the system of one fo my PCs; sfc /scannow fixed something, but didn't solve the problem.
    It is preferable to format rather than waste time reading logs or trying to understand what to do (if there's something that can be done).
    Some services do not start.
     
  14. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    Ok the conclusion is that using the Computer Browser service for Network Discovery is useless and in some cases impossible.
    Don't ask me why it starts on one PC and doesn't on the other... Microsoft systems are s**t.
    Just set the Function Discovery services on Auto on both PCs.
     
  15. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150

    Computer browser is the old way, its needed when the network is mixed.

    Like I said you can have old services, new services or both, that's all.

    Then, again you may have a computer browser service enabled and running that do nothing useful, for various reasons.

    But if id doesn't start at all you have a problem on your windows installation, do an in place upgrade and that (hopefully) will fix this and other hidden problem you may have.