A scheduled task is a job scheduled to run at a specific time and frequency and run a specific command on the operational system.

learn more… | top users | synonyms (1)

0
votes
1answer
9 views

Task launch failed, instance already running

I am trying to launch a task from task scheduler. The task is executing a batch file. It is running for the first time but after that it's status is not getting changed from Running to Ready. It is ...
0
votes
2answers
25 views

Unable to see scheduled custom tasks after upgrading to windows 10

I had added some basic tasks to display a message at regular intervals using Task scheduler. After upgrading to windows 10 , I am unable to view or edit them. The tasks are working fine (Message pop ...
0
votes
0answers
14 views

How to set up a task in Windows Task Scheduler to act on Bitlocker drive unlock?

I have a Win7 Enterprise system with one of its drives encrypted with Bitlocker. After reboot, I have to manually double-click the drive and supply password to unlock it. What I want to archive, is to ...
2
votes
2answers
51 views

7zip - Use Windows Task Scheduler to zip a file that has timestamp of previous day

I have a web server that generates log files everyday, the log of the day will be automatically saved as Log.YYYY-MM-DD.txt (i.e. Log.2016-07-20.txt). Now I need to use Windows Task Scheduler to zip ...
-2
votes
0answers
38 views

Excel - Auto Populate Break Schedule based on Weekly Schedule [on hold]

Ive been racking my brain trying to figure this out, ive searched and searched and I guess I just dont know enough about excel to be able to do this. I have 8 sheets to work with, The first one is ...
0
votes
2answers
26 views

How to make a desktop shortcut to Windows Task Scheduler?

I have many tasks that I am tinkering with in Windows Task Scheduler. I would like to add a desktop shortcut that I can click to open the Scheduler. theSoftwareJedi's answer here shows the following ...
0
votes
0answers
3 views

Python Script - Task Scheduler 0x103 using Selenium WebDriver on Azure machine [migrated]

I have a task setup using Task Scheduler on an Azure VM. Whenever I run the task directly it will run fine but when the machine turns on overnight and runs the task it will almost always give me a ...
-1
votes
0answers
14 views

Error scheduling job in Windows 2012 that ftp's files

I have a job that runs fine when I run it manually. It basically creates text files and ftp's them to the remote server. But when I schedule the job in Win Task Scheduler it creates the text file but ...
0
votes
0answers
26 views

How to run very long ansible tasks?

I have following ansible role tasks: "Task 1", "Task 2", "Task 2.1", "Task 2.2", "Task 3" I need run them, but all these tasks need a lot of time to complete (from 1 hour to 12 hours) and they must ...
0
votes
0answers
18 views

Windows 8.1 Task Scheduler library won't load

I disabled regular Windows 8.1 maintenance task some time ago because it never completes the task and just slows down everything. My laptop has been lagging lately. Just earlier I noticed that Windows ...
0
votes
0answers
70 views

SchTasks Windows 10 access denied

I wanted to create a task using SchTasks to run my batch file everyday 11pm this batch file starts a programm and runs a vbs script after the programm started. I created following Task: SchTasks /...
1
vote
0answers
20 views

Schedule task when USB device (Keyboard) is unplugged and plugged in

So I would like to schedule a task to run a specific command when a certain hardware (usb) device is unplugged, then another command when it is plugged in. The commands: #Unplug nircmd monitor off #...
0
votes
1answer
63 views

Display Popup from script executed as System user

I've a scheduled task, executed by System user. It's can sometimes display a popup to interacts with the user. This work fine if I launch the script myself, but not displaying when launched by the ...
0
votes
1answer
24 views

How to launch/close a program when launching/closing another program using the Windows Task Scheduler?

I have a Steam game which I launch in multiple ways such as: Clicking the play button on the Steam Library page Playing the game in Steam Big Picture Mode Manually launching the .exe Other batch ...
0
votes
0answers
17 views

schtasks.exe using XML won't check the Wake to run task option

I'm trying to push out a simple reboot script via SCCM to a collection of nearly 100 computers. I have the SCCM package set to run a simple batch file, which creates a scheduled task using a XML file ...
0
votes
2answers
86 views

executing script manually works, but not in task scheduler

I have troubles with the task scheduler in windows 7 Pro. I want to run a script. Manual execution works perfectely, the task manager does nothing. Part of the script is setting the focus onto a ...
1
vote
0answers
22 views

script with print screen and task scheduler problems

On a production system a script opens screens and sends them to hypersnapDX. Hypersnap then saves a picture in a folder which then is copied onto a server. This script is done by a cmd script. The ...
0
votes
1answer
33 views

How can I prevent multiple different task from task scheduler in Windows

Suppose I have multiple different task with different time based trigger, but I want to run only one task among them which trigger is same in specific scenario. For example I have 10 different tasks. ...
0
votes
0answers
20 views

Alert When Windows Task Scheduler Fails to Run [duplicate]

We have a script that is a security script, checking logs. Almost always it can be ignored and, for the most part, is; it sends out an email when it sees an issue in some logs of a particular type, ...
0
votes
0answers
25 views

Want to automate the following sequence of Tasks in Windows7

I want to automate the following sequence of Tasks in Windows7: 4AM: Wake my computer from sleep and make VLC record a stream for 1 hour. 5AM: put my computer back to sleep. 5:30AM: Again, wake my ...
0
votes
1answer
33 views

Run a scheduled task when a disk volume is attached

I have this Windows 10 virtual environment where frequently I need to attach raw disk volumes to the virtual machine, then I need to run diskpart on it to initialize it. I think I need Window Task ...
1
vote
1answer
31 views

scheduled task to open a PNG file

There is this picture, that I want to be shown every morning. I created a scheduled task, and in actions, I simply added a new action, that starts a program, and for the path of the program, I simply ...
0
votes
0answers
38 views

Start NPM and Node.js on machine startup using Windows Task Scheduler

I want to host my Node.js application in LAN (for testers). What I'm trying to is setting up the Windows task in Task Scheduler. My task needs to run npm start and node server.js commands to work as ...
0
votes
0answers
56 views

How do I create a scheduled task that will run as the logged in user

I am trying to write a scheduled task that will run in the context of the currently logged in user. It appears there was an option to run the task as a group in Windows 7 (see What "user" ...
0
votes
0answers
40 views

(Windows 10 Pro) Set task scheduler to gracefully shutdown when switching to battery

Long story short, we have a requirement tossed on us to make a Surface 3 shut down upon commercial power loss. I have went through Microsoft support, and we tried several things to attempt to disable ...
0
votes
1answer
63 views

I want to schedule a batch file to execute a command and redirect that output a text file

I want to schedule a batch file to execute a command and redirect that output a text file. This is my current solution: Del \\10.112.232.10\Netbackup_Softwares\Personal\Bharath\VM_Query\switch.txt D:...
0
votes
1answer
33 views

SCHTASKS with OnEvent > Trigger has a duplicate source entry

I create a schedule tasks using the following command SCHTASKS /Create /TN EventLog /SC ONEVENT /EC System /MO "*[System[Provider[@Name='WindowsUpdateClient'] and EventID=21]]" /TR "C:\Windows\...
1
vote
1answer
301 views

schtasks with multiple actions

I am trying to create a schedule task using command line which has multiple actions running more than one batch files in sequence among other things SCHTASKS /Create /TN TaskName /SC ONLOGON /TR C:\...
1
vote
0answers
28 views

Set Windows Server idle task

I want to execute a batch file when the computer has been idle (no keyboard or mouse inputs) for one minute using Task Scheduler on Windows Server 2012. I've had a go but the task doesn't seem to ever ...
0
votes
1answer
28 views

How to schedule two commands to run at certain times daily on Windows?

I'm on Windows Server 2012 and I need to restart a service at a certain point in time every day. I'm doing this using two commands, net stop and net start. This is what I have tried so far: SchTasks /...
0
votes
0answers
37 views

Linux RT vs 'niceness' priority and preemption

I wanted some clarification on the differences between real-time linux process priority (-99 - -1) and normal user-level 'niceness' (0 - 40) priority, and the effects on scheduling and pre-emption. ...
1
vote
1answer
43 views

Different result from command line prog when run by Task Scheduler

I call the following program from within another command line prog... :: NT_getdate.cmd return yumd-date in var='ymd' @echo on setlocal for /F "tokens=2,3,4 delims=/ " %%g in ('echo.^|date /t') do ...
1
vote
0answers
29 views

Scheduled and recurring email in Outlook? Open Dialog Box error

I have done these instructions Scheduled and recurring email in Outlook? Now when I try to import a calendar for example in Outlook 2016 I get an error that says "a dialog box is open. close it ...
-1
votes
2answers
31 views

Use Windows Task Scheduler To Put Windows To Sleep Without Batch File

How can I use Task Scheduler to put Windows 10 to sleep at a specific time without using a batch file?
1
vote
2answers
37 views

how to cancel a scheduled command for CMD

i just scheduled a hibernate command: at 13:00 shutdown /h Is there any command to abort this scheduled operation? shutdown /a didn't work, it said there is no scheduled shutdown. At 12:59 ...
0
votes
0answers
158 views

Run scheduled task from IIS ASP.NET site on Windows Server 2008 R2

A task should be run on a local machine now but it should work also on remote machine later. schtasks /Run /S 123.45.67.89 /U 123.45.67.89\Administrator /P * /I /TN "Name" gives "ERROR: User ...
0
votes
2answers
42 views

How can one prevent a Windows Scheduled Task from being killed upon OS sleep?

I have a Scheduled Task which runs an application upon user logon with the "run with highest privileges" checkbox turned on, so that the application can launch with admin rights. Unfortunately, when ...
1
vote
1answer
44 views

Hyper-Threading (SMT) Affinity and Equality

This question goes out to the Intel gurus that I know are out there. Are both threads on a physical CPU treated equally? As we know, hyper threading on intel CPUs is a system in which each physical ...
0
votes
0answers
52 views

How to connect to a wireless Display adapter automatically through scripts or Task Scheduler?

I am trying to project files to a Samsung TV which has a windows display adapter. I want to automate the entire process. So when the TV is switched on, I want the computer to continuously check for ...
0
votes
0answers
75 views

Windows Task Scheduler running Access using “Run whether user is logged on or not”

My Question: Is there a way to run MS Access from Windows Task Scheduler using the "Run whether user is logged in or not" option? Background: I am experiencing a similar issue to Windows Task ...
0
votes
1answer
104 views

Having trouble with windows 10 task scheduler

I have recently upgraded my windows 8.1 to 10, And now each time I leave my laptop on its own after a few minutes the CPU and Disk usage both go really up due to scheduled tasks. I tried disabling ...
1
vote
1answer
124 views

Stopping a scheduled task with a batch file action doesn't stop the program running in the batch file

I have several scheduled tasks that each execute a (different) batch file. Each batch file calls into the same program, with with separate command line arguments. If I Stop a task while it's running, ...
0
votes
0answers
16 views

Perform Background Tasks in Low Power Mode - Possible?

Is there a way to schedule low power background activities to be performed while a computer is idle, sleeping, or even powered off? Until recently I would have thought the answer was unconditionally "...
1
vote
2answers
38 views

How to schedule windows maintaince utility silently?

I am working as a system administrator, so i have responsibility to maintain each and every system. But our staff is non technical so each and every time i started some system maintenance utility like ...
0
votes
0answers
46 views

Alternative to “Run whether usr logged in or not” with Win7 Task Scheduler

I have a Scheduled Task in Windows 7 that cannot run hidden (Tera Term does not like running hidden, even using .ttl files). That means "Run whether user logged in or not" will not work within the ...
0
votes
1answer
120 views

Sending e-mail via powershell (Net.Mail.SmtpClient or Send-Mailmessage) works, but not when invoked by Task Scheduler

I have done a script to check UPS status, log it and send notification e-mail. Script works fine if run manually, but when executed via Task Scheduler, it does not send the e-mail. It does everything ...
0
votes
0answers
18 views

linux kernel scheduler's load balance acting weird

The machine i’m running on has intel i-7 processor – which has four hyper threaded cores – which means 8 logical cores . I forked 100 identical process that run in an infinite loop doing sqrt() – ...
0
votes
1answer
93 views

A scheduled task running every hour is taking focus away from my games. How do I find which one it is?

Every hour a scheduled task runs that opens a command prompt window for a brief moment, this causes any games I'm playing to lose focus and minimize. While I'm not 100% sure it's a scheduled task, it ...
0
votes
0answers
33 views

Batch - Schtasks Onstart Repeat Interval

Command I'm using: SCHTASKS /Create /SC ONSTART /TN "TaskName" /TR "path" /RU "user" /RP "pass" /RL HIGHEST I'd like to repeat this task every 10 minutes, which would be doable with the /RI flag, ...
0
votes
0answers
156 views

unsplash-wallpaper random in Windows Tasks, but not in background. How to?

I need to start this: unsplash-wallpaper random every hour on my Windows Desktop, but without Windows Command Prompt on Desktop every time. How to start it in background? UPDATE: I tried to ...