exe as service (nssm)

最後更新: 2017-07-04

目錄

 


nssm

 

HomePage: http://nssm.cc/

nssm is a service helper which doesn't suck.

srvany and other service helper programs suck because they don't handle failure of the application running as a service.

If you use such a program you may see a service listed as started when in fact the application has died.

nssm monitors the running service and will restart it if it dies.

nssm logs its progress to the system Event Log so you can get some idea of why an application isn't behaving as it should.

No "installation" of nssm is needed. Just place it somewhere on the system (preferably somewhere in your PATH) and run it.

 


Allow User to run service

 

Troubleshoot

hfs: START: 相依性服務或群組無法啟動。

secpol.msc

Local Policies -> User Rights Assignment -> In the right hand pane "Log on as a service"

以服務方式登入

在驗證後模擬用戶端

http://nssm.cc/usage

 

 

 

 

Creative Commons license icon Creative Commons license icon