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. How do I use Task Scheduler to start a program minimized?

    in Windows 10 Gaming
    How do I use Task Scheduler to start a program minimized?: I'm trying to start CUPID HWMonitor to start minimized on login. I can start it minimized through the shortcut properties, and I can start it poped-up on login, but I can't get it to start minimized through Task Scheduler. Using /background or start/ min does not work either....
  3. How do I use Task Scheduler to start a program minimized?

    in Windows 10 Software and Apps
    How do I use Task Scheduler to start a program minimized?: I'm trying to start CUPID HWMonitor to start minimized on login. I can start it minimized through the shortcut properties, and I can start it poped-up on login, but I can't get it to start minimized through Task Scheduler. Using /background or start/ min does not work either....
  4. How do I use Task Scheduler to start a program minimized?

    in Windows 10 Customization
    How do I use Task Scheduler to start a program minimized?: I'm trying to start CUPID HWMonitor to start minimized on login. I can start it minimized through the shortcut properties, and I can start it poped-up on login, but I can't get it to start minimized through Task Scheduler. Using /background or start/ min does not work either....
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...