AutoRestart Custom Shell .Net App
Posted
by MattH
on Stack Overflow
See other posts from Stack Overflow
or by MattH
Published on 2010-04-08T19:00:11Z
Indexed on
2010/04/09
22:23 UTC
Read the original article
Hit count: 407
We have a .Net application that runs as a 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.
When I kill the application's process for the user (via RDP) the application exits, but never restarts.
Ideas?
© Stack Overflow or respective owner