A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.

learn more… | top users | synonyms (1)

0
votes
0answers
11 views

Wbadmin [startbackup] keeps prompting for password

I am running Wbadmin for backup purposes in a batch file, however the batch execution halts, prompting for a password although the password is provided. First attempt - include password in command: ...
1
vote
0answers
29 views

Event Log trigger configuration for scheduled tasks not working despite working with the eventviewer

I'm trying to start a task that gets triggered by specific events. The XML configuration for the filter I'm using is the following: <QueryList> <Query Id="0" Path="Security"> ...
0
votes
1answer
16 views

Windows Scheduler: run on login

I would like to use Windows Schedule to schedule a task to run on login by any user. This is on Server 2003-R2. It would run a Powershell that brings up an alert that the OS is end of life. How can ...
1
vote
1answer
180 views

Scheduled task deployed via GP, that runs a powershell script on a network share by a AD service account

I've created a powershell script that runs Chocolatey updates as well as does some logging locally and on a network share. The script itself resides on a network share, and I'm hoping to be able to ...
0
votes
0answers
93 views

Scheduled Task is not able to write to file on server

We recently moved from an SBS2003 domain to one with Windows Server 2012R2. This machine is our DC and acts as a fileserver as well. Our client machines are all running Windows 7. I have had a ...
3
votes
1answer
75 views

Scheduled PS Script Not Running

I'm trying to run the script from https://gallery.technet.microsoft.com/Password-Expiry-Email-177c3e27 I've corrected the variables for my environment and I'm able to run it from my workstation and ...
3
votes
2answers
35 views

Running tasks as SYSTEM in DC

I have some Powershell scripts which make some procedures with users in AD, like cmd-lets 'Set-ADAccount', 'Add-ADPrincipalGroupMembership' and stuff like that, basically make changes in AD, in a ...
0
votes
0answers
22 views

SBS Server Scheduled task, corrupt file

I have a Windows small business server (version 2011), and I have defined a scheduled task to send an email at 5pm every day, the email has a file attached as part of the task (an Excel file). The ...
0
votes
1answer
305 views

The system cannot find the file specified- Task Scheduler. Win Server 2012

I have batch script file, which should encrypt a file with pgp. I have defined a task in task scheduler to do this, but I am keep receiving the error"The system cannot find the file specified". ...
4
votes
4answers
199 views

Windows 2008 R2 Not Printing From Scheduled Task

Problem Since the end of support is coming on July 14th for Windows servers 2003 we are moving all of our scheduled tasks to a Windows 2008 R2 server. We use a Microsoft(MS) Access 2003(mdb) ...
0
votes
0answers
55 views

Log on as batch task with User Profile Disks

We have a Windows Server 2012 R2 Remote Desktop deployment, where we use user profile disks stored on a central file server. We are trying to run a scheduled tasks as a user, while they are logged ...
0
votes
1answer
21 views

Unable to schedule task to copy across network

I remote access into a server running windows 2008 with my login from active directory. I wrote a BAT file to copy from a different sharefolder to backup files to this server. Running the BAT file ...
0
votes
1answer
57 views

Scheduled task not running BAT file [duplicate]

I have a windows server that I created a BAT file that basically goes into a network sharefolder and copies a file to a different location. When I run the BAT file manually it works perfectly. When I ...
0
votes
1answer
36 views

Gentle reboot of batch server (Task Schedular)

We have 3 Batch servers running hundreds of scheduled task using the built-in task schedular in Windows (2003R2 and 2012R2) How do i prepare our servers for a reboot, so i wont interrupting a running ...
1
vote
3answers
54 views

Monitoring file for changes and immediately take action on change

How can I constantly monitor (small) file for changes? Eg. when file is updated (action from web application), a script is executed (if not already running). Right now, I do it every minute using ...
1
vote
1answer
30 views

how to stagger scheduled cfengine tasks based on hostname

I'm trying to execute a scheduled task on a large-ish pool of virtual servers, but I want to minimize the resulting performance impact on the hypervisor, ideally executing it on one server at a time. ...
1
vote
0answers
46 views

Run scheduled task on wireless connection

I'm trying to set up a completely wireless office, with mostly Windows 7 and a few Windows 8 clients, and one problem I've run into is login scripts. The security guys don't want to allow machine ...
0
votes
0answers
45 views

Windows Task Scheduler Spring Forward Behavior

I have two Windows 2008 R2 Std systems with a scheduled task each: one which runs at 2AM every day, and another that depends on results from the first system which runs at 2:30AM. Last night those ...
-1
votes
2answers
85 views

How to automatically restart after Windows Update requires it?

On a windows machine running Windows Update via the built-in service (not GPO), I would like to have it automatically restart every morning at 5:30AM, only when required by WU. The event log entry ...
6
votes
1answer
325 views

How can I modify an existing scheduled task using Powershell?

I am working on some release automation scripts that use Powershell to update existing scheduled tasks which execute various applications. In my script, I can set the Path and Working Directory of the ...
0
votes
0answers
91 views

Displaying the window of a background process started by task scheduler in the current login?

Is it possible to bring a window that has been started by the task manager in the background to the foreground of an RDP session provided that the same account started the task? And if so how?
1
vote
1answer
220 views

What Event ID is generated when a scheduled task fails in Windows Server 2003?

If a scheduled task fails on Windows Server 2003, is anything written to the event log? And if so, what Event ID does it have so I can set an Event Trigger to look for it, and email me?
0
votes
0answers
65 views

schedule command with “at” after reboot

I'm trying to schedule a command to run only once with at. But the server is prone to reboot at least once every day. I already tried to schedule a command with at` to be executed in 24 hours, but it ...
1
vote
0answers
128 views

Trigger a scheduled task if specific event is logged in AD FS 2.0 event log

I am trying to use Task Scheduler to monitor an AD FS 2.0 event log on an AD FS 2.0 proxy which is located in a DMZ on a Windows 2008 R2 server. I am trying to monitor the log for a specific Event ID ...
0
votes
1answer
128 views

How to query database(s) on daily schedule and generate an email report with the results?

I have a website that runs off a Node web server, a Redis server for temporary storage, and a Postgres database. Once a day, I would like to run a batch of Redis and Postgres queries to generate a ...
1
vote
1answer
607 views

Windows user privileges when running scheduled task

I posted a question a while ago about allowing a specific user to start/stop Windows services. Provide a user with service start/stop permissions I decided to revisit the issue. I have no idea what ...
0
votes
0answers
650 views

Batch/Powershell file wont run via Task Scheduler during logoff

I'm having trouble getting my Powershell file to run from Task Schedule during logoff. In short, I'm trying to upload my NTUSER.DAT (roaming profile) to my profiles folder on the file server. Dynamic ...
1
vote
1answer
107 views

Store scheduled tasks in user profile

We are currently creating two remote desktop farms for our users. One farm is for operations staff, and one is for accounts. In both cases, we are using Server 2012 R2 remote desktop deployments with ...
0
votes
2answers
779 views

Creating Scheduled Task from Group Policy. Can't write to network share?

I am using NinitePro and group policy to deploy and update software on our small network of 150 Win 7 and WinXP machines. I am roughly following these instructions: ...
0
votes
0answers
345 views

Server 2012 scheduled task for SharePoint 2013 backup

I have Windows Server 2012 with SharePoint 2013 setup. I created a PShell script and saved it to a ps1 which backs up the Farm: Add-PsSnapin Microsoft.SharePoint.Powershell Backup-SPFarm -Directory ...
0
votes
0answers
245 views

Scheduled task timed out and terminated before reaching its run time limit

I have a scheduled task running on a Windows 7 server (not a server OS, I know, but the only function of this box is to run that single task). The task is terminated at the next scheduled run time ...
3
votes
1answer
272 views

Using Windows Server, how do I schedule an hourly task that will call a URL WITH an authorization header?

I need to schedule a task that will call a given url hourly. The URL doesn't return anything so it is fairly simple HOWEVER this URL requires an authorization header: Authorization: Basic {SOME AUTH ...
0
votes
0answers
66 views

Scheduled Task running longer than expected

From further investigation I have found there is an exact issue on how long certain instances of the task run for. most successfully run in a few seconds, yet a few consecutive tasks are running up to ...
0
votes
1answer
675 views

Console application scheduled task not exiting some times on Windows Server 2008 R2

I have a C# console application as a Scheduled Task on Windows Server 2008 R2. The application is scheduled in Windows Task scheduler to run after every 15 minutes. At the end of the application I ...
0
votes
0answers
90 views

Running Defrag Task Against Servers

I have a PowerShell script as follows: $ListOfServers = "Server1", "Server2" $RunDefrag = { param($Server) $Volume = Get-WmiObject -Class Win32_Volume -ComputerName $Server -Filter ...
-3
votes
1answer
59 views

Create task on windows server [closed]

I need to create a task to download a file from a website that is gzipped and then ungzip it and copy it to various folders on the server. I don't really know what is the best approach to achieve ...
11
votes
6answers
13k views

Program does not run properly as Scheduled Task

Situation I have a batch script that prepares some files, executes a program (.exe) and then deletes said files. This task should run hourly, so I'm trying to configure this using Scheduled Tasks. ...
-3
votes
2answers
64 views

Scheduled Task Naming Conventions? [closed]

I would like to hear of examples of a naming convention for Scheduled Tasks in Windows, along with rationale. Thanks.
0
votes
0answers
203 views

How to send email when SPECIFIC scheduled task fails to run or returns with an error code

I have a backup script (Powershell 1.0) that is executed every night by the Task Scheduler on my Windows 2008 box. If that script should fail to start, e.g. because the script has been moved or ...
0
votes
1answer
744 views

Windows Server 2012 Run Service On Startup Unsuccessful

I have an EC2 instance with Windows Server 2012 R2 with all the latest updates. I made a service at first, and then a task to run a batch file to create a Microsoft Word report (using my custom C# ...
0
votes
1answer
63 views

How to change task's priority?

How to change task's priority in Windows Server 2003 Scheduled task? I see it's possible in Windows Server 2008 and R2. I'm wondering if it's possible in Server 2003 too? In 2008 it's possible ...
0
votes
1answer
131 views

How to enable or disable a ClusteredScheduledTask in Powershell 4.0

Reference to this page: http://technet.microsoft.com/en-us/library/jj649815.aspx I'm finding ClusteredScheduledTasks a bit daunting to handle without a GUI interface. For example, they have a ...
-1
votes
3answers
135 views

Can't create new task with schtasks… Why?

I have a new Windows Server 2008 R2 host with a strange (?) behavior. I try to schedule a new task into Task Scheduler. I'm using a user that's part of administrators group. If I do it from the ...
0
votes
1answer
348 views

:Powershell Register-ClusteredScheduledTask from XML

I'd like to take my tasks on a non-clustered server, and import them as clustered tasks on a new cluster that has been built and tested. Here's what I have tried: cls ...
-1
votes
1answer
69 views

Child process runs in normal priority only. Why? [closed]

I run a scheduled task in Windows Server 2008 R2. I used the technique described here to set its priority to high priority (level 1 of 7). My task runs a process (an EXE file) that creates child ...
1
vote
3answers
755 views

Powershell - Set-ClusteredScheduledTask - Error “Incorrect function.”

I'm experimenting with Powershell to add a ClusteredScheduledTask on a clustered server (Win 2012/R2) Technet sample code gives error: #canned exampled from ...
0
votes
0answers
47 views

Windows Task Scheduler skips a scheduled interval

We use Windows Task Scheduler on Win2008/R2 to run a small Powershell job every 15 minutes. It creates a small XML file which triggers a BizTalk process to run, so it typically takes under 1 second ...
0
votes
0answers
182 views

Getting the `The application failed to initialize properly`/3221225794 error executing a batch file

There is a scheduled task that is attached to a custom event in the EventLog, it executes the lines below: reconnect.cmd c:\windows\system32\rasphone -f "phone_book.pbk" -d "vpn_connection" ...
1
vote
1answer
533 views

How to kill a running scheduled task?

I have scheduled a task on Windows Server 2008 R2 Task Scheduler that kicks off a python script. However, when the task is running, I don't see the process spawned in the Task Manager and therefore am ...
0
votes
2answers
911 views

View Scheduled Tasks (local and remote) on Windows Server 2008 R2

In one of our production nodes which runs on Windows Server 2008 R2, we have noticed that there is a significant delay (5 times normal) in processing requests (by our application running on tomcat) ...