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
1answer
247 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 ...
3
votes
1answer
613 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 ...
2
votes
1answer
256 views

MSSQL Server 2012 Scheduled PowerShell Job fails

I have a simple PowerShell script that runs fine from the console (PSVersion 2.0). $psftpPath = "C:\Program Files (x86)\PuTTY\psftp.exe" $sftpHost = "foo.baa.com" $userName = "myusername" ...
2
votes
1answer
1k 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 ...
2
votes
1answer
987 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
256 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 ...
1
vote
1answer
429 views

Access Denied when creating a scheduled task with powershell and the com schedule.service object

I have a powershell script that creates a scheduled task using a call to RegisterTask via the Schedule.Service com object. Essentially: $ts = new-object -com Schedule.Service $ts.Connect() ...
1
vote
1answer
381 views

Xcopy and hosts file in windows scheduled tasks

I have some trouble with xcopy or maybe with windows/drivers/etc/hosts DNS file. If I add my xcopy command in a windows scheduled task, xcopy can not resolve server's name stored in hosts file, ...
1
vote
1answer
56 views

Probable IIS changes after update

We have developed a module which enters Windows Scheduled tasks in on our server that are calling KeepAlive pages on different servers. Normally everything went fine, but since 21-07-2011 on 17:00 all ...
1
vote
1answer
269 views

MSSQL2008-R2 Scheduled Job Infinite Loop

I have two very similar jobs on a SQL2008r2 instance. Each one selects data from one of two structurally identical tables and exports it to one of two SQLAzure databases with the same schema every ...
1
vote
1answer
99 views

Least privilege for backup app

I've written an app that compresses then sends backup files to a remote destination via SFTP. It is written in .net4/C#. I'd like to make an entry in the Windows scheduler to run this app at x ...
1
vote
1answer
545 views

Script for run script on vbs

Hello everybody I have a script on vbscript Dim WSHShell, WinDir, Value, wshProcEnv, fso, Spath Set WSHShell = CreateObject("WScript.Shell") Dim objFSO, objFileCopy Dim strFilePath, strDestination ...
0
votes
1answer
21 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
40 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 ...
0
votes
1answer
43 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 ...
0
votes
1answer
364 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 ...
0
votes
1answer
52 views

Security Policy Logs On Windows 7 - Determine Why A Certain Software Function Fails

Is there a log file or administrator screen (like Event Viewer) where one can see specific rules that are being enforced? You know how you can use Process Monitor to monitor a task and see registry ...
0
votes
1answer
136 views

Windows Server 2008: How do I configure a scheduled task to run with the logged on user's permissions?

On Windows Server 2008 R2, with User Account Control enabled, I want to run Process Explorer (as Administrator) when I log in. Though I have administrative rights on the server, I am not the only ...
1
vote
0answers
28 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
0answers
93 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 ...
1
vote
0answers
393 views

How can I run a scheduled task on a Windows 2008 R2 Domain Controller as a non-admin user?

I'm trying to run an exe as a scheduled task on a Windows 2008 R2 Domain Controller. The exe runs fine when I try and run it manually using an account which is a Domain Administrator, but I don't ...
1
vote
0answers
246 views

How does Windows Task Scheduler detect that a task is already running?

I have an application on Windows Server 2008 that takes different command-line parameters. For example: myapp.exe /A myapp.exe /B I have created a task scheduler task for each of those. While ...
1
vote
0answers
79 views

Strange behavior of Windows Server 2003 task scheduler

I've got a task, which runs fine while launching it with "Right click / Run" in the scheduler, but fails with a weird "SQL Server login fail" due to bad login while ran automatically at specified ...
1
vote
0answers
289 views

WebDAV client on windows 2008R2 running slow from scheduled script

I have a rather unexpected situation here. I have a small application that connects to a WebDAV server (Sharepoint) using the standard WebDAV windows client (WebClient service, part of the "desktop ...
1
vote
0answers
144 views

scheduledtask to update svn directory creates multiple processes

We have a fairly standard web setup, with a windows 2008 server hosting our website and the directories being under control of SVN, with tortoise SVN as the preferred provider. One of the SVN folders ...
1
vote
0answers
522 views

task scheduler - run interactively as any user with admin credentials

I'm trying to deploy a scheduled task with a GPO. The task is set to run at login and executes a batch file, which then executes an EXE file. However, I also need it to be interactive and run with ...
1
vote
0answers
237 views

SocketException (Timeout) only when running as scheduled task

I'm running a C# web-scrapper application (that I wrote) on a Windows Server 2003 instance under a user belonging to the local Administrator group. When I run it within a desktop/remote-desktop ...
1
vote
0answers
78 views

Windows task scheduler - Interdependent 'Action' s

I have a scheduled task set up in Windows task scheduler. It runs on a particular time of the day. Once the job is completed (action 1 - the job itself) there is another Action (action 2) that is a ...
1
vote
0answers
952 views

Troubleshooting 'Could Not Start' scheduled task error:

I'm trying to run snapshot on my server to back up the drive onto a local NAS server. I'm currently using this on a Win2k, Win2k3, and Win2k8 servers. Both the Win2k and Win2k8 servers are correctly ...
1
vote
0answers
142 views

Windows 2008 Scheduled Tasks and Parallel instance issue

I have a scheduled task launching a bat file which runs a CLI PHP script. The scheduled task is configured to run every 5 minutes, and run multiple instances in parallel. However, windows is ...
1
vote
0answers
4k views

Task Scheduler permissions error for some jobs

I have recently moved to a 64-bit Windows Server 2008 R2. I setup my Scheduled Tasks to run under one user (TaskUser) specifically created for the scheduler and most run just fine. However some of ...
1
vote
0answers
974 views

Windows Server 2008 R2 Customer Experience Tasks

Can I disable the CEIP and Application Experience Tasks in the task scheduler without hesitation? I'm talkin about: \Microsoft\Windows\Application Experience: "AitAgent" and ...
0
votes
0answers
41 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 ...
0
votes
0answers
50 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
43 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 ...
0
votes
0answers
37 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
0answers
53 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 ...
0
votes
0answers
118 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
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
87 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
51 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
99 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
0answers
66 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 ...
0
votes
0answers
805 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 ...
0
votes
0answers
101 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
0answers
158 views

Windows Task Scheduler Option “Do not start a new instance” runs a second instance of my script, known bug?

I am using a small powershell script which checks the ram and disk usage , just some metrics. This script sleeps for 15 seconds and then runs again. Only 1 script is triggered and this should kept ...
0
votes
0answers
74 views

Windows Server 2003 Task Scheduler Fails to Kill Task Unless I'm Logged in

I am having problems with a process started by a Windows task that is not being killed properly after it has run for a pre-determined amount of time even though the Windows task is created to kill the ...
0
votes
0answers
62 views

Automated Logon with Macro backup script

I'm having some issues with an automated backup macro script I've written using Autohotkeys. My specific issue is that I need the script to run on a Windows based server at a given time during the ...
0
votes
0answers
781 views

Scheduled Task to shutdown computer after 2 hours of inactivity?

We have around 900 machines in two locations. 95% of these machines are shared, and we find users don't log off or shutdown as often as they should to get updates. I thought I would create a ...
0
votes
0answers
74 views

Batch script terminates too soon

I need some help with Windows batch/CMD scripting. I wrote a script to record mic-in to a MP3 for 12 hours. It runs ok when running it manually. It will run with task scheduler too - just that, ...