Justin,
To confirm I did some testing here and it indeed seems the AutoRestartShell key only works for Minlogon images and doesn't work for
Winlogon images.
I did a little bit more digging in to the issue with debugger. It appeared that the key was there for Windows 2000 but was removed
from Windows XP and 2003 server. Shell and logon components were revamped there including GINA that was responsible for reading and
processing the AutoRestartShell key on Win 2K. I am not sure why this functionality was removed from XP [Winlogon] but obviously
embedded guys, or whoever did the minlogon implementation, thought it would be handy on XPe and it is supported there under
Minlogon.
Sorry for confusion I created earlier. Well, I got myself confused by searching in Internet. There are quite many places on the Web
where they mention XP in the list of OSes supporting the AutoRestartShell key function which appeared to be not true. (they
typically say NT/2000/XP/2003 but it only works for 2K and earlier)
The above is to prove that you need to create a watch-dog app if you plan on using shell auto restart feature on Winlogon image.
--
=========
Regards,
KM
PS. As I wrote above I don't believe Win2003 Server supports this feature either. So I think the info on the following page is
wrong:
http://technet2.microsoft.com/Window...34bd61033.mspx
> Hi, KM,
>
> Thank you. I will try your suggestion to modify my watch-dog program
> and let you know the result soon.
>
> Regarding AutoRestartShell key, I already checked it in both Minlogon
> and Winlogon image. The values are all 1. But the restart function
> only works in Minlogon image. I saw other people posted the same
> problem here and their solution are all watch-dog program in VB script
> or C program. Off course, it will be best to change only one key to
> solve this problem. Do you have any other idea? Thank you very much.
>
> Justin
>