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
17 views

How do I prevent Windows tasks from automatically triggering after resuming from hibernate?

I set up Windows tasks to automatically hibernate my computer if I forgot to turn it off or I'm on too late as a reminder to get off. So for instance, in my settings I have: Triggers Weekly At 11:...
0
votes
0answers
25 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
1answer
29 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
177 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:\...
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
28 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 ...
4
votes
0answers
90 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
votes
1answer
45 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
133 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
160 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
225 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
193 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
56 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
1answer
43 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
284 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 ...
1
vote
1answer
55 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 ...
0
votes
0answers
12 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
0answers
307 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 ...
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 ...
2
votes
1answer
487 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: $...
0
votes
1answer
89 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
178 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.
0
votes
1answer
82 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
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 ...
3
votes
1answer
37 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 behind-...
2
votes
0answers
81 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 ...
0
votes
1answer
136 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
0answers
158 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
2answers
59 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
201 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
20 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
99 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
0answers
183 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
127 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
450 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 ...
2
votes
1answer
414 views

Alternative to Windows Task Scheduler GUI?

OS: Windows 7 64-bit Context: Several recent Windows Updates have added many scheduled tasks about data collecting, performance reporting, blah blah, in preparation for the move to Windows 10. Many ...
1
vote
1answer
53 views

How to find/kill zombie task in taskscheduler

I have a task that runs an exe every minute. I noticed odd behaviour, and see that the exe is being run twice every minute. I have "ended" and disabled the task in the taskscheduler. And now I see ...
0
votes
1answer
376 views

How to lock window task scheduler from everyone

How can I lock windows task scheduler so that no one can access it. Even me, I wanna make it locked for everyone. Ive seen something about gpedit.msc and application lock but it does not show up .msc ...
1
vote
1answer
188 views

Task Scheduler differentiate between AC and battery power in Win 7?

Is there a way to differentiate between AC and battery power on a laptop to be used in Win 7 Task Scheduler?
0
votes
1answer
148 views

Clicking Display All Running Tasks in the task manage yeilds Catastrophic Failure?

When I click Display All Running Tasks in Task Scheduler I get a dialog box that reads: Catastrophic failure (Exceptiuon from HRESULT: 0x8000FFFF (E_UNEXPECTED)) Is there anything that can be done ...
0
votes
0answers
80 views

Get last time an NTFS directory was truly modified

What's the most efficient (least amount of time and least CPU intensive) way to check the last time an NTFS folder had an unlimited depth child folder or file deleted, modified in any way, or created? ...
0
votes
0answers
61 views

Open a program when I visit a specific URL in Internet Explorer

I want a program to open when I visit a specific URL in Internet Explorer. I feel like there should be a way to do this using the task scheduler, but it's not working for me. For example, when a ...
1
vote
1answer
149 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
1answer
227 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 ...
0
votes
1answer
271 views

Task Scheduler returns Directory Name Invalid for valid path

I'm trying to use Task Scheduler to run a Ruby script every night. When I try to run the script, I get error 0x8007010B which seems to be Directory Name Invalid. The directory I'm starting in is a ...
0
votes
0answers
144 views

Task Scheduler running a bat file that duplicates screen

When you lock a computer on windows 7 your login screen appears on your main display and then on other monitors it is completely black, when your displays are extended. This problem is fixed when you ...
1
vote
1answer
583 views

How to target an event by the process name as well as the ID?

I have managed to create a scheduled task that will be triggered by an event ID. For example, I have a task that will run winver.exe whenever event ID 4688 is logged. So if I run notepad.exe from Run ...
0
votes
1answer
248 views

Windows Task Scheduler Error 2147746322 Sending Mail with Attachment

When sending a *.txt attachment using the Windows Task Scheduler's Send Mail action, the job fails with error id 2147746322. When sending using PowerShell's Send-MailMessage command with exactly the ...
1
vote
1answer
148 views

Trying to auto-mount a VHD from microSD results in Error 0x80004005

I was following the instructions from this question down to the last detail, however on my Surface Pro 3, all I get when looking at Task Scheduling is an unknown error everytime I boot up my Tablet. ...