I am considering creating a windows service that would run periodically and query networked databases and store the information on the local machine (please don’t ask why!).
I would like this service to run when there is no one logged on to the computer locally. What account should the service run under Localservice, Localsystem or Network.
A username and password would be provided to all networked databases including the local.
I am considering creating a windows service that would run periodically and query networked
Share
I’d probably create a specific domain account and grant that rights to both SQL server and whatever local store you are going to use. If you want to use SQL credentials to connect to the DB, then it could be a local account (with access to the local resources) or a higher privileged user (like LocalSystem).