Windows – non-existent process in windows

processwindowswindows 7windows-explorer

I was trying to kill one of my processes named code.exe on my windows 7 box. So, I opened process explorer to see the process details. I went into "Image" tab on its properties window. I saw that its parent is something <Non-existent Process>(7960)as shown below:

enter image description here

I went back to check the parent process but there was no process with process ID (PID) 7960. I went to task manager and checked the "Show processes from all uses" but still I got no process with PID 7960. I ran the following command tasklist /FI "PID eq 7960" /FO TABLE on command prompt but it returns below error message:

INFO: No tasks are running which match the specified criteria.

So, I want to know who is this <Non-existent Process>(7960)? My speculation is that it is explorer.exe but not sure. Why this process is entirely hidden from my view?

Best Answer

It really is a "non-existent process" as stated in this answer in SysInternals forums:

If a process shows "<Non-existent Process>" as its parent process in Process Explorer, it means that the parent process has exited.

If you check the next Process Creation Tree for Code.exe, you can see that: codeCreationTree

The original Code.exe process creates a lot of new processes, and this ones open an closes cmd.exe processes, getmac.exe, and more Code.exe.

After all the chain of events, you have several Code.exe running, some of them orphans from a cmd.exe opened by another Code.exe.

There is your "Non-existent process" for Code.exe

Related Question