Hello,
Excuse me if I took so long to reply. I was very busy and I am not english, so I took a lot of time to write this post (and I hope it is grammatically correct).
I am sorry with version 7.0.317799.4142 the problem still occurs.
To reproduce this problem, follow these steps:
- Download packaged version of Process Explorer from here (Process Explorer - Sysinternals | Microsoft Learn);
- Extract only “procexp.exe” program, and put it on the Desktop;
- Start Virtual Kiosk desktop
- Click the “C” (bottom-left corner)
- Click “Settings” (third option starting from the bottom) in the menu that appears
- Instead of tablet mode, set classic mode
- Find “procexp.exe” on Desktop
- Right-click on “procexp.exe”, then launch it as administrator
- If an UAC message appears, answer Yes
- If the processes view is not tree view (in tree view child processes are below their parents and a bit more right than them), then click “Show Process Tree” (this button should be just below the row with “File”, “Options”, “View” etc menus, you can check if it is the right button by leaving mouse pointer on it and waiting, the description of the button should appear after a while)
- Click “Options” menu, then uncheck “Confirm Kill”
- There should be a “virtkiosk.exe” process with a “virtkiosk.exe” child (the latter should be below the first, and a bit more right than the first). Click it once with the left button (practically select it).
- Press Del, so it will be killed
- You should immediately come to the normal environment, so open the Virtual Kiosk again.
- You should find Process Explorer still open
- Select again the virtkiosk.exe parent process (the virtkiosk.exe process above the virtkiosk.exe child process)
- By pressing Shift-Del on keyboard, Process Explorer should kill both virtkiosk.exe parent process and virtkiosk.exe child process
- Now what happens in my PC is that the bar at the bottom disappears and so I can’t come back to the normal environment (outside Virtual Kiosk). So the problem occurs again
Explaination
When you launch Virtual Kiosk, a program called “virtkiosk.exe” placed in the same folder with “cis.exe”, “cistray.exe” and other Comodo programs will be executed. It runs another “virtkiosk.exe” process, which we will call child of the first “virtkiosk.exe” (that we will call the parent process). The child executes all the applications the user want to execute. So you can execute everything, including, in this case, Process Explorer. After Process Explorer loads, it is possible to kill each process in Sandbox (including the two virtkiosk.exe processes, that seem to be considered in Sandbox). If you kill any of the virtkiosk.exe processes (only one of the two processes), the other exits and you return in the normal environment. Because it’s difficult to kill two processes at the same time for technical reasons (you should press Del button twice almost instantly), we can use the option “Kill Process Tree” of Process Explorer. But Process Explorer is a child of the second virtkiosk.exe process, so, if we try this option, Process Explorer will kill itself before trying to kill one of the two virtkiosk.exe processes. So we will kill one of the two virtkiosk.exe processes (in this case the parent), the other will exit and the tree will no longer exist. When we start again Virtual Kiosk, we will find Process Explorer (that is still running). Before, Process Explorer was the child of the second virtkiosk.exe, but now the new virtkiosk.exe child isn’t the parent of procexp.exe (because the parent of procexp.exe is a process that doesn’t exist anymore), so in the tree of virtkiosk.exe we will find only two processes: the first virtkiosk.exe (the new parent), and the second virtkiosk.exe (the new child). We are now able to kill the tree without killing Process Explorer itself. So we will select the virtkiosk.exe parent and then we will press Shift-Del (that is the shortcut for Kill Process Tree). So almost instantly Process Explorer will kill the two processes (like some viruses could do), and magically the bar at the bottom disappears. Now you can’t return back to the normal environment and you need to lose your data on which you were working at that moment (for example open documents, browser pages etc), because you need to do something as a log off (with ctrl-alt-del) or a shutdown, or a reboot etc that will close the Virtual Kiosk environment. We needed to open Virtual Kiosk twice just due to pratical reasons. If you aren’t quick enough, the problem won’t occur. Instead, viruses could kill both processes in a very small amount of time and so this problem will occur. A good thing to resolve the problem is to protect virtkiosk.exe processes from being killed by Sandboxed processes.
Another way to get this working
So, as I said above, the problem is that when we kill a virtkiosk.exe process, the other take you to the normal environment. And what will happen if we suspend both the two processes before killing them? Doing that, the process that would take you to the normal environment is “freezed”, and doesn’t do anything. So you have enough time (practically infinite) to terminate both processes, without one of the two processes is able to react. This is a faster way to replicate this behavior, thus it is possible to create a new list of steps to do this:
Steps for the second way
The first 10 Steps are the same of the first way. It isn’t necessary to uncheck “Confirm Kill”, but you can uncheck it if you want.
11) Find one of the two “virtkiosk.exe” processes, then right-click on it, and choose “Suspend”. The process should become gray.
12) Find the second “virtkiosk.exe” process, then suspend it like in Step 11
13) After both processes have been suspended, start killing them. Kill both processes in the order you like the most. If “Confirm Kill” is checked, you have to answer “Yes” each time Process Explorer asks you if you want to kill the selected process.
The second way is faster than the first way, and it should work as well as the first one.
If you have any problem to replicate this behaviour, please let me know
Thank you for considering my problem (and excuse me if I needed a lot of time to reply, I was very busy),
RickyDefended