Tagged Questions

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
1answer
17 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
33 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
18 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
23 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 ...
1
vote
0answers
60 views

Unlock PC with Windows Task Scheduler [migrated]

How to set up a Scheduled Task to unlock Windows 7 PC at specific time? And second Task, to lock at other specific time. Is this possible by cmd.exe command or I need to use some third software? What ...
2
votes
1answer
77 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
33 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
56 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
44 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
37 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 ...
9
votes
5answers
458 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
40 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
104 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
68 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
18 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
33 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
55 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
95 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
36 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
279 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
34 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
69 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" ...
0
votes
0answers
41 views

task cannot be completed because of VPN 809 error

The setup: Windows server 2008 R2; L2TP VPN connection is configured; ports for L2TP are opened on the firewall. To (re)connect the vpn connection the task manager gets utilized. I've created a ...
0
votes
0answers
83 views

PowerShell Task Scheduler works but also throws Exception

I'm running into a roadblock trying to narrow down the cause of a powershell exception. Deployment: Server is being deployed with a Server 2012 clone with standardized machine and admin name which ...
0
votes
1answer
91 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
107 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) ...
2
votes
1answer
663 views

Windows 2008 R2 task scheduler with Batch and VBS

I've created a batch file called restart.bat :: Open a Telnet window start telnet.exe 10.20.11.12 :: Run the script %systemroot%\system32\cscript.exe //Nologo //B C:\Scripts_and_Tools\SendKeys.vbs ...
5
votes
1answer
233 views

What is the default working directory for a scheduled task in Windows 2008 R2?

Trying to figure out where the output of a long running scheduled task is being saved. Presumably, it's in the working directory of the task. Unfortunately, the "Start in" option was not set. The ...
-6
votes
1answer
50 views

Database Backup using DOS commands or any other useful commands [closed]

I am planning to backup my database files from network drive to one other. Here is my requirement: All database should be backed up excluding certain file names starting with msdb, model etc. this ...
2
votes
1answer
1k views

Server 2012 R2 Run Program from Task Scheduler not running program

I have a scheduled task that I am trying to run a program (a DB backup program). For reasons unknown I am unable to actually get the program to run, even though the task log says everything was run ...
1
vote
0answers
81 views

Trigger task on USB insert instead of insert and removal

i'm using Windows' task scheluder to trigger a task when a specific USB device is plugged to the computer, problem is the task is also triggered on USB removal. I used custom XML trigger for this ...
10
votes
1answer
532 views

Task Scheduler 2.0: Difference between “Stop task if…”

Using the Task Scheduler in Windows Server 2008 R2 or Windows 2012, etc... What is the difference between this setting: and this setting on the same task: Does one take precedence over the ...
4
votes
3answers
1k views

How can I disable a scheduled task using Powershell?

I have a web application that runs on Windows Server 2008 R2, which has a large number of scheduled tasks which take care of all the backend stuff. When I do a software deployment which touches the ...
0
votes
1answer
40 views

User WinWget to keep web site alive in a Windows Server 2003

I have a site that must stay alive due to a service that runs and check a directory for changes. The site is running in IIS at a Windows Server 2003 and the solution I came up it that I will ...
3
votes
1answer
213 views

Scheduled Task not Running on Windows Server 2012

I go to Task Scheduler and drill down to Microsoft Then I click on Create Basic Task and go through the wizard At the last page of the wizard I check "Open the Properties dialog for this task ...
1
vote
1answer
184 views

Cannot see schedule for Windows Server 2012 Task Scheduler task “SynchronizeTime”

We have a server that regularly gets a clock drift problem. It is Windows Server 2012 running as a guest in a HyperV host. I am under the impression that this scheduled task should periodically cause ...
1
vote
2answers
371 views

Server 2012 Scheduled Task CMD mysqldump not doing what is intended

I'm running a batch file to back up some mysql databases on a 2012 webserver. The batch file creates a folder, then runs the following for each db: mysqldump -u *username* -p*Password* *db_name* ...
0
votes
0answers
60 views

How to whitelist a scheduled task in Windows 7 to run in interactive window fully as administrator

How to whitelist a scheduled task in Windows 7 to run in interactive window(not running in the background) fully as administrator from a standard user account. If whitelisting is not an option, is ...
1
vote
1answer
123 views

Server 2008: Keyset does not exist when installing scheduled task

The product I work on has an installer that does a whole bunch of things, including installing regular files, setting registry keys, installing websites and web services on IIS and creating scheduled ...
0
votes
1answer
932 views

Strange behavior from Invoke-WebRequest in scheduled task

I'm running a PowerShell script that posts data to an internal webserver over HTTPS. The SSL certificate is not valid. I'm using [System.Net.ServicePointManager]::ServerCertificateValidationCallback ...
0
votes
0answers
680 views

Parameterizing powershell parameters in scheduled tasks

I have a bunch of powershell scripts that are kicked off via scheduled tasks at various times. The script are run multiple times with different arguments. Also admins unfamiliar with scripting needed ...
1
vote
3answers
178 views

Running desktop software as a “service”

We've got a Windows Server Standard 2008 server that needs to run QuickBooks Sync Manager, which is an application that only works properly from one user account (the account that configured it). The ...
3
votes
2answers
46 views

SYSTEM user to schedule tasks on Win 2003 server?Impact?

I wish to schedule a bat file on my Win 2003 server without a password. The requirement is to run it everyday at a specific time. We use expiring passwords and do not have a non expiring account. I ...
0
votes
1answer
335 views

Console application is shown as “Running” when it has actually completed

I created a task in Task Scheduler to run the following C# Hello World program. When I trigger it wait for it to complete, I can confirm under in its history that the console application have ...
4
votes
3answers
5k views

Start program on computer startup when nobody is logged on and show the window when someone does log on (OS: Windows)

I have a program that is launched on system startup using Task Scheduler on Windows Server 2012. The program must start even if the computer reboots automatially. Administrator is the account used to ...
1
vote
1answer
235 views

Windows Scheduled Task ignores the 'Stop the task after <time period>' setting

I have a Scheduled Task running on a Windows 2008 R2 server. The task calls a .bat file that performs a file copy. Everything works perfectly except for one thing. I want the task to terminate if it ...
0
votes
0answers
98 views

Scheduled task deleting itself

I am using PowerShell to create scheduled tasks on my local machine, the Scheduled Task runs a PowerShell script to PowerShell remote into a server and copy files. When I run the Scheduled task using ...
0
votes
1answer
71 views

Windows Scheduled tasks ends prematurely, so server doesn't run

I'm trying to run Django on my Windows Server 2008 machine. I can do this manually by calling python manage.py runserver 54321, which launches Django's server at http://127.0.0.1:54321 -- then I can ...
3
votes
1answer
532 views

Defrag options in Windows Server 2012

I am looking at the command line options for defrag.exe as well as the "ScheduledDefrag" task on Windows Server 2012, and I don't understand some of the arguments. In particular, when I view defrag ...
1
vote
1answer
86 views

Will a Scheduled Task On Windows Server 2008 R2 work correctly if windows are opened and closed?

I have a batch script that I am currently running on my own Windows 7 computer as a scheduled task. The task runs nightly when my computer is locked. The task launches an Progress OpenEdge session ...