[Feature Request] Make it possible to specify the recovery options for a packaged service
I didn't find any possibility of setting the recovery options for a service added to an MSIX package. The service is added to the package manifest as a desktop6:Service element as described here. But after the package is installed, all recovery options for the service are set to Take no action:
And there is no possibility to change them neither manually:
nor via the sc failure cmd command (Result: Error: OpenService FAILED 5: Access is denied. is returned), nor from OpenService function call (it returns NULL and the GetLastError returns ACCES_DENIED=5 code), even if cmd and code are launched with the elevated privileges. It stops me from using this approach because I would like to rely on the service, so I want to set a restart recovery action. But with the Take no action recovery action, once the service process crashes, it will never be restarted by OS.
Is it possible to add this tuning?
Would love this feature as well!
bump! Any update on this one?
we are considering moving to Linux to due this missing feature