Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with starting as network service

I have an app that I am trying to start as a network service..

This is how I do it: sc create "App" binpath= "app path" obj= .\NetworkService password= ""

But I keep getting an error - "The account name is invalid or does not exist, or the password is invalid for the account name specified."

Any pointers on what could be wrong...

like image 395
Omi Avatar asked Jul 21 '13 14:07

Omi


1 Answers

The problem is that the Network Service account must be specified as "NT Authority\NetworkService" and no password is needed.
That is, use this command:

sc create "App" binpath= "app path" obj= "NT Authority\NetworkService"
like image 106
White hawk Avatar answered Oct 15 '22 02:10

White hawk