Need to access shared file w/service

  • Thread starter Thread starter Stan
  • Start date Start date
S

Stan

I have a service which needs to access a file which is on a mounted
share via \\shareName\file. When the service is running a "Local
System" it fails to access the file to read it. When I change the
service to run as .\Administrator and the Administrator password of
the server which is sharing the file is the same as the Administrator
password of the system running the service, everything works.

Now I would rather not have to run the service as Administrator. I
would also like to not have to create a new account to run it as. From
what I have read "Local System" does not have rights across shares
(among other restrictions). Is there another way of doing this using a
standard account? I tried "Network Service" and "Local Service" but
the service will not run under either of these.

It looks like I am stuck either creating a new local user account on
each system (they are not part of a domain) or running under
..\Administrator.

Thoughts? TIA.
 
Hello,

The following is an old KB, but it explains the Local System account.
There is no way around this but to give it an account that has credentials
to access the network -

132679 Local System Account and Null Sessions in Windows NT
http://support.microsoft.com/?id=132679

Best regards,
--
Shain Wray
Microsoft PSS Security Team

This posting is provided "AS IS" with no warranties and confers no rights.
Please reply to the newsgroup so that others may benefit. Thanks!
--------------------
 
Back
Top