Solved

Windows Service Default User

Posted on 2008-10-31
6
194 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
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!

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cannot uninstall a windows update on server 2003 4 68
Server 2003 x64 upgrade question 10 44
WSUS Feature Updates for WIndows 10 6 88
Shadow copies windows server 2003 2 78
I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

939 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

10 Experts available now in Live!

Get 1:1 Help Now