Service won't start as non-Power User

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This might not be the best place to post this, but it looked the best from
what I saw.

I have a .NET service that is installed on an XP SP 2 machine by a user with
admin privileges. The setup asks the user for a domain account to use run
the service as. If the domain account the user provides is not at least a
Power User on the machine, the service will not start. Is this a Windows
policy?

Even adding the domain user to the "Log on as a service" Users Rights didn't
help.

Tim
 
You don't have to use a domain account.

If the service does not require resources beyond the machine, I use a
local account to run the service.
 
I believe the other right that's required is Act as part of the operating
system.
 
Thanks guys for the responses. I posted this over in the CSHARP newsgroup
and got my answer. The problem is when my service was set up to run as the <
PU user, my code was making calls that required admin privileges. I put
trace statements in, but they weren't being written to the log file because
that same user did not have permissions to write to the folder.

Tim
 
Back
Top