General discussion


Starting a service with NetworkService

By Lee Quinn ·
I change a service to use a different logon and now I want to change it back to NT AUTHORITY\NetworkService but the service wont start. Everything Iv'e read says that the NT AUTHORITY\NetworkService doesn't have a password but entering nothing when the Service asks for the password doesn't work.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by curlergirl In reply to Starting a service with N ...

Are you sure you need to use the Network Service account for this service? Why not use LocalSystem? If this works, it is by far the easiest way to go. I have heard people comment that it is not as secure, but I haven't heard any rationale on why the Network Service account is more secure. I have to be honest and tell you that I have never tried to use the Network Service account manually to start a local service.

Hope this helps!

Collapse -

by Lee Quinn In reply to

Poster rated this answer.

Collapse -

by Lee Quinn In reply to Starting a service with N ...

How is telling me to use the local system account answering my question?

Collapse -

by lowlands In reply to Starting a service with N ...

It is correct that the password should be left empty.
I don't get any errors, when I try it.

One thing to try might be to edit it directly in the registry. Using services.msc, find another service that uses the networkservice account, copy the value under that service's security value to "your" service, do the same for the objectname value. try restarting after that.

Collapse -

Make the network service as admin the box

by thambuzk In reply to

Make the network service as admin the box.I had the same issue and making network service admin solved it.

Collapse -

*Slaps wrist* No!

by david.hirst In reply to Make the network service ...

I know this topic is a couple of years old now but since it shows on google I must post a reply to this rather dangerous answer.

Never let a service run under the administrator account of the box it runs on, if the service is ever compromised then the attacker will assume the credentials of the service, i.e. your domain or local administrator for the box.

Always look at what the service requires and check MSDN for which of the three default services it should run under, localSystem, LocalService or NetworkSerice.

Collapse -

Service Accounts and ACL's

by RichMCSE In reply to Starting a service with N ...

This sounds like a problem I ran into a while back. I am assuming you are trying to use it to start a SQL service? Sometimes when you delete, then takes away the start/stop/pause permissions given to the acct. If this is for a business, I know you don't want it in the admin group. There is a way to get put it in the user group and still start/stop the services. All you need to do is create a custom snap-in to set the ACL permission for that. Let me know if you need more detail.

Related Discussions

Related Forums