Easy Kodi SMB Setup for Windows – Fix Operation Not Permitted Error


This is an easy Kodi SMB setup for Windows guide that will walk you through the process and fix the dreaded Operation Not Permitted error. Setting up SMB on Kodi is pretty simple. Once fully setup, you can enjoy your media from Kodi.

There are two main steps for an easy Kodi SMB setup on Windows. The first step has two parts, making sure SMB is enabled on Windows, and that you are properly sharing the folders your media lives in on Windows. The second step is properly configuring the Kodi SMB setup. Doing this will ensure you don’t have any Operation Not Permitted errors.

Every couple of years, it seems, I am setting up some device with Kodi. After all, Kodi is my go-to platform for viewing my media and what I recommend to anyone and everyone who will listen. Kodi does everything I want it to do and has never given me many issues. I have set up FireTV Sticks, nVidia Shields, generic Android boards, Android phones, Windows machines, etc.

The only real issue I have had, multiple times, was setting up my SMB shares. This easy Kodi SMB setup guide will step you through it. Having issues when trying to connect with no user? Or seeing the ‘Operation not permitted’ error? Let me assist.

Easy Kodi SMB Setup Guide

Before beginning, make sure you have SMB enabled on the computer that has all of your media on it and that you are properly sharing your folders. If you need assistance with that, I have a full guide to Setup SMB File Shares on Windows. This will walk you through enabling SMB on Windows and also show you how to set up your folders to be shared so Kodi can see them.

After setting up everything on Windows, launch Kodi and you will need to navigate to the Videos section and select the Add Videos… option. This will bring a up a new pop-up screen to select the source and name the media. Now, select the Browse option so we can start configuring our SMB source.

For Easy Kodi SMB Setup, start by selecting the Browse option

Next, you will be presented with a list of different source types. You can try selecting Windows network (SMB) and see if your source automatically pops up. But my experience with this option has never worked. I just end up manually configuring my SMB source. Which is what we are going to do now! Let’s begin by selecting the Add network location… option.

Then continuing with the Easy Kodi SMB Setup, select the Add network location option.

After selecting Add network location… you will be presented with a new pop-up. Configure this pop-up by selecting Windows network (SMB) option from the Protocol dropdown. Now, in the Server name field, enter the IP address that your source resides at.

Next, if you plan to use a user account, configure the Username and Password fields with the user you will login with. Finally, select OK and you should see your file structure and can then navigate to the desired media folders.

To finish the Easy Kodi SMB Setup, enter the source's IP address and user credentials into the fields and select OK.

Operation Not Permitted & No Windows User

If you see this message, trying giving these suggestions a try.

After following Easy Kodi SMB Setup, you still get Operation not permitted?

First of all, make sure you are using the Windows network (SMB) option from the Protocol dropdown. Also, ensure your Server name field, Username field and Password field are properly configured and don’t contain typos.

If you are attempting to login to your Windows SMB source without a User and you setup your SMB file shares using the everyone user, you will need to still fill out the Username and Password. For the Username, put ‘everyone‘ without the quotes. For the Password, put a single empty space. It will be represented as a single asterisk. Then select OK and you should then see your folder structure.

The last Easy Kodi SMB Setup tip for trying to connect to a Windows SMB share using the everyone user and a blank space for the password

If you are still experiencing the Operation Not Permitted message, then you are either have connectivity issues with your network, or the SMB file share is not properly setup on the computer with the media files. You will need to double check your settings there and redo the setup on Kodi afterwards.

Conclusion

Kodi is a wonderful piece of software that can cause a few minor hiccups for some along the way. Hopefully this guide has assisted you in setting up your SMB shares properly so you can move on and finish the setup process. Allowing you to enjoy your media collection quicker! Feel free to leave a comment if you have any questions or need some assistance. I will do my best to try and help!

You May Also Enjoy

Quick and Easy Set Static IP Address on Linux Guide

A command line terminal showing some of the Linux set static IP address commands on it.

A super simple and fast guide for setting a static IP address on Linux using the nmcli utility!

Quickly Setup SMB File Shares on Windows

A photo for the article Setup SMB File Shares on Windows showing a the Windows logo with a plus symbol and the text 'SMB'

A guide to help quickly setup SMB File Share on Windows, start to finish.

Setting Up WiFi on Ubuntu Command Line

A command line prompt for setting up WiFi on Ubuntu CLI

A quick step-by-step guide for setting up WiFi on Ubuntu using the command line.


Posted in

Comments

13 responses to “Easy Kodi SMB Setup for Windows – Fix Operation Not Permitted Error”

  1. Kadu! Avatar
    Kadu!

    Obrigado! Vocês resolveram meu problema!
    Quanto coloquei o usuário Todos e 1 espaço para senha, deu certo!
    Valeu!!!!

    1. Donnie Avatar

      Estou muito feliz em ouvir isso! (I am very happy to hear that!)

      English translation of OP: Thanks! You have solved the problem!
      When I put the user Todos and 1 space for password, it worked!
      It cost!!!!

  2. Rui C Avatar
    Rui C

    Thank you very much, mate, it worked like a charm.
    Kodi should solve these issues, and not making people using these workarounds to solve it.

    Once again, thanks

  3. Tim Avatar
    Tim

    The everyone / one space worked great, thanks!

    1. Donnie Avatar

      Excellent! Glad you got your Kodi SMB setup for Windows all figured out

  4. Lionel Avatar
    Lionel

    Thank you very much for your help, it’s been years that I was looking for explanations on the subject of network sharing, with precise and easily understandable details, until now I was using the version of Kodi 18. 5 and the sharing worked without problems but in smbv1 and for the last 4 days impossible to make it work, I think due to an update of Windows 10, I was desperate, I’ve been using Kodi ex xbmc for over 15 years, and as you say it’s really a remarkable program, the best for me, again thank you for your help and a little hello from Bordeaux.

    Sincerely
    Lionel

    1. Donnie Avatar

      Hi Lionel, yeah, SMBv1 is no good; too many vulnerabilities and very insecure. I’m very happy this article was able to help!

  5. Shahood Ul Hassan Avatar
    Shahood Ul Hassan

    I’m using everyone and exactly followed all your instructions but I’m continuously getting ‘Unable to connect’ error. I’ve also followed your SMB setup guide and set it up properly.
    Can you please advise what might be wrong?

    1. Donnie Avatar

      Hi Shahood, did you make sure to enter a single blank space as the password when using the ‘everyone’ user?

  6. Larry Avatar
    Larry

    “Operation Not Permitted” has bothered me for years. I even give up using Kodi on my TV. “everyone” and ” ” really worked. Thank you a lot.

    1. Donnie Avatar

      Happy to hear it!
      I’d really recommend you set up a service user instead of using the ‘everyone’ group, but that is up to you 🙂

  7. Lagonda Avatar
    Lagonda

    Thanks a lot for the only correct guide. I stopped using Kodi for this reason years ago because no procedure worked.

    1. Donnie Avatar

      I’m glad it helped!

Leave a Reply

Your email address will not be published. Required fields are marked *