[SOLVED] SMB shares and Windows 10

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
leafstk
Posts: 15
Joined: Sat Mar 23, 2013 11:51 am
Has thanked: 4 times

[SOLVED] SMB shares and Windows 10

Post by leafstk » Wed Jan 06, 2016 2:09 am

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 :(

User avatar
professor_jonny
Posts: 1244
Joined: Thu Jul 05, 2012 5:41 am
Location: New Zealand
Has thanked: 56 times
Been thanked: 181 times

Re: SMB shares and Windows 10

Post by professor_jonny » Wed Jan 06, 2016 3:40 am

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

leafstk
Posts: 15
Joined: Sat Mar 23, 2013 11:51 am
Has thanked: 4 times

Re: SMB shares and Windows 10

Post by leafstk » Wed Jan 06, 2016 4:44 am

I will give that a try, thank you very much! :)

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

User avatar
Dan Dar3
Posts: 1159
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 251 times
Been thanked: 248 times
Contact:

Re: SMB shares and Windows 10

Post by Dan Dar3 » Wed Jan 06, 2016 11:51 pm

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

User avatar
Feeder
Posts: 13
Joined: Wed Jan 06, 2016 11:35 pm
Location: Calgary, Alberta, Canada
Has thanked: 1 time
Been thanked: 9 times

Re: SMB shares and Windows 10

Post by Feeder » Thu Jan 07, 2016 12:27 am

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.
Image

leafstk
Posts: 15
Joined: Sat Mar 23, 2013 11:51 am
Has thanked: 4 times

Re: SMB shares and Windows 10 [SOLVED]

Post by leafstk » Thu Jan 07, 2016 3:36 am

Thanks everyone for your help and suggestions, I tried them all and everything seems to be working ok now :)

fxmech
Posts: 673
Joined: Wed Aug 01, 2012 9:15 am
Has thanked: 37 times
Been thanked: 46 times

Re: SMB shares and Windows 10

Post by fxmech » Thu Jan 07, 2016 5:09 am

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.

User avatar
professor_jonny
Posts: 1244
Joined: Thu Jul 05, 2012 5:41 am
Location: New Zealand
Has thanked: 56 times
Been thanked: 181 times

Re: SMB shares and Windows 10

Post by professor_jonny » Thu Jan 07, 2016 5:39 am

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.

gogotek
Posts: 1
Joined: Fri Mar 18, 2016 9:40 pm

Re: [SOLVED] SMB shares and Windows 10

Post by gogotek » Fri Mar 18, 2016 9:59 pm

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. :)

User avatar
professor_jonny
Posts: 1244
Joined: Thu Jul 05, 2012 5:41 am
Location: New Zealand
Has thanked: 56 times
Been thanked: 181 times

Re: [SOLVED] SMB shares and Windows 10

Post by professor_jonny » Sat Mar 19, 2016 9:57 am

The reg fix is only of importance if you are signed in to your pc with a live account (Microsoft account).

Post Reply