Restart Server from ASP.NET application when AppPool is ran under LocalSystem or LocalService account
- by kape123
Is it possible to restart server from ASP.NET application that is hosted by LocalSystem or LocalService account. This is working when I create custom administrative account and put AppPool to run under that account:
Process.Start("shutdown", "/r /d 4:1 /t 10");
However, I don't want to have custom accounts (because of password expiry and need to update all AppPools when User passwords are changed).
So, is this possible?