Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The Windows Service application I deploy on Windows Server 2003 needs to access network resources as well as the usb tokens I plug in. When I use local system account I can access the usb but not the network files. And with the other user option I cannot access the usb. Is there a way to access both at the same time?

share|improve this question

You should have the service run as a domain user account, grant proper permissions on network resources to that account, and make it a local administrator (or just give it proper NTFS permissions) on the server it's running on.

Alternatively, you can have your service running as LocalSystem, but then it will have full control on the server, and to grant it access to network resources you'll need to assign permissions to the server's computer account in the domain.

I strongly suggest the first option.

share|improve this answer
Use the domain account with the proper credentials- localsystem opens up a whole other can o' security worms – Jim B Apr 27 '10 at 13:30
I like the image of the "can of security worms"... the word "worm" is also really appropriate :-p – Massimo Apr 27 '10 at 13:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.