Solved

Windows Service Default User

Posted on 2008-10-31
6
195 Views
Last Modified: 2012-05-05
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.
0
Comment
Question by:mgbecker
  • 3
  • 3
6 Comments
 
LVL 6

Expert Comment

by:powercram
ID: 22850459
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.
0
 
LVL 6

Accepted Solution

by:
powercram earned 500 total points
ID: 22850492
If it runs as a service go to Administrative Tools, Services and find the service.  It will list the "Log On As."
0
 
LVL 3

Author Comment

by:mgbecker
ID: 22850502
It is an actual service that I wrote.  So I can confirm that it is not a scheduled task.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 3

Author Closing Comment

by:mgbecker
ID: 31512026
Ha, really wished I had paid attention.  Thanks for the help!
0
 
LVL 6

Expert Comment

by:powercram
ID: 22850543
A service will use either "Local system account" or "This account" for credentials.  Which is it using?
0
 
LVL 3

Author Comment

by:mgbecker
ID: 22850689
It is using Local System Account.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question