As others have said, Sysinternals Process Explorer and Process Monitor.
https://helpdeskgeek.com/windows-10/how-to-use-process-monit...