Samba Shares stopped working after recent Windows 10 update
-
Try accessing the shares directly, e.g. via
\\retropie\roms
.
You can also try to map theroms
folder as a drive and provide the user -pi
- and password during the creation of the mapping. -
@mitu I tried mapping the
roms
folder to a drive using\\[my Raspi IP]\roms
but the folder can't be found. I double checked that my raspi's IP is the same as before and it's still connected to my Wifi network like before. In addition to Windows updating recently, I also updated my raspi's password not too long before that. Could that be the issue? I changed the password for the\\RETROPIE
drive I created just to see if that was the issue, but it didn't seem to work for that drive.
Is it also possible certain Windows permission were switched after the update? Off the top of my head I don't know which permissions should be config'd.
-
If you changed
pi
user's password, then check in Windows credentials manager if you have a credential for the\\retropie
system associated. If yes, then delete it and try mapping again the folder. -
@mitu I deleted and created new credentials for
\\retropie
and\\retropie\roms
but I'm still not connecting to the raspi. I tried adding a network location for\\[myRaspiIP]\roms
but it also gave me the messageThe folder you entered does not appear to be valid. Please choose another.
It's as if my raspi's IP is not recognized, even though I know it's correct. -
@philbobaggins You screenshot doesn't show the path you're trying to add. Make sure you're using 2 backslashes when entering the location
\\retropie_ip\roms
. -
@mitu I used two backslashes for the location.
I'm also able to ping my retropie from my PC.
-
Then I have no idea. I can't reproduce this and not sure what causes it - I have the latest updates on Win10 and the mapping or browsing still works.
What Windows edition do you have and which release ?
-
-
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.
-
@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?
-
@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.
-
@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.
-
@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?
-
@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 withsystemctl status smbd systemctl status nmbd
-
@mitu I don't understand the entire output but it looks like Samba is running fine.
-
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. -
@philbobaggins Please open the command prompt in Windows 10 and run:
net use r: \\retropie\roms
-
@mitu Could this have to do with the disabling of SMBV1? Would forcing SMB3 on the Pi help with Win 10 communication?
-
@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?
-
@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.
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.