New Process Id in IE11 32 bit


In IE 11 32bit Protected mode, as soon as Internet explorer is launched I get a process ID(4565) and it gets changed as soon as page is fully loaded (New Process id - 5678).
Is there any way to get new process Id in javascript ?

I use the below code to launch IE.

var URL = "";
var wshShell = new ActiveXObject("WScript.Shell");
var IEVersion = "C:\\Program Files (x86)\\Internet Explorer\\IExplore.exe " + URL; //32bit
//var IEVersion = "C:\\Program Files\\Internet Explorer\\IExplore.exe "+URL; //64 bit
var LaunchApp = wshShell.Exec(IEVersion);
var AppProcessId = LaunchApp.ProcessID;
alert(AppProcessId );

ProcessId I see in alert and in task manager is different in IE11 32 bit.
Do you have any sample code to grab new processId in javascript Window script host ?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This is a common problem since IE 8. The page is allocated to one thread and can migrate to another thread later. When IE used child processes to which it allocated pages, this migration got worse, since the mother process could switch the page from one child to another, a child process could switch the page from one thread to another. This basically means that according to the number of child proceses which have been created you'll get that number of different process IDs.

Launching IE 11 creates a mother process which then creates child processes.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.