Cannot Start Windows Service in NetworkService account

前端 未结 3 1567
甜味超标
甜味超标 2020-12-05 21:20

I have a windows service project implementation that I am trying to install as network service.

process = new ServiceProcessInstaller();
process.Account = Se         


        
3条回答
  •  天涯浪人
    2020-12-05 21:53

    The "Access denied" message applies to the user trying to start the service, not the account in which the service is run.

    Can you start the service from:

    1. the Services Control Panel applet?
    2. an elevated command prompt you started yourself (not from Visual Studio)?

提交回复
热议问题