If you terminate explorer.exe
which is also hosting a taskbar system component and then launch it again from task manager, it will open itself again with taskbar fully functional.
However, if I set up my own shell program, instead of explorer (HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon), re-logon, and then terminate it from Task manager
, and execute explorer.exe
it gives me nothing but explorer window(file manager). Taskbar component does not show itself.
How can I achieve this? I am developing a kiosk application and I want to give administrators rights to switch to classic desktop if they need it. However, executing explorer.exe
does not work like I expect it to be.