We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Windows Service account permissions questions

TravisMS asked
Medium Priority
Last Modified: 2010-04-17

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?

Watch Question

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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

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?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.