Dificulties granting service user rights on network drive


  1. Posts : 2
    Win 7/8.1 64Bit
       #1

    Dificulties granting service user rights on network drive


    Hello,

    I'm quite new to Windows services, I've set up a media pc with Win7 64bit. This machine is running all services. The network drive I want to connect is on my fileserver.

    Setup:

    Code:
    Fileserver:
    IP: 192.168.178.200
    User with read permissions: Media
    PW: 123
    
    Media PC:
    IP: 192.168.178.201
    Login User: Media
    PW: 123

    My folder series from the fileserver should get mapped to my media pc -> S:\
    My folder movies from the fileserver should get mapped to my media pc -> M:\

    Problem:
    My service "A" which starts on boot doesnt have any acces to my desiered folder "S:\"

    I've seen this page: LINK but I didnt realy get the grip of it...

    Cheers Josh
      My Computer


  2. Posts : 2,465
    Windows 7 Ultimate x64
       #2

    The configuration seems correct and users sharing username and password will help in reducing permissions troubles, no need to change those, they're fine.

    Problem is almost sure with drive mappings. Assigning letters to network shares is a per user activity, so you get them for the logged on user, but the service doesn't notice this, so internally it gets a "drive not found" error instead of a permission error.

    Solution is simple, just instruct the service though its configuration to use the underlying UNC paths instead of the virtual drive letters. So instead of pointing it to "S:\somewhat\blabla" change it to "\\fileserver\share\somewhat\blabla".
      My Computer


  3. Posts : 2
    Win 7/8.1 64Bit
    Thread Starter
       #3

    Hello Alejandro

    Thank you for your quick response!

    I'm at work at the moment and cant try it, but what doesnt make sense to me is how the user gets the read/write rights then?

    Does this happen automaticly in my case, as both username and password are exactly the same?

    Thank you for your help!
      My Computer


  4. Posts : 2,465
    Windows 7 Ultimate x64
       #4

    That's entirely dependent on how you setup permissions on the server. You can give the "media" user you name there read-write if needed, or just read-only, or some combination based on what you need to do it. Windows shares by default gives read only for everyone (if memory serves) but it can be changes to anything else.
    Reading the initial post, I suppose that the user has been granted just read permissions "User with read permissions: Media". You can change that in the server.

    The same user/password hasn't anything to do with permissions. It helps reducing authentication problems between both computers, as the user running the service will automatically get access (according to his permissions) on the server. Setting them different would give errors like "incorrect password" or "unknown user" instead, as the server doesn't recognize the login.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:39.
Find Us