• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Samba Shares stopped working after recent Windows 10 update

Scheduled Pinned Locked Moved Help and Support
sambasamba share notconnection probnetwork share
26 Posts 7 Posters 6.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    PhilboBaggins @mitu
    last edited by 14 Feb 2021, 09:35

    @mitu
    WindowsSpecifications.jpg

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 14 Feb 2021, 09:46

      Windows Education Edition has - by default - disabled guest browsing, this may be the issue here, though this isn't a recent change and I'm surprised you've been able to access \\retropie before any recent updates (or re-installation?).

      Try using SFTP to access RetroPie with WinSCP, instead of file shares.

      P 1 Reply Last reply 14 Feb 2021, 10:03 Reply Quote 0
      • P
        PhilboBaggins @mitu
        last edited by 14 Feb 2021, 10:03

        @mitu I enabled guest browsing initially and got samba shares working (until recently). I have constant connection issues when using SFTP with WinSCP. It keeps trying to connect, and then only connects for 5-10 seconds before it disconnects and tries several times before reconnecting again for 5-10 seconds. This is the reason samba shares has been preferable to me. Is this an experience you've heard of with other users?

        M G 2 Replies Last reply 14 Feb 2021, 13:04 Reply Quote 0
        • M
          mitu Global Moderator @PhilboBaggins
          last edited by 14 Feb 2021, 13:04

          @philbobaggins said in Samba Shares stopped working after recent Windows 10 update:

          Is this an experience you've heard of with other users?

          Honestly, here in the forums at least, your issue seems more prevalent than any SSH/SFTP problems when used to tranfer roms.

          1 Reply Last reply Reply Quote 1
          • G
            gmsinger8808 @PhilboBaggins
            last edited by 14 Feb 2021, 17:34

            @philbobaggins If you go into the RetroPie-Setup Script and access the Samba Share settings under Configuration / tools, then samba, if you click restart Samba Shares, do you get a message about samba.service not found? I'm having the same issue with Samba and I noticed that message. I am running 4.7.7 currently.

            P 1 Reply Last reply 15 Feb 2021, 07:58 Reply Quote 0
            • P
              PhilboBaggins @gmsinger8808
              last edited by 15 Feb 2021, 07:58

              @gmsinger8808 I tried restarting the Samba service and it looks like I'm getting the same error as you are.

              @mitu Do you have any thoughts on what might have changed recently that would cause the service to not be found? I've never tried removing and re-installing Samba shares but do you think it would be worth giving it a try?

              SambaNotFound.jpg

              M 1 Reply Last reply 15 Feb 2021, 08:51 Reply Quote 0
              • M
                mitu Global Moderator @PhilboBaggins
                last edited by 15 Feb 2021, 08:51

                @philbobaggins said in Samba Shares stopped working after recent Windows 10 update:

                I've never tried removing and re-installing Samba shares but do you think it would be worth giving it a try?

                No, I don't think that will make a difference. The restart error is a bug in the config script, the service is not called samba anymore.
                You can check that it's running with

                systemctl status smbd
                systemctl status nmbd
                
                P 1 Reply Last reply 15 Feb 2021, 22:46 Reply Quote 0
                • P
                  PhilboBaggins @mitu
                  last edited by 15 Feb 2021, 22:46

                  @mitu I don't understand the entire output but it looks like Samba is running fine.

                  SambaIsRunning.jpg

                  J 1 Reply Last reply 16 Feb 2021, 18:54 Reply Quote 0
                  • M
                    mitu Global Moderator
                    last edited by mitu 16 Feb 2021, 05:57

                    Yes, it works fine (as expected), the issue is on the Windows side.

                    EDIT: can you try installing wsdd and see if it changes anything on the Windows side ? It's a simple script which you can run from the command line to test if retropie is visible again on the network from Windows.

                    G 1 Reply Last reply 16 Feb 2021, 20:52 Reply Quote 0
                    • J
                      JenGun @PhilboBaggins
                      last edited by 16 Feb 2021, 18:54

                      @philbobaggins Please open the command prompt in Windows 10 and run:

                      net use r: \\retropie\roms
                      
                      P 1 Reply Last reply 16 Feb 2021, 22:51 Reply Quote 0
                      • G
                        gmsinger8808 @mitu
                        last edited by 16 Feb 2021, 20:52

                        @mitu Could this have to do with the disabling of SMBV1? Would forcing SMB3 on the Pi help with Win 10 communication?

                        M 1 Reply Last reply 17 Feb 2021, 05:09 Reply Quote 0
                        • P
                          PhilboBaggins @JenGun
                          last edited by 16 Feb 2021, 22:51

                          @jengun said in Samba Shares stopped working after recent Windows 10 update:

                          net use r: \retropie\roms

                          Interesting. I thought enabling "Enable insecure guest logons" for my Lanman Workstation config would have allowed guest access. Apparently not (see below). I don't suppose you have a solution?

                          SambaBlockGuestAccess.jpg

                          J 1 Reply Last reply 17 Feb 2021, 05:59 Reply Quote 0
                          • M
                            mitu Global Moderator @gmsinger8808
                            last edited by 17 Feb 2021, 05:09

                            @gmsinger8808 said in Samba Shares stopped working after recent Windows 10 update:

                            @mitu Could this have to do with the disabling of SMBV1? Would forcing SMB3 on the Pi help with Win 10 communication?

                            No, it's not a matter of protocol. Both Linux (on the Pi) and Windows don't use SMB1 by default and Windows even disables it by default on new installations since Win 10.

                            1 Reply Last reply Reply Quote 0
                            • J
                              JenGun @PhilboBaggins
                              last edited by 17 Feb 2021, 05:59

                              @philbobaggins

                              I thought enabling "Enable insecure guest logons" for my Lanman Workstation config would have allowed guest access. Apparently not (see below). I don't suppose you have a solution?

                              This registry value should work:

                              [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters] "AllowInsecureGuestAuth"=dword:1
                              
                              P 1 Reply Last reply 17 Feb 2021, 22:57 Reply Quote 2
                              • P
                                PhilboBaggins @JenGun
                                last edited by 17 Feb 2021, 22:57

                                @jengun That did the trick! Thanks a lot for your help and insight. Hopefully this is a solution for others. FYI @gmsinger8808

                                Samba[FIXED].jpg

                                J 1 Reply Last reply 18 Feb 2021, 07:04 Reply Quote 0
                                • J
                                  JenGun @PhilboBaggins
                                  last edited by 18 Feb 2021, 07:04

                                  @PhilboBaggins

                                  @jengun That did the trick! Thanks a lot for your help and insight. Hopefully this is a solution for others. FYI @gmsinger8808

                                  Glad it works because, to be honest, I don't have Windows 10: it remains a mystery to me that helpful error messages only appear on the command line and that updates sometimes overwrite settings. Why SSH doesn't work for you remains to be clarified (in another thread) ... :-)

                                  T 1 Reply Last reply 26 Dec 2022, 15:11 Reply Quote 0
                                  • S stoney66 referenced this topic on 17 Mar 2022, 20:32
                                  • T
                                    TrisM @JenGun
                                    last edited by 26 Dec 2022, 15:11

                                    @PhilboBaggins - thanks for this, annoying Microsoft just disable features and then do not show any alert when attempting to use them. I also see you can edit this via Local Group Policy Editor (https://www.nodeum.io/howto/guest-access-in-smb2-disabled-by-default-in-windows-10)

                                    image2019-8-1_17-26-4.png

                                    A 1 Reply Last reply 26 Dec 2022, 22:38 Reply Quote 0
                                    • A
                                      Ashpool @TrisM
                                      last edited by Ashpool 26 Dec 2022, 22:38

                                      @TrisM Though it is an old thread and I haven't asked/wondered aloud back over nearly 2 years ago, was considering it to be just a SEP. But as you revoked revived the thread I am doing it now, because now I am really puzzled/curious and doubting again: I have Windows 10 Pro on 2 desktop + 1 laptop machines since the EOL of Window 7 and a third desktop setup in 2020. None of them had this behaviour and on all four (3 on 22H2, my laptop still on 21H2) this Group Policy is still defaulting to "Not configured" [edit: besides Mitus remark in the early posts that it is disabled as default on some mints of win10 and that's not including home/pro] . And as Win10 is using "Language Packs" (as it was on xp x64) instead of regional versions of the os itself, I somehow doubt that updates are meddling with those settings differently for different regions and I am still unsure why this was changed on some user systems and whether it truly was done by the M$ Update or by other means and if yes under what circumstances this would have happened.

                                      1 Reply Last reply Reply Quote 0
                                      26 out of 26
                                      • First post
                                        26/26
                                        Last post

                                      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                        This community forum collects and processes your personal information.
                                        consent.not_received