Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Services question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fangorn.mail@gmail.com - 07 Mar 2006 15:27 GMT
I have written a .NET service and it runs great. But my company uses
domain user accounts and not local user accounts, so I logged onto a
test machine with my account and installed this .NET service. I set it
to run under the LocalSystem account and Start type is manual. If
another user logs in (domain account also) to this machine, he can see
the service, but when he tries to start it an error message says
"Access is denied". Any ideas as to why only 1 user can start and stop
even though it's a domain account? How does the LocalSystem fit into
who has permissions to start and stop the service?
Prakash M - 07 Mar 2006 18:46 GMT
Why not you configure the account type to 'USER'. So that the service can run
in a dedicated user account within the domain.
Signature

Prakash M

> I have written a .NET service and it runs great. But my company uses
> domain user accounts and not local user accounts, so I logged onto a
[quoted text clipped - 5 lines]
> even though it's a domain account? How does the LocalSystem fit into
> who has permissions to start and stop the service?
Phil Wilson - 07 Mar 2006 21:56 GMT
Domain accounts don't automatically have the right to start and stop
Services on a system.  The issue is basically whether the domain account has
admin privileges to start Services on that particular box. LocalSystem
doesn't really fit anywhere special into what you're asking - it's just a
built-in account that Services can run under.
Signature

Phil Wilson [MVP Windows Installer]
----

>I have written a .NET service and it runs great. But my company uses
> domain user accounts and not local user accounts, so I logged onto a
[quoted text clipped - 5 lines]
> even though it's a domain account? How does the LocalSystem fit into
> who has permissions to start and stop the service?
fangorn.mail@gmail.com - 10 Mar 2006 19:59 GMT
So you're saying that at the domain level, the account has to be given
permission to start and stop services? That would make sense. But even
though it was installed via a domain account, it still runs under
LocalSystem on the local machine, right?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.