| Author |
Message |
YaronM
Guest
|
Posted:
Fri Dec 24, 2004 12:50 pm Post subject:
Auto Restart a Custom Shell on termination |
|
|
Hello,
I'm testing my new custom shell on XPe.
I've tried using the AutoRestartShell = 1 registry value to force windows to
reload my custom shell in case of an unexpected termination. unfortunately,
it doesn't work.
I thought about creating a new system-service application that will monitor
the custom-shell, but I don't know how to accomplish that programmatically.
what techniques do you use to get your shell to auto restart?
thanks in advance,
YaronM |
|
| Back to top |
|
 |
Slobodan Brcin (eMVP)
Guest
|
Posted:
Fri Dec 24, 2004 1:08 pm Post subject:
Re: Auto Restart a Custom Shell on termination |
|
|
http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/msg/3592185ea728a439
Regards,
Slobodan
"YaronM" <nospam> wrote in message news:OyMeD1Y6EHA.2876@TK2MSFTNGP12.phx.gbl...
| Quote: | Hello,
I'm testing my new custom shell on XPe.
I've tried using the AutoRestartShell = 1 registry value to force windows to
reload my custom shell in case of an unexpected termination. unfortunately,
it doesn't work.
I thought about creating a new system-service application that will monitor
the custom-shell, but I don't know how to accomplish that programmatically.
what techniques do you use to get your shell to auto restart?
thanks in advance,
YaronM
|
|
|
| Back to top |
|
 |
YaronM
Guest
|
Posted:
Fri Dec 24, 2004 5:46 pm Post subject:
Re: Auto Restart a Custom Shell on termination |
|
|
thanks Solobodan. I saw the setting you mention in the minlogon component.
I currently use the "Windows Logon (Standard)" component and it doesn't have
it.
I'm not sure if I can add both milogon and the "Windows Logon (Standard)"
and which one will take effect.
basically, what I am trying to achive is to have the Explorer as the default
Shell and my Custom-Shell as an alternative shell that I will manually
configure for a specific user. and I need both Explorer and my Custom-Shell
to be AutoRestarted when they accidently crash.
thanks,
YaronM
"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
news:%234guZ9Y6EHA.3076@TK2MSFTNGP15.phx.gbl...
| Quote: | http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/msg/3592185ea728a439
Regards,
Slobodan
"YaronM" <nospam> wrote in message
news:OyMeD1Y6EHA.2876@TK2MSFTNGP12.phx.gbl...
Hello,
I'm testing my new custom shell on XPe.
I've tried using the AutoRestartShell = 1 registry value to force windows
to
reload my custom shell in case of an unexpected termination.
unfortunately,
it doesn't work.
I thought about creating a new system-service application that will
monitor
the custom-shell, but I don't know how to accomplish that
programmatically.
what techniques do you use to get your shell to auto restart?
thanks in advance,
YaronM
|
|
|
| Back to top |
|
 |
Slobodan Brcin (eMVP)
Guest
|
Posted:
Fri Dec 24, 2004 6:18 pm Post subject:
Re: Auto Restart a Custom Shell on termination |
|
|
Hi Yaron,
Flag that you mentioned should do the job. It does in XPP, there might be some other problem involved here.
Do you have a problem with your explorer shell, or only with your custom shell?
What approach do you use to accomplish autorestart? Sean's or your own?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpesp1/html/tchDifferentShellsForDifferentUsers.asp
Minlogon and winlogon can't be mixed sine they bring different files with same name.
Regards,
Slobodan
"YaronM" <nospam> wrote in message news:ujAgeab6EHA.3708@TK2MSFTNGP14.phx.gbl...
| Quote: | thanks Solobodan. I saw the setting you mention in the minlogon component.
I currently use the "Windows Logon (Standard)" component and it doesn't have
it.
I'm not sure if I can add both milogon and the "Windows Logon (Standard)"
and which one will take effect.
basically, what I am trying to achive is to have the Explorer as the default
Shell and my Custom-Shell as an alternative shell that I will manually
configure for a specific user. and I need both Explorer and my Custom-Shell
to be AutoRestarted when they accidently crash.
thanks,
YaronM
"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
news:%234guZ9Y6EHA.3076@TK2MSFTNGP15.phx.gbl...
http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/msg/3592185ea728a439
Regards,
Slobodan
"YaronM" <nospam> wrote in message
news:OyMeD1Y6EHA.2876@TK2MSFTNGP12.phx.gbl...
Hello,
I'm testing my new custom shell on XPe.
I've tried using the AutoRestartShell = 1 registry value to force windows
to
reload my custom shell in case of an unexpected termination.
unfortunately,
it doesn't work.
I thought about creating a new system-service application that will
monitor
the custom-shell, but I don't know how to accomplish that
programmatically.
what techniques do you use to get your shell to auto restart?
thanks in advance,
YaronM
|
|
|
| Back to top |
|
 |
KM
Guest
|
Posted:
Fri Dec 24, 2004 11:50 pm Post subject:
Re: Auto Restart a Custom Shell on termination |
|
|
Yaron,
Tha Config flag is Minlogon specific.
With Winlogon you should use AutoRestartShell dword flag.
Minlogon and WInlogon can't be mixed as they esensially provide similar functions (with a bit different approach) and have the same
name binaries.
How do you start your own custom shell application?
KM
| Quote: | thanks Solobodan. I saw the setting you mention in the minlogon component.
I currently use the "Windows Logon (Standard)" component and it doesn't have it.
I'm not sure if I can add both milogon and the "Windows Logon (Standard)" and which one will take effect.
basically, what I am trying to achive is to have the Explorer as the default Shell and my Custom-Shell as an alternative shell
that I will manually configure for a specific user. and I need both Explorer and my Custom-Shell to be AutoRestarted when they
accidently crash.
thanks,
YaronM
"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message news:%234guZ9Y6EHA.3076@TK2MSFTNGP15.phx.gbl...
http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/msg/3592185ea728a439
Regards,
Slobodan
"YaronM" <nospam> wrote in message news:OyMeD1Y6EHA.2876@TK2MSFTNGP12.phx.gbl...
Hello,
I'm testing my new custom shell on XPe.
I've tried using the AutoRestartShell = 1 registry value to force windows to
reload my custom shell in case of an unexpected termination. unfortunately,
it doesn't work.
I thought about creating a new system-service application that will monitor
the custom-shell, but I don't know how to accomplish that programmatically.
what techniques do you use to get your shell to auto restart?
thanks in advance,
YaronM
|
|
|
| Back to top |
|
 |
YaronM
Guest
|
Posted:
Sat Dec 25, 2004 2:42 pm Post subject:
Re: Auto Restart a Custom Shell on termination |
|
|
Hi Slobodan and KM,
I start my custom shell as described in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpesp1/html/tchDifferentShellsForDifferentUsers.asp
the default shell is Explorer.exe and is used for the local administrator.
the Custom-Shell is user specific and is used for a limited-user account.
I tried using the AutoRestartShell Dword but it only affect the Explorer..
I'm thinking maybe to create somekind of a KeepAlive service that will
monitor the task list and will re-launch the shell if it fails..
I understood that I can't mix Minlogon and Winlogon but I still need this
functionality.
any ideas would be great.
thanks,
YaronM
"KM" <konstmor@nospam_yahoo.com> wrote in message
news:%23ewy5le6EHA.3756@TK2MSFTNGP14.phx.gbl...
| Quote: | Yaron,
Tha Config flag is Minlogon specific.
With Winlogon you should use AutoRestartShell dword flag.
Minlogon and WInlogon can't be mixed as they esensially provide similar
functions (with a bit different approach) and have the same name binaries.
How do you start your own custom shell application?
KM
thanks Solobodan. I saw the setting you mention in the minlogon
component.
I currently use the "Windows Logon (Standard)" component and it doesn't
have it.
I'm not sure if I can add both milogon and the "Windows Logon (Standard)"
and which one will take effect.
basically, what I am trying to achive is to have the Explorer as the
default Shell and my Custom-Shell as an alternative shell that I will
manually configure for a specific user. and I need both Explorer and my
Custom-Shell to be AutoRestarted when they accidently crash.
thanks,
YaronM
"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
news:%234guZ9Y6EHA.3076@TK2MSFTNGP15.phx.gbl...
http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/msg/3592185ea728a439
Regards,
Slobodan
"YaronM" <nospam> wrote in message
news:OyMeD1Y6EHA.2876@TK2MSFTNGP12.phx.gbl...
Hello,
I'm testing my new custom shell on XPe.
I've tried using the AutoRestartShell = 1 registry value to force
windows to
reload my custom shell in case of an unexpected termination.
unfortunately,
it doesn't work.
I thought about creating a new system-service application that will
monitor
the custom-shell, but I don't know how to accomplish that
programmatically.
what techniques do you use to get your shell to auto restart?
thanks in advance,
YaronM
|
|
|
| Back to top |
|
 |
|
|
|
|