Dificulties granting service user rights on network drive

In0cenT

New member
Local time
4:35 PM
Messages
2
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 My Computer

At a glance

Win 7/8.1 64Bit
Computer type
PC/Desktop
OS
Win 7/8.1 64Bit
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 My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
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 My Computer

At a glance

Win 7/8.1 64Bit
Computer type
PC/Desktop
OS
Win 7/8.1 64Bit
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 My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Back
Top