Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Service - Account Selection Help

Status
Not open for further replies.

Becks25Not

Programmer
Jun 23, 2004
176
US
Hi All,

I have a Windows Service that needs to interact with the local machine as well as various network directories. I also need it to run whether a user is logged on or not. I have done a lot of searching and am going in circles!!

I tried LocalSystem but it doesn't see the network directories.
I tried NetworkService but it can't access local.
If I use user, it won't run if someone else logs in.

Any ideas would be greatly appreciated!
Thanks ~ Becca
 
Have you tried to create a user just for the purpose of the service running?

For example: You create a admin user call WindowsService and then you get your windows service to start using this user details.

If the assigned user has the rights to view other dictories across the network then you will find that this will work.

If you are using a domain, which I would think you are, this user has to be part of the domain and have the rights to access the network.



AGIMA - professional web hosting is our business.

AGIMA Computing
 
Thanks AGIMA!! I am concerned about password expirations -- we are required to reset all passwords every 90 days.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top