Re: Difficulties invoking Explorer as a shell...



Sean,

Unfortunately that doesn't work for our needs. It is expected that our
service engineers will need to handle administrative tasks in the
user-context that out application runs in. The requirement is really
that we be able to start Explorer as a shell when our application
terminates in a certain way (ie: service engineer inputting the service
password).

Do you have any insight on how I can run explorer as a shell?

Chris

Sean Liming (eMVP) wrote:
One approach is to have two shells in teh system. One for the User with the
user shell and the Explorer shell for the adminsitrator

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpesp1/html/tchdifferentshellsfordifferentusers.asp

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit



<chris.raplee@xxxxxxxxx> wrote in message
news:1150414896.795017.84700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've got a problem I'm not entirely certain how to resolve and would
like to put it before you to see if you have any insight on what I'm
doing wrong. I'd like to prevent users of our product from accessing
the explorer shell. Having out application in a Run key accomplishes
this, for the most part, but looks somewhat unprofessional during
startup and shutdown as you can see (and minimally interact with) the
Explorer shell for a small window of time.

Setting our application as the Shell seems to be a perfect solution to
this problem, but there's a side-effect I'm not certain how to handle.
Specifically under certain circumanstances (as by a service engineer)
it is required that we be able to terminate our application and launch
the Explorer shell.

Unfortunately when our application attempts to run explorer.exe it
shows up in "file browser" mode, not as a shell -- no Start menu,
taskbar, etc.

My best searches lead me to believe that two conditions need to be
satisfied to allow Explorer to run as a shell. The first is that no
other instance of Explorer is currently running (this is the case when
I am invoking explorer.exe) and the second is that Explorer is set as
the shell in the registry. Because of the second condition my
application is first setting the HKLM\Software\Microsoft\Windows
NT\Winlogon\Shell value back to explorer, and then invoking explorer.

Unfortunately I am still seeing Explorer start as a filebrowser and not
as a shell. Is there anything else I need to do in order to launch an
explorer shell?


.



Relevant Pages

  • Re: TrayNotify
    ... adding them to Shell. ... 2004 Windows MVP "Winny" Award ... > the .vbs script you have which restarts explorer. ... >>> kill it to then restart it, it mearly opens up windows explorer. ...
    (microsoft.public.windowsxp.general)
  • Re: Start explorer, taskbar missing
    ... Missing the taskman.exe is what I meant by saying the Task Manager issue is not related to Explorer. ... I did a completely locked down version of OS here (with custom shell) I have done both and it worked like a charm. ... you haven't explained yet why do you need Desktop and Taskbar for kiosk type of device? ... So How Do I "create the desktop and launch taskbar" myself, ...
    (microsoft.public.windowsxp.embedded)
  • Re: Minlogon and Explorer shell
    ... you are not saving much switching from Winlogon to MinLogon ... You could try having Command Shell as the shell and launch the Explorer ...
    (microsoft.public.windowsxp.embedded)
  • Re: Difficulties invoking Explorer as a shell...
    ... user shell and the Explorer shell for the adminsitrator ... Because of the second condition my ... and then invoking explorer. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Netsh cant parse funny interface names
    ... If your image are both Explorer Shell based then it is not the HrRenameConnection problem since the Explorer will call it for you. ... > Regards. ...
    (microsoft.public.windowsxp.embedded)