Is it possible to manually set/edit a process ID/parent ID? RRS feed

  • Question

  • Example:
    If I open some applications from explorer.exe the parent id of those processes would be the PID of explorer.exe and would be shown in a view similar to this in various different process management programs: 
    (Process ID/PID of explorer in this case is 1708)

    But if explorer gets restarted (which I need to do) the parent ID of explorer would be different, therefore those programs will no longer be listed under explorer.exe as explorer.exe now has a new PID.

    The parent ID of Skype (which was previously started by Explorer before the explorer restart) is now shown as "Non-existent process (1708)", and the new process ID of explorer is now "10504", so i'm just wondering if/how it would be possible to either restart Explorer using the same PID which it had before the restart, or to manually change/edit the PID of the process to match the old PID while using

    Something like this probably isn't possible, I just thought i'd ask just in case it is.

    Monday, September 18, 2017 12:40 PM

All replies

  • Best guess is that information is store in the registry or .dat files (binary file). For example, IE stores them in files in the path below.

    C:\Users\CurrentUserName\AppData\Local\Microsoft\Internet Explorer\Recovery\Last Active

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Monday, September 18, 2017 12:50 PM