The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

Task scheduler not logging failure to operational view in event viewer

The task scheduler below clearly errors but it never shows up under the task scheduler operational view as being failed but completed successfully. I want to send an email on a failed task scheduler ...
4
votes
1answer
122 views

How to get login username of the login that triggerred a task in the task scheduler

In the Windows 7 task scheduler, I have a task that runs when any user logs on. This task is run as Administrator so it can get the proper priviliges and runs a bat file. I would like to pass in the ...
0
votes
1answer
978 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
1answer
882 views

windows 2003 server task scheduler error code but blank status

I'm getting an error running a task scheduler on windows 2003 code 0x1, but the task scheduler is not showing error description on status column. Any idea why this could happend?
2
votes
1answer
1k views

Task Scheduler Crashing MMC

I've been getting errors whenever I try to run the task scheduler for Windows 2008 R2. Each time that I've tried running it, the task scheduler will crash and report the following: Problem signature: ...
2
votes
1answer
961 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 ...
-2
votes
1answer
24 views

When is user logged on

I have a question about users and when Windows treat them as logged on. If I, on Remote desktop log in on Windows server, and then closes the window, am I still being treated as logged on? The ...
46
votes
4answers
16k 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
1k 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 ...
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 ...
-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
0answers
30 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 ...
1
vote
1answer
412 views

Windows Server 2008 Task Scheduler: Task Started (Task=100) but did task did not complete (Task=102) when the result code is 2

Can someone give me a use case for setting up a Windows Server 2008 Task Scheduler task (we'll call this "test") that completes (action completed is task=201) with an error (result code=2)? This is ...
0
votes
0answers
107 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
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 ...
0
votes
0answers
26 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
89 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 ...
2
votes
1answer
337 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
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 ...
4
votes
2answers
853 views

Windows Server 2008 Task Scheduler Tasks Not Executing

I've been having an intermittent problem for some time now with the Windows Task Scheduler that I can't work out. I use the task scheduler to run a C# app I've written that has various plugins used to ...
1
vote
1answer
164 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 ...
6
votes
2answers
808 views

How to copy many Scheduled Tasks between Windows Server 2008 machines?

I have several standalone Win2008 (R1+R2) servers (no domain) and each of them has dozens of scheduled tasks. Each time we set up a new server, all these tasks have to be created on it. The tasks are ...
0
votes
2answers
54 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 ...
1
vote
3answers
477 views

pass paramter to Schtasks

how can i run schtasks from command line such that i can pass in parameters during run time. i have a batch job which expects parameters during run-time that is created in scheduled task. i cannot ...
2
votes
0answers
92 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
95 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 ...
2
votes
2answers
4k views

How to schedule task to run every 10 minutes, from 8:00 to 15:00 on multiple days of week (with schtask.exe)?

How to schedule a task to run every 10 minutes, from 8:00 to 15:00 on multiple days of week, i.e. on Mon,Tue,Wed? The task I described can be defined with the GUI of Task Scheduler by using the ...
0
votes
0answers
14 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 ...
1
vote
1answer
133 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 ...
6
votes
2answers
569 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
542 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 ...
3
votes
0answers
580 views

Disable history for only one task in the Task Scheduler Library?

I have selected the Enable All Tasks History option in the Task Scheduler Library of Windows Server 2008 R2. For most tasks, I’d like to have the history kept but I’m wondering if it’s possible to ...
1
vote
3answers
282 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 ...
1
vote
2answers
376 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
80 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
1answer
260 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 ...
2
votes
2answers
2k 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 ...
5
votes
1answer
91 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
3answers
645 views

How to make the task scheduler display the cmd shell when invoking a batch file?

I am using Windows 2008 R2, and I am trying to schedule my application in the Task Scheduler. I have created a batch with the right settings. The problem I have is: I need to display the Cmd shell ...
3
votes
5answers
3k views

Task Scheduler only killing cmd.exe but not its child processes

Our customer has some Windows 2003 servers running batch jobs activated by Task Scheduler. The actual programs performing the work are custom .exe processes, and they are aggregated into .cmd scripts ...
0
votes
5answers
458 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 ...
3
votes
1answer
121 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
1answer
1k views

Why am I getting a warning that windows is logging on with a temporary profile to run a task scheduler task?

I am having a strange problem with the Windows Server 2008 Task Scheduler. I have to run a small command-line application every few minutes. This application just executes a quick web service call on ...
5
votes
3answers
1k 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
2answers
270 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 ...
1
vote
5answers
7k views

Server 2008 Task Scheduler and a CMD file

Task Scheduler - I have a .cmd file I'm trying to execute on a regular basis through Task Scheduler. I've set the task so that it points to the cmd file. I want the task to execute even when no one ...
5
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 ...
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
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 ...
0
votes
0answers
140 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 ...