Windows Service account permissions questions


I have written a Windows service that uses LocalSystem for the Account property. Not only do I need to be able to access local resources (files and sockets), but I need to be able to open remote files on a server. The LocalSystem account does not give you access to any remote resource. So I tried using the NetworkService account, however that account gives you minimal local resource permissions (basically no IO at all). The regular User account does work, however we can't use that account setting as the application is used for many different users all with their own login accounts. PLus, on install user information would have to be entered at install. There has to be a way to get access to local and remote resources within a Windows service - does anyone know how?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Typically you would create an account on the remote system for the service to use that has the required privileges there.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
What about using a group account and assigning all your users to that group.  Use the group credentials to get the access (IO) you need.
The resources you have on your server could be accessed the same way as a user account would access them except the group account would have the same credential access as the user account and the service running on your local system would access the group credentials... comprende?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.