?
Solved

Windows Service Default User

Posted on 2008-10-31
6
Medium Priority
?
198 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 7

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 7

Accepted Solution

by:
powercram earned 2000 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Author Closing Comment

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

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

777 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