Task scheduler trigger on app opened

Corbin Orth 21 Reputation points
2022-03-24T16:02:30.23+00:00

Hi everyone,

I am trying to schedule a task to trigger when a specific file is opened.

Is there not an option to do that or have i missed something?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,808 questions
{count} votes

Accepted answer
  1. Limitless Technology 39,696 Reputation points
    2022-03-31T11:06:58.7+00:00

    Hi @Corbin Orth

    To help with your query You create a passive file screen to achieve this. Passive file screen enforcement allows the user to save the file, but notifies the user that the file is not an authorized file. You can also configure a file screen to run a command or script when a user tries to save an unauthorized file.

    Kindly check the link below for additional instructions and guidance.
    File Screening Management Scenarios
    http://technet.microsoft.com/en-us/library/cc755013(v=ws.10).aspx

    Screening Files
    http://technet.microsoft.com/en-us/library/cc732349(v=ws.10).aspx

    --
    If the reply is helpful, please Upvote and Accept as answer.


2 additional answers

Sort by: Most helpful
  1. Karlie Weng 18,666 Reputation points Microsoft Vendor
    2022-03-31T07:16:29.753+00:00

    Hello @Corbin Orth

    I don't think there's such an option "on specific file is opened".

    188652-image.png

    But this may be set on an event: The event based trigger determines the action to run after an event occurs. You can choose from a predefined list of events but you can also set a specific event.

    Here's a complete guide of Task scheduler : How to schedule tasks in Windows 10
    (Note: This is a third-party link and we do not have any guarantees on this website. And Microsoft does not make any guarantees about the content.)

    Other reference article: Trigger Types

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Nelvin Panaligan 1 Reputation point
    2022-10-10T04:08:37.947+00:00

    Hi, on this note, is there a way for the trigger to be when I open google chrome? or I open microsoft edge?

    0 comments No comments

Your answer

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