Link to home
Start Free TrialLog in
Avatar of mgbecker
mgbeckerFlag for United States of America

asked on

Windows Service Default User

I have a service that runs daily and calculates a bunch of data then outputs it to a csv.  I am trying to output that csv to a network location, but I don't know what user the service runs as, therefore I can't set up permissions on the network location.

My question: What user do I have to grant access to read/write in that location?  Or how do I find that information.
Avatar of powercram
powercram

This probably runs as a task.  Go to Control Panel \ Scheduled Tasks and find the one that runs your process.  Double-click the task and toward the bottom it will say Run as.  This is your user.
ASKER CERTIFIED SOLUTION
Avatar of powercram
powercram

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mgbecker

ASKER

It is an actual service that I wrote.  So I can confirm that it is not a scheduled task.
Ha, really wished I had paid attention.  Thanks for the help!
A service will use either "Local system account" or "This account" for credentials.  Which is it using?
It is using Local System Account.