Windows 10: Issue running a Batch file from Win10 Task Scheduler.

Discus and support Issue running a Batch file from Win10 Task Scheduler. in Windows 10 Gaming to solve the problem; Hi,I have created a Batch file to copy several files to my OneDrive system each day, so that I can access them if I'm not with my laptop. The script... Discussion in 'Windows 10 Gaming' started by Graham Keen_50, May 2, 2024.

  1. Issue running a Batch file from Win10 Task Scheduler.


    Hi,I have created a Batch file to copy several files to my OneDrive system each day, so that I can access them if I'm not with my laptop. The script refers directly to OneDrive via c:\users\...The batch file runs within a CMD window with and without Admin privileges. But it doesn't appear to run from the Task Scheduler, or at least no files are copied. I can't see any log files that are created.Any suggestions as to where to start ?Thanks, Graham.

    :)
     
    Graham Keen_50, May 2, 2024
    #1
  2. jgunning Win User

    Task Scheduler Batch file

    Hi all,

    Looking for some help.Im creating a batch file to run for different users to add a scheduled task. HOWEVER - the whole thing works great and has done for some time.But after i run the batch file on each machine (different users) i have to go into the security options and change the user the task runs in to the unique user of that machine. Is there a way to use the batch file to pull the account name of the machine (or computer name) and use that as the user the task runs in?


    Thanks =)
     
    jgunning, May 2, 2024
    #2
  3. Tryx3 Win User
    Tryx3, May 2, 2024
    #3
  4. Issue running a Batch file from Win10 Task Scheduler.

    Window's Task Scheduler Not Running

    Hi,

    To assist you better, kindly provide us more details by answering the following questions:

    • Have you tried recreating the task? If so, are you getting the same issue?
    • Have you tried creating a new task?
    Meanwhile, we suggest that you ensure that the Task Scheduler is running. You can verify if the service is running by following these steps:

    • Press Windows key + R on your keyboard.
    • Type services.msc and hit Enter.
    • Under Services (Local), make sure that the Task Scheduler service's status is
      Started or Enabled.
    Should you need further assistance, feel free to get back to us.
     
    Monica Cam, May 2, 2024
    #4
Thema:

Issue running a Batch file from Win10 Task Scheduler.

Loading...
  1. Issue running a Batch file from Win10 Task Scheduler. - Similar Threads - Issue running Batch

  2. Issue running a Batch file from Win10 Task Scheduler.

    in Windows 10 Network and Sharing
    Issue running a Batch file from Win10 Task Scheduler.: Hi,I have created a Batch file to copy several files to my OneDrive system each day, so that I can access them if I'm not with my laptop. The script refers directly to OneDrive via c:\users\...The batch file runs within a CMD window with and without Admin privileges. But it...
  3. Issue running a Batch file from Win10 Task Scheduler.

    in Windows 10 Software and Apps
    Issue running a Batch file from Win10 Task Scheduler.: Hi,I have created a Batch file to copy several files to my OneDrive system each day, so that I can access them if I'm not with my laptop. The script refers directly to OneDrive via c:\users\...The batch file runs within a CMD window with and without Admin privileges. But it...
  4. Task Scheduler - Batch File

    in Windows 10 Gaming
    Task Scheduler - Batch File: I am attempting to use Task Scheduler to run a batch file automatically every day. I am following instructions that I found on the Web. As far as I can tell I have set up Task Scheduler correctly, the only problem being that it doesn't run! I have uploaded screenshots of the...
  5. Task Scheduler - Batch File

    in Windows 10 Software and Apps
    Task Scheduler - Batch File: I am attempting to use Task Scheduler to run a batch file automatically every day. I am following instructions that I found on the Web. As far as I can tell I have set up Task Scheduler correctly, the only problem being that it doesn't run! I have uploaded screenshots of the...
  6. What Could Be Disabling Batch Files Scheduled in Task Scheduler?

    in Windows 10 Support
    What Could Be Disabling Batch Files Scheduled in Task Scheduler?: I'm using Win10 Pro 2004. I go to Win-R > taskschd.msc > Task Scheduler Library. I see a number of batch files that I have scheduled to run at various times. I see that today, like yesterday, their status is Disabled. Yesterday, when I saw that, I right-clicked > Enable. But...
  7. Invoke scheduled task from batch?

    in Windows 10 Support
    Invoke scheduled task from batch?: Is there any way to invoke a scheduled task from a script? I know the tasks can be manually invoked from the Task Scheduler's GUI so maybe there's a way to do it programmatically. Yes? 165093
  8. Make Task scheduler run a batch file minimised & with a specific icon

    in Windows 10 Customization
    Make Task scheduler run a batch file minimised & with a specific icon: Introduction I have a batch file that I run minimised & with the icon I have chosen. I am happy with the way it runs as I do not need to see the Command window every time and having my chosen icon on the TaskBar shows me at a glance what is running. I also want to run this...
  9. Task scheduler simply refuses to run a batch script

    in Windows 10 Customization
    Task scheduler simply refuses to run a batch script: I know that there have been many different solutions to this problem posted on the internet and various forums, but I have scoured Google for a solution to my problem to no avail. My problem appears to be unique (something that at this rate I do not want). Now, onto my...
  10. Problems automating a batch file with task scheduler

    in Windows 10 Support
    Problems automating a batch file with task scheduler: I want run this bat file from task scheduler @Rem %pf% expands to the right program location depending if it is x86 or x64 system @setlocal @set pf=%ProgramFiles% @if not "[%ProgramFiles(x86)%]"=="[]" set pf=%ProgramFiles(x86)% @Rem %macropath% expands to the demo...