Task Scheduler is a component of Microsoft Windows that provides the ability to schedule the launch of programs or scripts at predefined times or after specified time intervals.

learn more… | top users | synonyms

0
votes
0answers
14 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
2answers
224 views

How to trigger a task each time an executable file is open with Windows Task Scheduler?

I would like to trigger my own task each time an executable file is opened. How do I do that with Task Scheduler ? Which event should I listen to ? The only resources related to this I found are : ...
1
vote
2answers
15k views

Windows scheduled tasks fail with 0x1, don't log errors

I have three Python scripts running overnight as scheduled tasks on a Windows Server 2008 VM. I can run them manually with no problems. But when I look at the Task Scheduler each morning, the first ...
1
vote
1answer
3k views

Run a program before Logoff and wait for finish

When I want to run a program (.exe \ .bat) before Windows 7 Home Premium Logoff \ Restart I use the Task Scheduler and I set a custom event: Log: System, Source: Winlogon, Event ID: 7002 \ 4634 \ 4647 ...
0
votes
1answer
21 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 ...
1
vote
1answer
61 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 ...
0
votes
1answer
27 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
27 views

cmd.exe at \\computername to run on remote machine

My original problem was the NirCmd remote \\PC_D ... (http://www.nirsoft.net/utils/nircmd.html) was failing. I tracked that down to it using at \\computername command which is not working on all ...
2
votes
0answers
250 views

Sudden change in task kill behavior on Windows Server 2012 (Access Denied)

After a reboot on a machine (WS2012-R2), I observed that I could no longer use the "Details" tab in Task Manager to kill a process that I have run at startup. After checking solutions from other ...
4
votes
0answers
68 views

Using plink.exe or similar in a scheduled task (to be run continuously)

I've been trying to get plink.exe (from the maker of PuTTY) to establish a local SOCKS proxy to a remote site, as well as some tunnels. The action is simply to start plink.exe with the right ...
1
vote
1answer
3k views

Unable to remotely schedule tasks from the command line

I'm on a Windows 7 machine, attempting to use the command line to schedule a task on another Windows 7 machine in my company's network. I have administrative-level credentials for both computers. With ...
2
votes
1answer
426 views

Powershell for Creating a scheduled task in which runs monthly

I'm trying to create a scheduled task with powershell, the task is supposed to run the 1st of every month, but I can't figure out how to use New-ScheduledTaskTrigger with a monthly interval. EG: ...
-1
votes
1answer
42 views

Cleanup Windows on startup or shutdown

My Environment Multiple VMs all comprising of Various versions of Windows which is power on/off as needed i like to cleanup my %temp% and other places on reboot so as to save space and also speed up ...
0
votes
0answers
101 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 ...
1
vote
1answer
116 views

Task Scheduler won't allow re-use of task names from older, auto-deleted tasks that were created with the /Z switch

While trying to get this to work I created several scheduled tasks with the /Z switch which, according to documentation is... A value that marks the task to be deleted after its final run. I was ...
2
votes
1answer
187 views

How do you schedule a task (using schtasks.exe) to run once and delete itself?

I want to schedule a task from the command prompt (using schtasks.exe) to run once and delete the task entry from the Task Scheduler Library after completion. After looking through the usage guide, I ...
1
vote
1answer
121 views

Windows task schduler keep showing 0x41301

I have wrote the following .ps1 file:- [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} $request = [System.Net.WebRequest]::Create("https://localhost/") $response = ...
0
votes
1answer
50 views

Send output of batch file in email as attached file with Outlook 2010

I have a java script which produces its output in a separated text file. I need to send that text file as attached file in an email with outlook 2010, everyday at 6pm. Is that possible with windows ...
2
votes
2answers
223 views

Status of the process while Windows scheduler working

I have a .bat file which should kick off every 30mins. I am using Windows scheduler for this. I have some questions on the same: Does the scheduled task starts at a scheduled time even after a ...
2
votes
1answer
41 views

Run task while application is running

Is there a way to run a windows task scheduler task while a process/application is running, and then stop that task when the application closes? The task repeats itself every 2 minutes, until ...
0
votes
0answers
221 views

Access denied on deleting task I created from schtasks

I am using Windows 7 as a user without admin privileges (with no chance to change this situation). I have quite a long list of tasks, which are actively managed (I'm adding, deleting and rescheduling ...
0
votes
1answer
79 views

How to schedule a task to run daily in the morning next day before reaching office?

Hi I want to schedule a task to run automation on virtual mavchine atleast 3-4 hours after I leave my office. I have made a .vbs file which opens QTP and execute the scripts and even I have made a ...
0
votes
1answer
168 views

Schedule Shutdown when visual studio completes building a project

I used task scheduler for shutdown after a fix time but I want to know how to create a task in windown 7 so that it will shut down system when visual studio will complete building a project.
1
vote
1answer
47 views

Run batch job periodically after a process has terminated

I used FreeFileSync to create a batch job to backup my Firefox profile and I'm not sure how to run it periodically (every hour or so) or after Firefox has been closed. FreeFileSync's website ...
1
vote
1answer
5k views

windows 8.1 scheduled tasks fail to run

I have several scheduled tasks that were running for months now. Suddenly 3 days ago, they all fail. Log Name: Microsoft-Windows-TaskScheduler/Operational Source: ...
0
votes
0answers
11 views

schtasks on power plan change event

I want to schedule a task using schtasks that needs to executed every time I change my power plan. I want to use the following format. schtasks /create /sc onevent /ec <channel> /mo <xpath ...
2
votes
2answers
3k views

Windows scheduler that runs every x minutes daily on the command line

Is there a way to schedule a task (.bat) through the command line that runs every five minutes daily? I also want it to run even if the user isn't logged on. What is the exact command line syntax?
1
vote
1answer
109 views

Windows task scheduler - CPU temperature trigger

Is it possible to run a task using the Windows task scheduler when the CPU reaches a certain temperature? If it's not possible what are the alternatives?
0
votes
2answers
5k views

Scheduled task works on a mapped drive when configured for Windows XP mode, but not for Windows 7

There is a Windows 7 PC with a scheduled task. The only thing it does is running a VBS file located on a mapped drive that points to a network share: M:\Folder\Script.vbs where M: is the mapped ...
2
votes
1answer
2k views

Windows 8 “Task Scheduler service is not available”

I'm having problems keeping my Windows 8 clock synced so I'm trying to regularly resync with an every-5-minutes schedule trigger. When I go into the Windows 8 task scheduler through the ...
1
vote
1answer
2k views

What are the arguments for shutdown.exe in Windows Task Scheduler?

I'm trying to use Windows Task Scheduler to automatically shut down my Windows 7 computer every day at a specific time. While there are a lot of tutorials on how to do this, none of them give a list ...
0
votes
0answers
11 views

Error while running scheduled task in login restricted user

I am using schtask to create scheduled tasks in windows. schtasks /create /RU "User name" /RP password /sc ONSTART /tn "task name" /tr "files to execute" The scheduled task is set to run under a ...
0
votes
1answer
84 views

Can't get a command prompt window to show when testing a UAC batch file on startup

Most of the questions relating to this seem to be centered on hiding the command prompt window when running a batch file at startup. I seem to be having the opposite problem. I'm trying to run a ...
0
votes
1answer
3k views

Can I use Windows 7 TaskScheduler to enable/disable wired Ethernet connection?

I may be asking the wrong question, so some background: my company's IT pushes patches overnight, and either their scripts or Win7's built-in updater controls then force-restart my machine, killing ...
3
votes
1answer
35 views

How (behind-the-scenes) does Task Scheduler end tasks?

When Windows' Task Scheduler ends as task (either because the task exceeded the stop the task if it runs longer than timeout or because a user right-clicked on it and chose 'End'), what happens ...
0
votes
1answer
26 views

How to start GUI admin ap on login Windows

I wrote small application in C# to control time my kido spent playing on PC. Now I'm looking way to run this app as admin when kid logs in to his profile. App displays some warnings on screen and ...
2
votes
0answers
76 views

Can I assume that Task scheduler service will always be running on windows machine?

The requirement is to run an executable periodically in windows. So I assumed it will be better to do it by creating a task in task scheduler. But I am afraid for any reason will the task scheduler ...
5
votes
4answers
13k views

How can I allow non-administrators to use shutdown.exe?

As per the comments in the accepted answer to this question, I'm having issues running a scheduled task which calls shutdown.exe, even when the user is an administrator. I'm administrating someone ...
2
votes
2answers
2k views

java update via windows task scheduler

I want to get rid of always-running jusched.exe, and update java periodically using windows task scheduler. Is it possible? My system: Windows 8 x64, Java 32-bit
0
votes
1answer
128 views

Start applications via windows task scheduler

I have a C# console application which starts the some of windows desktop applications say for example notepad, Skype. I have created a basic task in windows task scheduler and then gave when i log on ...
0
votes
2answers
57 views

Task scheduler in windows 7

I have created a task that has three actions which I would like to be executed in the following order: Display message to user Backup files (batch file) Shutdown computer (batch file) As I have ...
0
votes
0answers
149 views

How to open a URL with credentials from Windows Task Scheduler

Every week I need to open a URL which will download a excel sheet. I need to login with my network credentials every time I open URL. I need schedule this task in Task Scheduler. I have written a ...
0
votes
0answers
192 views

VBScript Won't run as scheduled task on Windows 7

Very basic proof of concept code below- which is giving me fits. It runs fine if you launch the script from explorer. It runs fine if you schedule it as a task and "run only when logged on." It ...
0
votes
0answers
19 views

Trigger task when second display is plugged/unplugged. (Windows 10)

I want to trigger a task (in Windows Task Scheduler) when my second display is plugged or unplugged. Is this possible, and if so, how?
0
votes
0answers
91 views

Windows screensaver schedule

In the office we have a computer running Windows (8.1) which displays monitoring data. I would like the display to be turned off outside office hours. So I changed the screensaver settings with a ...
0
votes
1answer
213 views

Can I Rename the Title of Command Windows from the Task Scheduler

We have several command line apps that are launched from the Task Scheduler. They all have the title 'taskeng.exe'. Is there a way to rename the windows, to make them easier to identify? We're ...
1
vote
1answer
143 views

PsShutdown in Task Scheduler of Windows 7

I try to use PsShutdown to schedule late sleep, restart and etc on Windows 7 machine. In order to run the command manually I have to open the command window as Administrator first. So how can I do it ...
0
votes
0answers
173 views

Dynamically generate email messages for Windows Task Scheduler

My business scenario is as follows: My task's first action is to run a program that creates a log file. I would like to add the content of this file (or parts of it) to the body of the email that's ...
1
vote
0answers
108 views

schtask Activate task when specific user login

I want to create a batch file that creates a scheduled task to run a .cmd file when a specific user logons. So far I've come up with this: @echo off schtasks /CREATE /RU %username% /TN "TaskName" /TR ...
0
votes
1answer
409 views

Using a curl scheduled task in windows

I am using the following command in a scheduled task in windows to update my IP to the free Dynamic DNS service called EntryDNS: curl.exe -k -X PUT -d "" "Their url API string here" The problem I am ...