Page 1 of 1

[SOLVED] SMB shares and Windows 10

Posted: Wed Jan 06, 2016 2:09 am
by leafstk
Hi there,

I've always loved streaming my media through XBMC, so thanks everyone and Buzz for all that you do!

I've never had problems accessing SMB shares until I switched over to Windows 10. This was never an issue with Windows 7 Ultimate.. should never have upgraded :/
I've searched for solutions online and at Microsoft support and seen various suggestions but nothing is doing it for me. I can see the WORKGROUP in xbmc but as soon as I go to click on my "Movies" or any folder on my NAS... nothing happens.

Is anyone else experiencing this problem? Has anyone found a way to figure this out??? Please help :(

Re: SMB shares and Windows 10

Posted: Wed Jan 06, 2016 3:40 am
by professor_jonny
Have you set your computer to login with a Microsoft account? if so you can't provide a share using an insecure method such as smb it require a secure method such as a homegroup this is the new grouppolicy with win 10 it explains it somewhere in the new smb3 documentation.

Your options are to either sign in with a local account or apply the patch below to allow Insecure Guest Authorisation for smb.

cut and paste the below into a txt editor and rename it to .reg and import it into your registry.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"AllowInsecureGuestAuth"=dword:00000001

This was one of the first annoyance I found with win 10 and I don't think there is a simple method to change the group policy directly with out a reg editor or reg patch.

you must make sure the user everyone has security access to the share also like what you did with windows 7

Re: SMB shares and Windows 10

Posted: Wed Jan 06, 2016 4:44 am
by leafstk
I will give that a try, thank you very much! :)

Yeah frustrating. It never occurred to me that this would be an issue.

Re: SMB shares and Windows 10

Posted: Wed Jan 06, 2016 11:51 pm
by Dan Dar3
Also consider switching from 128 bit encryption to 40 or 56 bit to support older SMB clients - go to Network and Sharing Center > Change advanced sharing settings (left) > Private or All Networks > File Sharing connections section.

Might help to see more from a debug log.
http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=6&t=65

Re: SMB shares and Windows 10

Posted: Thu Jan 07, 2016 12:27 am
by Feeder
Ah yes, the great switch to Windows 10. I made the same move a couple of months back and I don't have too much to complain about. I did however run into two problems that impacted my ability to share with some of my other home systems.

First I had to re-join my homegroup on my windows 10 machine. Fortunately I was able to get my password from one of my other Windows PCs.

A bit later I noticed shares for the media center not working. I just checked my registry and 'AllowInsecureGuestAuth' is set to 1 for me.

You may also want to navigate to: Control Panel > Network and Internet > Network and Sharing Center > Advanced sharing settings

Then expand the 'All Networks' section and look for your 'Password Protected Sharing' setting. I have various shares on my internal network that I don't mind giving anonymous access to so I turned off my password protected sharing. I found this helped in my instance.

Re: SMB shares and Windows 10 [SOLVED]

Posted: Thu Jan 07, 2016 3:36 am
by leafstk
Thanks everyone for your help and suggestions, I tried them all and everything seems to be working ok now :)

Re: SMB shares and Windows 10

Posted: Thu Jan 07, 2016 5:09 am
by fxmech
AFAIK it has been this way since Win7? Or was it a service pack update that brought Win7 to this standard after the fact?

Generally, unless you are on a secure connection or a completely untrusted network, you should always set a password for your Administrator. It is just best practice anyway.

Re: SMB shares and Windows 10

Posted: Thu Jan 07, 2016 5:39 am
by professor_jonny
fxmech wrote:AFAIK it has been this way since Win7? Or was it a service pack update that brought Win7 to this standard after the fact?

Generally, unless you are on a secure connection or a completely untrusted network, you should always set a password for your Administrator. It is just best practice anyway.
not sort of the same thing really.

windows 10 now added the necessity to have a trust relation ship between computers in a private network that is really the only difference except for smb3 that came with win 10.

if you have your computer linked to a Microsoft account it blocks the ability for guests to connect to the network and mess with fileshares reason is that someone could login and drop malicious code on the share that could compromise the network, as with a Microsoft account you can link it in to your shop etc some one could go wild and zap your credit card etc...
it is just to add security on top of what win 7 and 8 had because of the new online live account system and shop intergration.

Re: [SOLVED] SMB shares and Windows 10

Posted: Fri Mar 18, 2016 9:59 pm
by gogotek
I believe I am in the correct thread, but want to make certain before I make changes to my reg. I've had no trouble with my SMB shares on Windows 10 until very recently, and suspect that an OS update a couple days back caused SMB sharing to persistently fail (keeps asking for the username and password).

Just wanted confirm that this is a similar issue (and wondering why it would work for a while, and then stop). Thanks in advance for any insight/advice. :)

Re: [SOLVED] SMB shares and Windows 10

Posted: Sat Mar 19, 2016 9:57 am
by professor_jonny
The reg fix is only of importance if you are signed in to your pc with a live account (Microsoft account).