From Official Kodi Wiki
Revision as of 23:13, 16 July 2018 by Karellen (talk | contribs) (added outdated cleanup tags)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home icon grey.png   ▶ SMB ▶ Windows

This page or section has not been updated in a long time, no longer applies, refers to features that have been replaced/removed, and/or may not be reliable.

This page is only kept for historical reasons, or in case someone wants to try updating it.

Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.

1 Windows Vista

Sharing files and printers. This area requires details from a Windows Vista and Kodi user.

2 Windows 7

For input on improving this Wiki please visit this thread: SMB Windows 7.

If you are new to Kodi or Windows 7, please post feedback about this wiki in the above thread

2.1 Assumptions

- Using a genuine x86_64 (64bit) or x86 (32bit) version of Windows 7 with all available and stable BIOS, driver and Windows updates completed.

- Haven't significantly modified Windows after installation (i.e made registry edits).

- Connected or ability to connect to a functioning private (home) wireless or wired network. Add a device or computer to a network

- The Windows user (Administrator is preferable) that has Kodi installed, requires a password to login. Create a user account

- Using a stable release of Kodi: Kodi Download

2.2 Homegroup method

The following procedure demonstrates how to establish a Homegroup within Windows 7 and how to share a file and/or folder. This is the basis for utilising Windows Network (SMB) shares for Kodi:

2.3 "Share with" method

This method give full control over setup of the sharing options.

Windows 7 (x64) users : You must uninstall Windows Live Sign-in Assistant for sharing to work. Reasons are unclear as why you need to do that.

SMB is an easy and standard way to share your media to all your computers and HTPCs on your network. However, Microsoft is making it more and more difficult to share using SMB in Windows. You have to turn off Homegroup and do all sorts of other messy things. The following is a guide to quickly and easily turn SMB sharing on in Windows 7.

2.4 Troubleshooting

If you require further information than what is listed below, post your issue in Windows General Support with a full Log_file.

Android Throughput Timeout Issue - Refer to 'Further Reading' for more information from Microsoft.

2.5 Conclusion

Now you can add your sources in Kodi without difficulty, but the guide to Kodi sources and scraping is in the Wiki and doesn't need to be repeated here.

3 Windows 10

Using the Homegroup method:

3.1 Troubleshooting

3.1.1 Connection Timed Out

When sharing folders from a Windows 10 host that you need to connect to with Kodi, you may repeatedly get the message "Connection Timed Out" from Kodi when trying to connect. This may be because SMB 1.0/CIFS File Sharing Support is not enabled in Windows.

Check by typing Turn Windows features on or off in the Type here to search box in your taskbar (on the server that you're sharing folders from) and select the best match:

2017-11-14 08-23-47.png

In the Windows Features window that opens, scroll down and make sure that the checkbox for SMB 1.0/CIFS File Sharing Support is checked, and all of the check-boxes below are checked as well. If not, check them off, click OK, and restart your computer. This will enable an older protocol version that Kodi supports.

OptionalFeatures 2017-11-14 08-24-53.png

Try connecting from Kodi again.

4 Fixes

4.1 Timeout

SMB sources may time out (FAILED CONNECTION) for some devices, regardless of the configuration settings above when connecting a front end to the backend (or Main) installation. Usually this will persist and then stop, and repeat the condition, garnering much frustration.

This can cause a various amount of issues, including removal of library files upon update, or cleaning of libraries. The below is a possible solution stabilize those that have the persistent "failed connection" state for SMB in KODI.

WARNING: You attempt registry entry editing at your own risk. Incorrect configuration could cause you to reload your operating system. It is recommended you attempt this fix ONLY if it is required.

This is based off of a WIN 7 kb:

From the kb, edit the following entry:


Your choices for this registry key are 1,2 and 3.

1 = Minimize Memory Used

2 = Balance

3 = Maximize Throughput for File Sharing and Maximize Throughput for Network Applications

Ensure size is set to "3". This has cleared the intermittent issues on failed SMB connections from the backend to a front end device. This has been verified on various devices, such as Ouya, Matricom devices, Fire TV stick, and others.

The other options in the kb may be tried, but success has been accomplished with this one setting.

4.2 Windows 8.1 fix

Users can use the Windows 7 instructions but should also do the following if they have issues with protected shares:

SMB Windows 8.1.png

  1. Plain share doesn't seem to be used or doesn't work with Kodi's samba; Use Advanced Sharing
  2. "Share this folder"
  3. Click "Permissions"
  4. Add appropriate users and permissions

5 Further reading