📎 AI Summary:
The thread discusses when a process ID (PID) is generated in Windows. The original poster asks if the PID is created at process initialization or when the process enters a "running state." The response clarifies that the PID is assigned at process creation and remains in memory until the process ends, regardless of its current execution state.

liz08

Active Member
Joined
Oct 9, 2017
Messages
21
Thread Author #1
Hello,

I would like to know when is a process ID created?
Is it when the process is created or when the process is in a "running state" ?

Thanks and Regards,
Mananita Das
 

ussnorway

Windows Forum Team
Staff member
Joined
May 22, 2012
Messages
4,598
when its created
it may stay in memory for a long time waiting to run or until ended
 

Solution