• Running a program located on a NAS

    Home » Forums » Admin IT Lounge » Admin IT Lounge – Miscellaneous » Running a program located on a NAS

    • This topic has 7 replies, 4 voices, and was last updated 5 months ago.
    Author
    Topic
    #2726518

    Hello!

     

    I setup a NAS on my home network so I could run programs from multiple computers.  I set the permissions to full read/write for everyone.  I can copy, open and write files on the NAS, but when I try to execute a program located on the NAS, I get a message saying “Windows cannot access {NAS folder} file.exe.   You do not have permission to access {NAS folder} file.exe”  I am the Admin of my PC and have all privileges.  I tried to run the program as Administrator but that didn’t help.

    What do I do to correct this?  Is it a problem with the setup of my NAS?

    Thanks!

    Viewing 5 reply threads
    Author
    Replies
    • #2726534

      What do I do to correct this? Is it a problem with the setup of my NAS?

      NAS—Network Attached Storage. NAS is not a server. It is file storage, and that’s it. You need a server setup with Windows Server OS in order to run programs.

      Always create a fresh drive image before making system changes/Windows updates; you may need to start over!
      We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.
      We were all once "Average Users".

      1 user thanked author for this post.
    • #2726537

      What sort of program?
      What sort of NAS?

      I copied a standalone program to my NAS and it ran from \\NAS\home\<appname>

      cheers, Paul

    • #2726582

      What’s the operating system of the computer accessing it?  If Windows 11 24H2 remember it is disabling the older SMB protocols.  Ensure your nas has smb v2 or higher — or — reenable the older SMBs on the windows platform.

      With some exceptions you normally can run an application from a nas – it’s typically not supported by the vendor.

      You may also have to map a drive as some older apps can’t handle \\server and need a mapped drive.

      Susan Bradley Patch Lady/Prudent patcher

      1 user thanked author for this post.
      • #2726882

        I am accessing it from a Win10 pro PC  although I hope to run the program on a Win 11 PC and a Linux machine running WINE.  The program I am trying to run is a program I wrote using a local database.  I am using OpenMediaVault as my OS on the NAS machine.  I don’t know what level of SMB protocol it is using.

        Thanks for your help!

         

    • #2726894

      Trying to run a local database may mean “on the NAS” and that may be the issue.
      Where is the database located?
      Where is the app located?

      cheers, Paul

    • #2726920

      Here’s how to fix your NAS if Windows 10 or 11 broke it | PCWorld

      My NAS Drive can not be found on windows 10 – Microsoft Community

      I’d probably start with seeing if SMBv1 is enabled. Then typically even if you are an admin on the Windows 10, you need to have the right file sharing protocols on the nas. If it works on SMBv1 you may need to decide if you are willing to take the risk, or see if your NAS can support v2 or v3.

      Susan Bradley Patch Lady/Prudent patcher

    • #2727096

      OpenMediaVault is setup with SMBv2.  Here are the settings:

      SMB/CIFS settings

      Workgroup — Enabled
      %h Server

      Home Directories

      Browsable — True
      Enabled — False
      Inherit ACLs — False
      Inherit Permissions — False
      Enable Recycle bin — False

      Advanced Settings

      SMB2

      Enable NetBIOS — False
      Enable WINS server — False

      Use sendfile — True
      Asynchronous I/O — True
      Log Level = None

      I am guessing that I have  setting wrong.  Hopefully this will make sense to you.  I can do a screenshot if it would help.

    Viewing 5 reply threads
    Reply To: Running a program located on a NAS

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: