Windows 10: use Task Scheduler to start batch file, minimized?

Discus and support use Task Scheduler to start batch file, minimized? in Windows 10 Support to solve the problem; I have already tried to find the solution using google, but literally none of them worked! At one point I edited the file/folder names, and changed the... Discussion in 'Windows 10 Support' started by ReallyFrustratd, Sep 26, 2020.

  1. use Task Scheduler to start batch file, minimized?


    I have already tried to find the solution using google, but literally none of them worked! At one point I edited the file/folder names, and changed the locations to those in the "solutions" but even that didn't work! You are my last hope!

    is there any way, any at all, you know of, to make Task Scheduler run a batch file minimized? As in the command prompt screen would be minimized when the file runs

    :)
     
    ReallyFrustratd, Sep 26, 2020
    #1
  2. raywood Win User

    Start Batch File Minimized via Task Scheduler

    I have a batch file scheduled to run in Task Scheduler in Windows 10. The batch file runs on schedule, but it opens a full CMD window. I have tried entering variations on start /min in the Task Scheduler properties, but these seem to have no effect.

    The particular batch file opens and then pauses at a PAUSE statement, waiting for user response. I want it to start minimized partly because, when it opens to a full CMD window, it captures keystrokes, if I happen to be typing. In that case, the newly opened batch file blows past the pause and proceeds with its next steps. I don't want that to happen.

    Possibly I am using the wrong term. When I say "minimized," I mean that the batch file will be visible as an item on the taskbar, but its window will not open up onscreen. To access the batch file, I will have to coolswitch to it or click on its taskbar icon.

    So the question is, how can I start this batch file minimized, in the sense that it will open as a taskbar icon but not as a full CMD window?
     
    raywood, Sep 26, 2020
    #2
  3. 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, Sep 26, 2020
    #3
  4. Tryx3 Win User

    use Task Scheduler to start batch file, minimized?

    Tryx3, Sep 26, 2020
    #4
Thema:

use Task Scheduler to start batch file, minimized?

Loading...
  1. use Task Scheduler to start batch file, minimized? - Similar Threads - Task Scheduler start

  2. 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
  3. Batch files appear to start but don't fully execute on Windows 10 Task Scheduler

    in Windows 10 BSOD Crashes and Debugging
    Batch files appear to start but don't fully execute on Windows 10 Task Scheduler: I recently set up a new system with Windows 10 Pro and copied the C:\Batch folder to the new system These systems are essentially identical in their hardware configuration except for the motherboard, memory & video card. ( Borh are ASUS Motherboards and Video cards with i7...
  4. Using Batch files to perform sequential tasks

    in Windows 10 Software and Apps
    Using Batch files to perform sequential tasks: Hi, I think I used to do this all the time but that was a long time ago. I want to open a Wordperfect (WP) document then run an executable program, the WP file opens fine but the executable won't run until I close the WP file. Any clues? Regards, Jim 57282
  5. 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...
  6. Windows Arguments List - Start Programs Minimized with Task Scheduler.

    in Windows 10 Performance & Maintenance
    Windows Arguments List - Start Programs Minimized with Task Scheduler.: Hello Community! I'm trying to get BBC iPlayer downloads to start automagically at 2100 so that it can start downloading Doctor Who. I'd like it to start minimized, but I am unsure how to do so. In addition to this, does anyone know if there is a list somewhere with all...
  7. Task Scheduler Will Not Start

    in Windows 10 Support
    Task Scheduler Will Not Start: Hey everyone, Have an issue with task scheduler not stating which is causing issues with say Nvidia Geforce Experience not starting as it requires it to update. When I try to start it from services I get that error. [img] When I try to launch the task scheduler...
  8. Batch file start program minimized

    in Windows 10 Support
    Batch file start program minimized: Here's a little script to make a backup of 2 directories: Code: ::can't copy Opera data while Opera is running taskkill /im opera.exe robocopy c:\all e:\Bobback\All /mir robocopy c:\Users\Bob\AppData\Roaming e:\Bobback\Roaming /mir ::restart Opera minimized start...
  9. Start Batch File Minimized via Task Scheduler

    in Windows 10 Support
    Start Batch File Minimized via Task Scheduler: I have a batch file scheduled to run in Task Scheduler in Windows 10. The batch file runs on schedule, but it opens a full CMD window. I have tried entering variations on start /min in the Task Scheduler properties, but these seem to have no effect. The particular batch...
  10. Batch file - Unable to start a program minimized

    in Windows 10 Support
    Batch file - Unable to start a program minimized: I've been trying to figure this out for a while now and I can't. I've looked at tons of small tips online to get this working but it doesn't work at all. I have a batch file which causes various programs to start when opened. However, one of them always appears above the rest...