c# - Can I stop and start a windows service from IIS app running under application pool identity? -


i have iis web application run under application pool identity. app needs stop , start windows service. apart introducing impersonation application stopping , starting service, there other way can this?

note looking solution other running application pool under windows user has permission stop , start service.

you can through app pool if:

1- local and/or domain security policies allow service stop/start service.

2- app pool identity has right so.

granting app pool identity such right might security issue though.


Comments