Solved

Windows Service Default User

Posted on 2008-10-31
6
196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
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.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

733 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