We have a Vb.Net application that runs as the windows shell for certain users. We'd like the application to automatically restart when it crashes.
The application is set as the shell here:
HKEY_USERS*User*\Software\Microsoft\Windows NT\WinLogon\Shell
I've tried adding an "AutoRestartShell" key with a value of "1", like what exists in: HKLM\Software\Microsoft\Windows NT\WinLogon. No luck, when I add code to cause a fatal exception (stack overflow) or even just kill the process (via RDP) the app never restarts.
Ideas?