views:

133

answers:

1

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?

A: 

I don't know the answer but I have the same question. I've set my shell to be mstsc.exe (remote desktop login screen), and I need it to restart after someone logs off.

Baodad
Welcome to StackOverflow! Things do not work quite like a forum here, it is a question-and-answer setup. Please add comments with the "add comment" button, not by submitting an answer to the question.
ewall