Archive:SMB/Windows: Difference between revisions
(added outdated cleanup tags) |
|||
(27 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{mininav| [[SMB]] }} | {{mininav| [[SMB]] }} | ||
{{outdated}} | |||
{{cleanup}} | {{cleanup}} | ||
== Windows Vista == | == Windows Vista == | ||
[http://windows.microsoft.com/en-us/windows/sharing-files-printers-help#sharing-files-and-printers=windows-vista&v1h=win81tab1&v2h=win7tab1&v3h=winvistatab1&v4h=winxptab1 Sharing files and printers] | [http://windows.microsoft.com/en-us/windows/sharing-files-printers-help#sharing-files-and-printers=windows-vista&v1h=win81tab1&v2h=win7tab1&v3h=winvistatab1&v4h=winxptab1 Sharing files and printers]. This area requires details from a Windows Vista and Kodi user. | ||
== Windows 7 | == Windows 7 == | ||
For input on improving this Wiki please visit this thread: [http://forum.kodi.tv/showthread.php?tid=232663 SMB Windows 7].''' | |||
'''If you are new to Kodi or Windows 7, please post feedback about this wiki in the above thread''' | '''If you are new to Kodi or Windows 7, please post feedback about this wiki in the above thread''' | ||
Line 14: | Line 16: | ||
- Using a genuine | - 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). | - Haven't significantly modified Windows after installation (i.e made registry edits). | ||
Line 20: | Line 22: | ||
- Connected or ability to connect to a functioning private (home) wireless or wired network. [http://windows.microsoft.com/en-au/windows/add-device-computer-to-network#1TC=windows-7 Add a device or computer to a network] | - Connected or ability to connect to a functioning private (home) wireless or wired network. [http://windows.microsoft.com/en-au/windows/add-device-computer-to-network#1TC=windows-7 Add a device or computer to a network] | ||
- The Windows user that has Kodi installed, requires a password to login. [http://windows.microsoft.com/en-au/windows/create-user-account#create-user-account=windows-7 Create a user account] | - The Windows user (Administrator is preferable) that has Kodi installed, requires a password to login. [http://windows.microsoft.com/en-au/windows/create-user-account#create-user-account=windows-7 Create a user account] | ||
- Using a stable release of Kodi: [http://kodi.tv/download/ Kodi Download] | - Using a stable release of Kodi: [http://kodi.tv/download/ Kodi Download] | ||
=== | === 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: | 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: | ||
Line 61: | Line 63: | ||
</gallery> | </gallery> | ||
<section end="Sharing files or folders" /> | <section end="Sharing files or folders" /> | ||
'''Step 4''': Adding an SMB source within Kodi | |||
* When using the [[Adding_video_sources]] procedure, select 'Windows network (SMB) at '''Step 4'''. | |||
* You may be prompted for a username and password, this is your Windows logon details. | |||
* Select your shared folder | |||
* Resume [[Adding_video_sources]] from '''Step 5'''. | |||
{{collapse bottom}} | |||
=== "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. | :'''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 [http://en.wikipedia.org/wiki/Home_network#Home_group 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. | 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 [http://en.wikipedia.org/wiki/Home_network#Home_group 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. | ||
{{collapse top|Click "Expand" to see the | {{collapse top|Click "Expand" to see the Guide steps}} | ||
'''Preparation''' | |||
As a initial step, you should be connected to your network. I, personally, am connected using a LAN cable and have been provided an IP address by my router using DHCP. If you prefer to use Static IP, there should be no real problem. If you can see the internet, you should be connected enough to the router for our purposes. Also, when you are first connecting your Windows 7 computer to your network, it will ask if you are connecting to Home, Work, or a Public network. This guide presumes that you selected Home. The same steps ''should'' work if you selected Work. They will almost certainly not work if you selected Public. Also, sometimes you will be asked to be certain if you want to do something or you will be asked to go up a level in clearance to do something. This guide presumes that you agree to all of that. | As a initial step, you should be connected to your network. I, personally, am connected using a LAN cable and have been provided an IP address by my router using DHCP. If you prefer to use Static IP, there should be no real problem. If you can see the internet, you should be connected enough to the router for our purposes. Also, when you are first connecting your Windows 7 computer to your network, it will ask if you are connecting to Home, Work, or a Public network. This guide presumes that you selected Home. The same steps ''should'' work if you selected Work. They will almost certainly not work if you selected Public. Also, sometimes you will be asked to be certain if you want to do something or you will be asked to go up a level in clearance to do something. This guide presumes that you agree to all of that. | ||
'''Guide''' | |||
{| class="prettytable" style="font-size:1.0em;line-height:150%;" | {| class="prettytable" style="font-size:1.0em;line-height:150%;" | ||
|- | |- | ||
Line 131: | Line 134: | ||
|} | |} | ||
{{collapse bottom}} | |||
=== Troubleshooting === | |||
If you require further information than what is listed below, post your issue in [http://forum.kodi.tv/forumdisplay.php?fid=59 Windows General Support] with a full [[Log_file]]. | |||
[http://forum.kodi.tv/showthread.php?tid=184785&pid=1615607#pid1615607 Android Throughput Timeout Issue] - Refer to 'Further Reading' for more information from Microsoft. | |||
=== Conclusion === | === Conclusion === | ||
Line 137: | Line 147: | ||
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. | 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. | ||
''' | == Windows 10 == | ||
Using the Homegroup method: | |||
{{collapse top|Click "Expand" to see the Guide steps}} | |||
'''Step 1''': Creating a Homegroup | |||
Points to note: Step 1 can be completed during OS installation. | |||
* In the search bar, type and select 'Control Panel' | |||
* Within Control Panel, Type Homegroup in the search box | |||
* Click on Homegroup | |||
<gallery widths=500px heights=313px> | |||
File:WIN_SMB_01.jpg|* Click on Create a Homegroup | |||
File:WIN10_SMB_02.jpg| * Note down password (only required for a Windows PC to access a Homegroup) | |||
</gallery> | |||
* Select what Libraries you would like to share, if any | |||
* You have created a Homegroup | |||
'''Step 2''': Joining a Homegroup | |||
Points to note: You need to join a Homegroup to be able to share with a Homegroup | |||
* In the search bar, type and select 'Control Panel' | |||
* Within Control Panel, Type Homegroup in the search box | |||
* Click on Homegroup | |||
* Click on Join Now | |||
* Enter password noted down from Step 1 | |||
* You have joined a Homegroup | |||
'''Step 3''': Sharing files or folders | |||
Points to note: Only share a file or folder, '''DO NOT''' share a complete drive e.g. E:\ | |||
<section begin="Sharing files or folders" /> | |||
<gallery widths=500px heights=313px> | |||
File:WIN10_SMB_03.jpg|* Select file/folder by single left clicking. | |||
File:WIN_SMB_04.jpg|* Share with > Homegroup (Read/Write). | |||
</gallery> | |||
<section end="Sharing files or folders" /> | |||
'''Step 4''': Adding an SMB source within Kodi | |||
* When using the [[Adding_video_sources]] procedure, select 'Windows network (SMB) at '''Step 4'''. | |||
* You may be prompted for a username and password, this is your Windows logon details. | |||
* Select your shared folder | |||
* Resume [[Adding_video_sources]] from '''Step 5'''. | |||
{{collapse bottom}} | |||
=== Troubleshooting === | |||
==== 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: | |||
[[File:2017-11-14_08-23-47.png|300px]] | |||
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. | |||
[[File:OptionalFeatures_2017-11-14_08-24-53.png|400px]] | |||
Try connecting from Kodi again. | |||
== Fixes == | |||
=== 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. | 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. | ||
Line 165: | Line 242: | ||
The other options in the kb may be tried, but success has been accomplished with this one setting. | The other options in the kb may be tried, but success has been accomplished with this one setting. | ||
=== Windows 8.1 fix === | |||
== Windows 8.1 fix == | |||
Users can use the Windows 7 instructions but should also do the following if they have issues with protected shares: | Users can use the Windows 7 instructions but should also do the following if they have issues with protected shares: | ||
Line 177: | Line 252: | ||
#Click "Permissions" | #Click "Permissions" | ||
#Add appropriate users and permissions | #Add appropriate users and permissions | ||
== Further reading == | == Further reading == | ||
* [ | * [https://support.microsoft.com/en-au/help/17145/windows-homegroup-from-start-to-finish HomeGroup from start to finsih] - Multi step guide provided by Microsoft for Windows 7, 8.1 & 10 | ||
* [http://www.admin-magazine.com/Articles/Linux-with-Windows-8 Linux and Windows 8 Interoperability] - Some notes about SMB sharing with Windows 8 | * [http://www.admin-magazine.com/Articles/Linux-with-Windows-8 Linux and Windows 8 Interoperability] - Some notes about SMB sharing with Windows 8 | ||
* [https://support.microsoft.com/en-us/kb/232271 How to Optimise Windows NT Server Using the Registry] - Microsoft Throughput timeout issue | * [https://support.microsoft.com/en-us/kb/232271 How to Optimise Windows NT Server Using the Registry] - Microsoft Throughput timeout issue | ||
* http://www.pctools.com/guides/registry/detail/54/ | |||
* http://openelec.tv/forum/76-network-filesystems/50297-smb-not-working#50301 | |||
{{Helix updated}} | {{Helix updated}} | ||
Revision as of 23:13, 16 July 2018
SMB | Windows |
THIS PAGE IS OUTDATED:
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. |
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. |
Windows Vista
Sharing files and printers. This area requires details from a Windows Vista and Kodi user.
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
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
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:
Click "Expand" to see the Guide steps |
---|
Step 1: Creating a Homegroup Points to note: Step 1 can be completed during OS installation.
Points to note: You need to join a Homegroup to be able to share with a Homegroup
Points to note: Only share a file or folder, DO NOT share a complete drive e.g. E:\
Step 4: Adding an SMB source within Kodi
|
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.
Click "Expand" to see the Guide steps | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Preparation As a initial step, you should be connected to your network. I, personally, am connected using a LAN cable and have been provided an IP address by my router using DHCP. If you prefer to use Static IP, there should be no real problem. If you can see the internet, you should be connected enough to the router for our purposes. Also, when you are first connecting your Windows 7 computer to your network, it will ask if you are connecting to Home, Work, or a Public network. This guide presumes that you selected Home. The same steps should work if you selected Work. They will almost certainly not work if you selected Public. Also, sometimes you will be asked to be certain if you want to do something or you will be asked to go up a level in clearance to do something. This guide presumes that you agree to all of that. Guide
|
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.
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.
Windows 10
Using the Homegroup method:
Click "Expand" to see the Guide steps |
---|
Step 1: Creating a Homegroup Points to note: Step 1 can be completed during OS installation.
Points to note: You need to join a Homegroup to be able to share with a Homegroup
Points to note: Only share a file or folder, DO NOT share a complete drive e.g. E:\
Step 4: Adding an SMB source within Kodi
|
Troubleshooting
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:
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.
Try connecting from Kodi again.
Fixes
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: http://support.microsoft.com/kb/232271
From the kb, edit the following entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\size
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.
Windows 8.1 fix
Users can use the Windows 7 instructions but should also do the following if they have issues with protected shares:
- Plain share doesn't seem to be used or doesn't work with Kodi's samba; Use Advanced Sharing
- "Share this folder"
- Click "Permissions"
- Add appropriate users and permissions
Further reading
- HomeGroup from start to finsih - Multi step guide provided by Microsoft for Windows 7, 8.1 & 10
- Linux and Windows 8 Interoperability - Some notes about SMB sharing with Windows 8
- How to Optimise Windows NT Server Using the Registry - Microsoft Throughput timeout issue
- http://www.pctools.com/guides/registry/detail/54/
- http://openelec.tv/forum/76-network-filesystems/50297-smb-not-working#50301