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)

4
votes
0answers
93 views

`at` jobs running tens of minutes later than expected

I have an issue with at jobs being queued successfully and running successfully, but sometimes tens of minutes after they are scheduled to run. I confirmed that atd is running: me@hostname:~$ ps -ef ...
2
votes
0answers
30 views

Pass null arguments in an scheduled task xml file

I am trying to run a batch file when some specific events occurs and I want to pass some null arguments to one of my tasks. The problem is that I don't know how. I have tried a lot of combinations ...
2
votes
0answers
396 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 ...
2
votes
0answers
113 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 time....
1
vote
0answers
119 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 ...
1
vote
0answers
113 views

What permissions does schtasks.exe need to query another server?

I've got a Server 2012 machine, HostA, and a Windows 7 machine, MONITOR_VM, both on our domain. HostA is running a scheduled task. I want to query the info for this task from MONITOR_VM. I'm using ...
1
vote
0answers
106 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"> <...
1
vote
0answers
105 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 ...
1
vote
0answers
259 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 ...
1
vote
0answers
321 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 ...
1
vote
0answers
3k 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 administrators unfamiliar with ...
1
vote
0answers
1k 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
643 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
1k views

DPM 2012 running powershell script in task scheduler

I'm having a problem running a custom PS script I created to attach systems into the console. My PS script works when i'm running it interactively in the DPM Management Shell. I was referencing this ...
1
vote
0answers
503 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
172 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
850 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
299 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
92 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
3k 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
161 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
5k 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
1k 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
24 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. ...
0
votes
0answers
37 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
14 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 ...
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
0answers
21 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 ...
0
votes
0answers
53 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 ...
0
votes
0answers
75 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
0answers
43 views

execute powershell script even if he is already running

I have a powershell script that is scheduled to run when an user account is disabled in Active Directory. My problem is that when i'll use a script in order to disable multiple user accounts (for ex. ...
0
votes
0answers
22 views

Windows Task Scheduler condition not working

I have a service i want to start when windows user logs in. I set a condition to start only if network connection is available, but i'm on AWS EC2 so the connection name keeps changing. I also tried ...
0
votes
0answers
23 views

environment variable 'HOME' value on windows

I have a ruby script running in the context of a scheduled task (windows server 2012r2), running as user "Administrator". Here is the sequence of events which recreates this issue: Create an AWS ...
0
votes
0answers
149 views

Schedule powershell script task doesn't Send-MailMessage

I am building a Powershell script to create a company synchronized email signature so I don't have to ask users to manually edit theirs when information changes. It is set up to grab the contents of ...
0
votes
0answers
57 views

Run vbscript on server as scheduled task

I've written two scripts in vbs, one iterates through a bunch (+10000) of folders on our server and creates a shortcut in a specific folder to any folder that has a specific name. ('ax' followed by ...
0
votes
0answers
117 views

Logstash process, created after invoking logstash.bat with task scheduler, keeps running even after task is terminated

I have dedicated machine with windows server 2012 R2 and i have to keep a logstash instance running to collect logs. For this, i have created a task scheduler task configured to invoke the provided ...
0
votes
0answers
18 views

2003 server not seeing scheduled tasks on a 2008 server

I have a script that is currently running under a scheduled task on a file server that is running server 2008 r2. I can access and run this task from the command prompt from another 2008 file server ...
0
votes
0answers
603 views

Task Scheduler insufficient permissions(?)

Windows Server 2012 in a domain environment. I cant seem to be able to do anything in Task Scheduler anymore. I might as well mention that my user is a domain admin. When attempting to disable a ...
0
votes
0answers
503 views

Why my task has 0x5 Access denied exit code with Task Scheduler if script was finished?

I have following batch script: copy \\remotehost.ip\c$\dumps\TEST_%date%.dmp C:\dumps\TEST_%date%.dmp sqlplus sys/password as SYSDBA @C:\dumps\recreate_test.sql > C:\dumps\recreate_test.log ...
0
votes
0answers
138 views

Task Scheduler - Custom Trigger Not Firing

Our server has MANY tasks in Task Scheduler that run on varying schedules. I need to be notified by email only when one particular tasks completes. Seeing that the appropriate Event ID for a ...
0
votes
0answers
32 views

icewarp automate extraction of smtp logs

How can we create a batch job to extract results of SMTP log search from IceWarp Log Analyzer and save it to desktop or some network drive or better send it via mail. We are using windows server 2008 ...
0
votes
0answers
317 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 ...
0
votes
0answers
338 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?
0
votes
0answers
104 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 ...
0
votes
0answers
970 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
575 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
91 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
135 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
56 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
242 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 ...