Windows Service account permissions questions
Posted on 2006-04-03
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?