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)

3
votes
2answers
10k views

Permissions for Scheduled Tasks on a Domain Controller

I'm trying to run a Scheduled Task on a 2008 R2 Domain Controller and all was well until I set it into the production environment. I'm running the task as a Domain User that's defined in the "Log on ...
1
vote
1answer
1k 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 ...
1
vote
1answer
19 views

Task Schduler Log issues

I have been using task scheduler for scheduling batch jobs and I have enabled tasks history. However, I could not find any log file in C:\Windows\Tasks. So where could I find the log files for that?
3
votes
1answer
2k views

Windows Server 2008 Scheduled Tasks not running - 0x80041323 - Reduce Number of tasks running in the specified context?

I am getting the following problem on a number of windows 2008 servers. 0x80041323 Task Scheduler failed to start task \Reporting" in TaskEngine "S-1-5-18:NT AUTHORITY\System:Service:" for ...
-1
votes
0answers
10 views

Is windows scheduled task dependent on hostname and user-account name?

My PC credentials --> [[user: sunny ; pwd: sunny ; hostname:sunny1234]] I created a scheduled task under hostname: sunny1234, with user-name: sunny and pwd:sunny and task was created successfully. ...
2
votes
2answers
10k views

When ran as a scheduled task, cannot save an Excel workbook when using Excel.Application COM object in PowerShell

I'm having an issue where I've automated creating an Excel.Application COM object, add some data into a workbook, and then saving the document as an xlsx. This works fine if: I'm already in ...
1
vote
2answers
44 views

Set “Allow task to be run on demand” from the command line?

On Windows 7, is it possible to set the "Allow task to be run on demand" attribute from the command line when creating a scheduled task to be run on another Windows 7 computer (actually 9 others in a ...
4
votes
1answer
1k 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
3answers
3k views

Automate creation of Windows startup script?

Is there a good way to automate installing local startup (rather than login) scripts in Windows XP and Windows 7, via the command line, WMI, COM, or otherwise (even Win32 if it comes to that)? I need ...
24
votes
5answers
20k views

Process runs slower as a scheduled task than it does interactively

I have a scheduled task which is very CPU- and IO-intensive, and takes about four hours to run (building source code, if you're curious). The task is a Powershell script which spawns various sub-...
0
votes
2answers
55 views

Scheduled task runs with exit code 0, but powershell script is not always executed

The situation In our organisation I made a GPO that creates a scheduled task. This task triggers at logon of two user accounts. It executes a powershell script that changes the DNS servers for the ...
0
votes
1answer
16 views

at command: Exec failed for mail command: No such file or directory

I got to run a task today at midnight on a debian system. As I never did anything with atd I wanted to try first, if it works as expected. I got a test.sh in folder /usr/local/dump/ which contains ...
2
votes
1answer
1k views

Scheduled task does not run on WIndows 2003 server on VMWare unattened, runs fine otherwise

Scheduled task does not run on Windows 2003 server on VMWare. The same setup runs fine on standalone server. Test below explains the problem. We really need to run a more complex bat file, but ...
1
vote
1answer
1k 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 ...
6
votes
3answers
2k views

Windows server 2012 scheduled tasks run using default profile ( when ran session less ) even if specific account is specified

As pointed in http://social.technet.microsoft.com/Forums/windowsserver/en-US/5e6dc56d-9069-42e3-a7e3-87437cf8ed81/scheduled-tasks-run-in-the-default-user-profile ( No answer from microsoft yet ) I'm ...
87
votes
6answers
35k views

How do I rename a task in Task Scheduled on Windows Server 2008 R2

I have some tasks in the Task Scheduler on Windows 2008 R2. I created them as the admin and I'm logged in as the admin. I have no easy way to rename the tasks. The only way I can is to export the task ...
1
vote
2answers
2k views

Server 2008 issue running batch file

For the life of me, I can't seem to get a batch file running in Server 2008 Task Scheduler, despite it not having the common problems I've seen before. Problem so far: I have a batch file that ...
0
votes
0answers
20 views

Create windows task using group policy with limited privilages that anyone can run

Using group policy I created a windows task that any user can run manually but that runs under a specific domain user (e.g. DOMAIN\task_user) that has been assigned very limited access privileges. ...
1
vote
1answer
43 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 http://superuser.com/...
0
votes
0answers
29 views

Tasks disappear from Scheduler upon reboot

I have a Windows 2012 R2 server that has 12 scheduled tasks. Each task runs once per week, and each invokes a batch file that runs copy jobs. Whenever I reboot the server, 4 of those tasks disappear ...
0
votes
0answers
11 views

SQL Sending Maintenance Plan Notification WITH the actual error message

For some time, we searched for a solution to provide details from a failed SQL Maintenance plan to the IT Support team, who were responsible for the services being scheduled; trying to escape the ...
8
votes
2answers
13k views

Windows Scheduled Task - Error 2147943711 for “on startup” task

I have a onstartup task that I want to automatically run, regardless of if someone is logged in or not. I've set it up as Run whether user is logged in or not, Do not store password1, and Run with ...
0
votes
0answers
12 views

User grants for task scheduled job

How can I setup a standard user for scheduled task of Windows Server 2012? I tried to simply add an user, but the batch fails. I tried to add it to "Log on as batch job right" gpo, but it fails again. ...
0
votes
1answer
38 views

Scheduling a Task to Run Indefinitely

I suppose what I want is closer to a service, but I'd like to know if I could just accomplish this with a scheduled task. I can create a task with these parameters: $trigger = New-...
0
votes
0answers
18 views

How can I get a user to interact with an executable configured to run from a scheduled task?

I am trying to get the OpenVPN GUI to open for configured users automatically at (or recently after login). My original plan was to use a Computer Configuration scheduled task to run as the logged on ...
107
votes
11answers
199k views

Run a .bat file in a scheduled task without a window

I have a scheduled task that starts a batch script that runs robocopy every hour. Every time it runs a window pops up on the desktop with robocopy's output, which I don't really want to see. I ...
0
votes
1answer
25 views

Windows Scheduled Task HostName Placeholder

Hi I need to run a service on start up that cannot be run using the system user. (I am using Windows Scheduled Task Manager for this) Under user is there a way to have a placeholder for the hostname ...
19
votes
8answers
16k views

Linux: Schedule command to run once after reboot (RunOnce equivalent)

I'd like to schedule a command to run after reboot on a Linux box. I know how to do this so the command consistently runs after every reboot with a @reboot crontab entry, however I only want the ...
0
votes
0answers
39 views

Disable Disk Fragmentation Analysis - Windows Server 2008 R2 Standard

I have been asked to look into disabling the fragmentation analysis that Windows performs automatically for one of our servers. I have verified that the Disk Defrag tool shows automatic ...
3
votes
5answers
2k views

Exchange PowerShell in a Scheduled Task runs forever

I have a couple of Exchange 2010 PowerShell scripts that I'd like to run as Scheduled Tasks. If I launch PowerShell using "Run as different user" I can run the scripts and they execute correctly. If ...
4
votes
3answers
2k views

How can I create a scheduled task from the command line that only runs on demand?

I"m trying to duplicate the steps in this article for creating a shortcut that launches a program without a UAC prompt. I'd like to create the task from the command line, however. Here's the schtasks....
3
votes
2answers
2k views

schtasks - create task with no schedule that runs on demand

I am trying to use schtasks.exe and create a one-time task that runs on demand. I just want to create the task without a schedule but the command schtasks /create /tn TestTask fails with Invalid ...
0
votes
1answer
84 views

Windows Server 2012 R2 not printing from Task Scheduler

I have a script, written in Python, that generates a PDF document and prints it to network printer. When I execute that script through the cmd line or launch executable .cmd or .bat file, it works ...
1
vote
1answer
160 views

How to hide command window at while running powershell script through the task scheduler?

I have powershell script with GUI form which show message by condition. This script is runnig through the task scheduler every 15 minutes. Every running shows me concole window, then GUI form with ...
4
votes
4answers
622 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) ...
2
votes
2answers
59 views

windows scheduled task is killed (timed out) too soon

I have a scheduled task that is configured to be killed 23 hours after starting. When I export the task to XML I can verify this setting because I see the line: <ExecutionTimeLimit>PT23H</...
1
vote
0answers
103 views

Scheduled Task no longer running: Exception code: 0xe0434352

I had a scheduled task that has ran successfully for over two months. On March 12th/13th the task stopped running and I started to receive the following error each time it tried to run each day ...
0
votes
1answer
175 views

Windows Task Scheduler don't show execution errors

I'm trying to make a powerscript that will run from time to time through the windows task scheduler. My problem is that the task scheduler do not display the task as failed, even though my script do ...
0
votes
3answers
52 views

Run scheduled task with other domain user

I have a .bat that copies files from source to destination. The source is the local joined server, the destination is a non-joined computer on the network. I need to run this .bat with task scheduler. ...
0
votes
1answer
32 views

What's a good way to schedule scripts that depend on each other? [duplicate]

So, I have a few scripts that need to be executed in order, and they need to wait for the previous script to finish since they need the data it gathers. I thought about putting it all in a single ...
-5
votes
1answer
71 views

cron - How many times the cron job will run when given aterisk(*) on all positions [duplicate]

If we define a cron job with * * * * * /some/task/to/perform, how many times the job will executed in 60 seconds?
0
votes
1answer
42 views

Task Scheduler claims it ran but it did not

I had Task Scheduler start a task at 11:55 PM daily -- same setup on 5 servers. Last night I changed the same job to be run at 2 AM and 7 AM instead. It did not launch either. I know because it ...
3
votes
4answers
13k views

Why is Windows Task Scheduler trying to launch multiple instances?

We have a number of Windows Scheduled tasks that run on one Server 2008 Webserver (not R2) which is in a cluster. We recently moved from an original webserver Cluster to a new webserver Cluser (...
13
votes
1answer
3k 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 ...
1
vote
2answers
10k views

How do I give a user permisson to view scheduled task history on Server 2008?

I've set up a scheduled task on Server 2008 and want to run it as a user other than the local administrator. So I choose a domain account created specifically for this task and once I've closed the ...
4
votes
4answers
15k views

Robocopy failure with Windows Server 2008 Scheduled Task

So I have a batch script for robocopy. Running this from the command line does exactly what I want. robocopy "D:\SQL Backup" \\server1\Backup$\daily /mir /s /copyall /log:\\lmcrfs4g\NavBackup$\...
3
votes
1answer
31 views

Back up a database nightly

Question: Is it possible to automate the process of coping a full database every night into the development database on the same server? Software: Windows Server, SQL, SQL Server Management Studio, ...
0
votes
0answers
64 views

Group Policy Scheduled Task not asking for password

I'm trying to deploy a scheduled Task to our Servers via GPO, but something doesn't seem quite right. I want the Task to be run with a Service account, wheter the user is logged on or not. I know that ...
0
votes
1answer
6k views

“No mapping between account names and security IDs was done” when importing Scheduled Tasks In Windows 2008?

OK, I have a Windows 2008 Server scheduled task that runs on system startup. This works fine. But I want to move this task to another box (actually, I'm using Amazon and need this to work on other ...
2
votes
2answers
12k views

Transaction support within the specified resource manager is not started or was shut down due to an error

Got the following error while trying to add, edit or delete a windows schedule task: Transaction support within the specified resource manager is not started or was shut down due to an error. ...