The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
19 views

Monitoring task status via snmp

We have a number of Windows 2008 r2 servers set to run a scheduled task once a week using the built in task scheduler. We also have another server running SolarWinds which collects information on the ...
0
votes
0answers
53 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
13 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
28 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
0answers
25 views

winrs fails with internal error when run from a scheduled task but not from the command line

I have a batch file that is run by the Windows Task Scheduler. This file executes winrs to run a command on a remote computer. I am seeing the following error message when the task runs: Winrs ...
1
vote
1answer
52 views

Windows Task Scheduler - result code 0xC000005

I created Task in Windows Task Scheduler which runs every day at 9:00 AM. I configured it to run using SYSTEM account and run whether user is logged or not. I'm 100% sure, that action is pointing to ...
-1
votes
3answers
48 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
0answers
21 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 ...
1
vote
1answer
160 views

Task to delete a directory runs with success but the directory is still there

I have a task in the task scheduler on a Windows 2012 file server. The task has to delete the contents of a temporary general access directory every Sunday night. It runs at the scheduled times and ...
0
votes
2answers
51 views

Block users from Remote Desktop for a specified period of time or by trigger

So I have to server (2003 & 2008). On both servers I have domain users in a Remote Desktop Users group. They need to rdp to the server and work with some apps and log off. But - every day batch ...
2
votes
0answers
69 views

Need help using SCHTASKS on Windows Server 2008/2012

I'm executing the following command : schtasks /create /tn "test" /ru system /SC onevent /TR "test" /F /RL HIGHEST /MO "*[System[Provider[@Name='SupportAssistService'] and EventID=900]]" /EC ...
0
votes
1answer
70 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
0answers
13 views

Manually started task does not terminate according to “stop if task runs longer than” setting

I've got a simple "test" task that runs "cmd.exe" as the only action. I've specified that the task should be terminated if it runs longer than one minute in the Task Settings. If I schedule this ...
6
votes
2answers
429 views

How to print out information about Task Scheduler in powershell script?

I am trying to print out information from the Task Scheduler from the local computer in a PowerShell script so other users can print out this information as well and not have to access the Task ...
10
votes
1answer
418 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
3answers
212 views

Domain account credentials fails to start scheduled tasks

I have 2 Windows 2000 servers in a domain 'DC', which run numerous windows scheduled tasks under the 'DC\Task-User' account. These tasks are and have been running successfully in the past couple of ...
0
votes
0answers
74 views

run a program from network location as scheduled task

I am running a windows server 2008 R2. When trying to run a scheduled task (manually and automatically triggered), the Last Run Time results in "Access is Denied". History shows: Task Scheduler ...
1
vote
2answers
292 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* ...
1
vote
1answer
218 views

Save Custom View from Event Viewer in .evtx

I have a Custom View in the Event Viewer with a couple of Event id's. I know you can save those event id's in an .evtx file to open it. This proces has to be executed manually. Now is my question, how ...
4
votes
1answer
87 views

Secret scheduled tasks in windows server 2003

I'm taking care of the company's website for a while. The guy who was doing so before me was fired because reasons. So for the past 3 months I've been keeping it up to date and adding/deleting stuff. ...
0
votes
5answers
345 views

Scheduling tasks|jobs across servers from central location. (Windows Server)

Is there any way, how to schedule Windows tasks|jobs on all servers from central location (server)? Has Microsoft any solution for this? I prefer MS or Windows Server built-in functionalities before ...
1
vote
1answer
103 views

I cannot get the repetition option in task scheduler to work

The task is supposed to run a .js file every minute. To make this happen, I made the task run every day at 00:00 and repeat every 1 minutes. However, the task now allways has Status of Running ...
3
votes
1answer
98 views

Poor Task Scheduler Performance on Windows 8 and Windows Server 2012

I am using the Windows Task Scheduler to start an elevated administrator program when a user logs on. The technique is based on this article: ...
1
vote
2answers
3k views

Cannot get Exchange PowerShell script to run under Scheduled Tasks

I have a PowerShell script that works when entered directly into the PowerShell. The PowerShell program is run with the shorcut: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ...
1
vote
1answer
84 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 ...
0
votes
0answers
129 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 ...
1
vote
1answer
118 views

If I disable a Windows task in task scheduler will it stop the current task that's running too?

Let's say I have scheduled Task A in Windows Server task scheduler, and it's set to run 6 times a day. I manually run it 20 minutes before it's about to run next, but I forget that it's going to take ...
1
vote
1answer
66 views

Scheduler spikes single core on SMP Ubuntu vm under ESXi

The setup is as follows. Ubuntu-11.10 VM running on an ESXi host. The VM has 3 vCPU assigned. When running dump (to backup the harddisk) it seems all the processes are assigned to the first vCPU. As ...
2
votes
1answer
610 views

wevtutil requires Run As Admin for Security log (but not for System), or how to Run As Admin for Task

I'm using this query to check for certain Exchange account changes on my Windows 2008 R2 AD primary: wevtutil qe Security /q:"*[System/EventID=5136]" /f:text /rd:true /c:1 I'm making a batch file ...
0
votes
1answer
112 views

How can I run a few tasks consecutively that I usually execute manually

Ok, first of all let me describe my working situation so that is is clear why this is a question pertaining to system administration. I work at a larger IT solution company that is running operations ...
4
votes
1answer
131 views

AT command w/ 2008 R2 unexpectedly schedules task as repeating

In my organization we recently upgraded some servers from Windows Server 2003 to 2008 R2. In doing so we found a strange bug in how the AT command works. This is critical to an internally developed ...
0
votes
0answers
27 views

WS2003 : scheduled tasks normally displayed in session are not, with processes parented from Svchost instead of Winlogon

I have Windows Server 2003 machines intended to run scheduled tasks under a specific account, which is logged-on 24/24. We have given that particular user just the proper set of rights to create, ...
2
votes
1answer
246 views

Run a scheduled task as an unprivileged user remotely

I need to allow a group of unprivileged users to trigger a predefined scheduled tank on a Windows Server 2008 R2 host. I seem unable to find the respective rights to do so. Upon an attempt to connect ...
0
votes
0answers
142 views

Windows Task Scheduler fails on EventData instruction

The Scheduled Task fails on the Event Data instruction in this XML: <ValueQueries> <Value name="eventChannel">Event/System/Channel</Value> <Value ...
4
votes
3answers
852 views

Scheduled Jobs during hours of autumn time change

I'm wondering how other people deal with this scenario. What if you have a job scheduled to run at 1:30 am. In the autumn, when time changes, the hour of 1:00:00 to 1:59:59 repeats itself and so ...
0
votes
0answers
37 views

Windows Azure HPC Scheduler Architecture

So far I've found very little information on the scheduling policy, resource management policy of Azure HPC Scheduler. I would appreciate any kind of information regarding some of these questions: ...
0
votes
0answers
56 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
1answer
411 views

Why do multiple time-based triggers on scheduled task not work as expected?

I have a problem with a task in Windows Task Scheduler on Windows Server 2008 R2 (German): A task has multiple (here: two) time based triggers. The first trigger is of the weekly type (a fixed time ...
1
vote
0answers
62 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 ...
2
votes
2answers
543 views

Schtasks — what is wrong with the following command

The following script schedules successfully but will not actually, you know, restart the server. schtasks /create /tn "restart test" /ru "domain\admin" /rp supersecret /sc once /st 11:35 /tr ...
0
votes
1answer
95 views

Windows Server 2003 - AT command for repeating a scheduled Task

Is it possible to use the AT command to create a scheduled task that repeats every X minutes? I can use AT to make one that repeats daily/weekly/monthly, but haven't seen a minute/hourly repeat. I can ...
1
vote
2answers
898 views

.cmd in Windows Server 2008 task scheduler w/o highest privileges

Is it possible to run CMD script in task scheduler as a particular user without checkin option "Run with highest privileges"? Simple test: Create D:\Admin\Scripts\TestScripts\testscript.cmd ...
3
votes
1answer
692 views

Where do the Windows to a scheduled task go when the server runs them?

My server at work has some scheduled tasks that run every night. They run when no user is logged into the system. They run batch files which open MS-Access databases with macros inside. ...
2
votes
4answers
6k views

How to schedule a task to run every x-minutes on Windows Server 2003 R2

How to add a scheduled task that should run every x-minutes on Windows Server 2003 R2. I have followed many suggestion from the web, but I always end up with some interruption after 1 or 2 runs. ...
4
votes
1answer
2k views

How to tell the Task Scheduler MMC to remember the column widths of the History?

Using the Task Scheduler MMC on a Windows Server 2008 R2, I'm facing something that is very annoying to me: The History window of a task does not remember the column widths, thus making it rather ...
0
votes
1answer
178 views

Windows Server 2008 - Task Scheduler and Running Scripts every minute

All, I need to schedule a task (batch script) to run once per minute, every day. Looking at the Task Scheduler, I see the minimum repeat interval for a task is 5 minute, which is located in the ...
0
votes
1answer
47 views

Get username logging on from task scheduler

I'm using Windows Server 2008 task scheduler to run a task when a user logs on, but I would like some way of the task being able to access the name of the user who is logging on. I don't know if ...
0
votes
2answers
236 views

Accessing the disk under Task Scheduler

I'm running a couple of console applications using task scheduler. These are applications that perform little backoffice tasks and run as C# console applications. The applications themselves run ...
2
votes
2answers
1k views

Task Scheduler just decides it doesn't want to run a task anymore

I set up a task in Server 2012 to run a script every weekday. It will work for anywhere from a few weeks to a few days, then just not even try to run it anymore. Status: Ready Triggers: At 7:30 AM ...
0
votes
0answers
107 views

How to automatically log in into 2 accounts on Windows 7 on startup

I have a task scheduler job that fires Selenium unit testing server and runs some tests. It takes some resources because it opens a lots of websites. Moreover the Selenium with Firefox Driver has a ...