Share via

Is there a way to tell if my program was started by the Task Scheduler?

Todd Chester 711 Reputation points
2022-12-12T00:16:51.537+00:00

Is there a way to tell if my program was started by the Task Scheduler?

Windows development | Windows API - Win32
0 comments No comments
{count} votes

Answer accepted by question author
  1. RLWA32 52,101 Reputation points
    2022-12-12T01:26:43.22+00:00

    The parent process of a program started by the Task Scheduler will be an instance of svchost.exe.

    There are various ways to obtain a parent process id.

    What is the problem that you are trying to solve?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.