Windows 10: Task scheduler not executing executable file properly

Discus and support Task scheduler not executing executable file properly in Windows 10 Customization to solve the problem; I am executing a bat file which is calling a power shell script.Power shell script is doing the below activity.Step1: It truncat the table and insert... Discussion in 'Windows 10 Customization' started by Mohnish hari, Nov 1, 2024.

  1. Task scheduler not executing executable file properly


    I am executing a bat file which is calling a power shell script.Power shell script is doing the below activity.Step1: It truncat the table and insert it from the file present in the server.Step2: execute the executable file.Step3: create the file and archive it in the server.I am running with high privilege.Frequency of the task scheduler is every 10 min for each day.IssueEvery 10 min file is creating but when I check the executable logs then some time it run and some time not.Even if I trigger the task scheduler manually then some it trigger successfully which create the file and also execute

    :)
     
    Mohnish hari, Nov 1, 2024
    #1

  2. execute a .js file using Task Scheduler

    Hello.

    I have a JavaScript file that I execute it with node using cmd or VS Code.

    I have tried to schedule a task using:

    Action: Start a program

    Program/ Script: "C:\Users\AppData\Local\Programs\Microsoft VS Code\Code.exe"

    Arguments: -l - i -c "C:\Users\desktop\folder_containing_the_file; node writeToFile.js"

    When I run it, it opens my VS code, but is not executing the file.

    What should I do to be able to run the script?

    Thank you.
     
    Alexandra Burlacu, Nov 1, 2024
    #2
  3. MiroslavaRadoslavova, Nov 1, 2024
    #3
  4. 64mo Win User

    Task scheduler not executing executable file properly

    Task no longer exists in Scheduler but still executes - How to delete it?

    When I was using Windows 7, I set up a task to create a pop up message each day. I have since upgraded to Windows 10.

    The pop up is causing trouble and crashing other programs that are open at the time it executes and would like to delete it, but when I open the Task Scheduler, I get an error message that "The selected task "Reminder" no longer exists." It is not listed
    in the Task Library.

    Are there options to explore to correct this without reinstalling the OS?
     
    64mo, Nov 1, 2024
    #4
Thema:

Task scheduler not executing executable file properly

Loading...
  1. Task scheduler not executing executable file properly - Similar Threads - Task scheduler executing

  2. Task scheduler not executing executable file properly

    in Windows 10 Gaming
    Task scheduler not executing executable file properly: I am executing a bat file which is calling a power shell script.Power shell script is doing the below activity.Step1: It truncat the table and insert it from the file present in the server.Step2: execute the executable file.Step3: create the file and archive it in the...
  3. Task scheduler not executing executable file properly

    in Windows 10 Software and Apps
    Task scheduler not executing executable file properly: I am executing a bat file which is calling a power shell script.Power shell script is doing the below activity.Step1: It truncat the table and insert it from the file present in the server.Step2: execute the executable file.Step3: create the file and archive it in the...
  4. Issue with Task Scheduler to execute .exe file

    in Windows 10 Gaming
    Issue with Task Scheduler to execute .exe file: I have created one Task to execute .exe with Task Schedular. So when i am trying option " Run only when user is logged on" its working fine but when i am trying to use "Run whether user is logged on or not" it not working, which is strange. I tried with user having Admin...
  5. Issue with Task Scheduler to execute .exe file

    in Windows 10 Software and Apps
    Issue with Task Scheduler to execute .exe file: I have created one Task to execute .exe with Task Schedular. So when i am trying option " Run only when user is logged on" its working fine but when i am trying to use "Run whether user is logged on or not" it not working, which is strange. I tried with user having Admin...
  6. Issue with Task Scheduler to execute .exe file

    in Windows 10 Customization
    Issue with Task Scheduler to execute .exe file: I have created one Task to execute .exe with Task Schedular. So when i am trying option " Run only when user is logged on" its working fine but when i am trying to use "Run whether user is logged on or not" it not working, which is strange. I tried with user having Admin...
  7. execute a .js file using Task Scheduler

    in Windows 10 Gaming
    execute a .js file using Task Scheduler: Hello.I have a JavaScript file that I execute it with node using cmd or VS Code.I have tried to schedule a task using:Action: Start a programProgram/ Script: "C:\Users\AppData\Local\Programs\Microsoft VS Code\Code.exe"Arguments: -l - i -c...
  8. execute a .js file using Task Scheduler

    in Windows 10 Software and Apps
    execute a .js file using Task Scheduler: Hello.I have a JavaScript file that I execute it with node using cmd or VS Code.I have tried to schedule a task using:Action: Start a programProgram/ Script: "C:\Users\AppData\Local\Programs\Microsoft VS Code\Code.exe"Arguments: -l - i -c...
  9. execute a .js file using Task Scheduler

    in Windows 10 BSOD Crashes and Debugging
    execute a .js file using Task Scheduler: Hello.I have a JavaScript file that I execute it with node using cmd or VS Code.I have tried to schedule a task using:Action: Start a programProgram/ Script: "C:\Users\AppData\Local\Programs\Microsoft VS Code\Code.exe"Arguments: -l - i -c...
  10. GPO for Scheduling Tasks not executed

    in Windows 10 Customization
    GPO for Scheduling Tasks not executed: Hello, I should make GPO to change one wallpaper at 07:00 AM and change other wallpaper at 03:00 PM. I have made two bat files. I want to execute them with schedules tasks via GPO. My DC is Windows Server 2008 R2 Standard, The client PC is Windows 10. My bat file content...