[XBOX] HOW-TO fix Windows Vista and Windows 7 SMB Shares for XBMC
Thumbs Up 
Anyone who's recently updated their PC to Windows 7 RC probally has noticed issues with SMB Shares when connecting to shares from the xbox, either not connecting at all and requiring password to reports of dropping connection randomly.

After much frustration and 10,000 different suggestions to try that didn't work in getting Windows 7 SMB shares to work with XBMC for Xbox, I finally found one post talking about MTU settings on the PC being the culprit.

Sure enough, on my PC that did the trick. But since I changed many other settings, I applied the MTU change on a 2nd PC that also did not work running windows 7 as the ONLY change - and SMB shares are now working as they once did in Windows XP. So i've confirmed it is solely the MTU issue causing SMB to not work and all the other suggestions are not needed.

To apply the fix, open start menu, and in the search box type cmd but don't press enter.

On the search results, right click on cmd.exe and click Run as Administrator
click yes to UAC permission prompt.
Once Command Prompt is open, paste the following command
netsh int tcp set global autotuninglevel=disabled

This disables auto tuning MTU values which is whats causing the problem (XP and earlier used static MTU)

But now you need to go SPECIFY the MTU to use.

press Windows+R to open Run, and type regedit
Click yes on the UAC permission prompt and regedit will open.

On the left you will see a tree structure of folders, you want to open the following path:


So in other words. you click the HKEY_Local_Machine folder, then you click the SYSTEM folder, then the CurrentControlSet folder... etc until your at Interfaces.

Under interfaces you will see 1 or more folders with a bunch of random numbers and letters

Theres no easy way to tell which you want, but when you click on 1 you should see alot of data popup on the right.

If you know your computers private IP address, simply click each one until you see the one that has DhcpIPAddress that matches your IP.

If you can't figure out which one is the one you want, simply do the next step for every single one under Interfaces.

When you click on your interface, go to Edit -> New -> DWORD (32 bit) Value
enter the name "MTU" in all capitols (without the " " around it).

Now it'll be on the list, double click it to edit it.

On the entry box, you should see it have HEX selected, enter the value:
If you wish to input DEC (Decimal, normal numbers), use 1492 instead.
Press OK.

Now on the MTU entry it should look like this

MTU              REG_DWORD         0x000005d4 (1492)

If you need to repeat this for every interface, do this now. Just need to add the MTU key with value of 1492 for your interfaces.

Once you are finished, reboot and you can now access smb://user:[email protected]/sharename/ as normal, or simply smb://yourPCname/sharename/ if you have user/pass saved under Network settings in XBMC Settings.

I don't take credit for this fix, I found it on some forum god knows where, but I figured id write up a noob friendly guide so hopefully a mod will sticky it to help everyone else having this problem. (Searching for SMB Share problems on vista/windows 7 will result in tons of results, many people are having this issue)

Messages In This Thread
[XBOX] HOW-TO fix Windows Vista and Windows 7 SMB Shares for XBMC - by Aikar - 2009-05-30, 08:36
[No subject] - by tetsuo55 - 2009-05-30, 22:39
[No subject] - by Aikar - 2009-05-31, 06:14
[No subject] - by tetsuo55 - 2009-05-31, 14:49
[No subject] - by waldo22 - 2009-05-31, 15:36
[No subject] - by LoTekJunky - 2009-06-01, 06:25
[No subject] - by tetsuo55 - 2009-06-01, 12:48
[No subject] - by aequitasoz - 2009-06-02, 14:55
[No subject] - by aequitasoz - 2009-06-03, 09:59
[No subject] - by mcborzu - 2009-06-27, 17:43
[No subject] - by imaxst - 2009-06-28, 13:03
[No subject] - by yackal - 2009-06-29, 16:04
[No subject] - by yackal - 2009-06-30, 01:54
[No subject] - by DreamWalker - 2009-06-30, 02:17
[No subject] - by d3fiant - 2009-07-10, 10:37
Small Trick I Used - by Monarch - 2009-07-22, 19:52
[No subject] - by fdrzrich - 2009-07-23, 12:33
[No subject] - by thescamp - 2009-12-04, 00:23
[No subject] - by wstewart - 2009-12-04, 03:45
[No subject] - by qtip - 2010-02-01, 08:17
[No subject] - by heemid17 - 2010-02-01, 18:38
[No subject] - by qtip - 2010-02-02, 09:13
[No subject] - by johnnof - 2010-02-02, 17:09
[No subject] - by qtip - 2010-02-02, 20:29
[No subject] - by johnnof - 2010-02-03, 17:26
[No subject] - by vahnx - 2010-12-30, 21:44

Logout Mark Read Team Forum Stats Members Help
[XBOX] HOW-TO fix Windows Vista and Windows 7 SMB Shares for XBMC0
This forum uses Lukasz Tkacz MyBB addons.