Solved

Windows Service Default User

Posted on 2008-10-31
6
193 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

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…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now