The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
463 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 ...
1
vote
1answer
952 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 ...
7
votes
2answers
4k 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 ...
12
votes
1answer
2k 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
596 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
164 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 ...
2
votes
2answers
2k 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* ...
2
votes
1answer
746 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 ...
5
votes
1answer
167 views

Secret scheduled tasks in windows server 2003 [duplicate]

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
3k 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
492 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
323 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
3answers
10k 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
119 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 ...
1
vote
1answer
1k 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
89 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 ...
3
votes
1answer
2k 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
153 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
408 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 ...
3
votes
1answer
3k 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 ...
6
votes
3answers
5k 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
97 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
1k 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 ...
2
votes
0answers
108 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
2k 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
348 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
2k 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
1k 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. ...
4
votes
4answers
21k 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. ...
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 ...
0
votes
1answer
499 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
70 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 ...
1
vote
2answers
440 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 ...
3
votes
2answers
3k 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
183 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 ...
3
votes
1answer
2k 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: ...
1
vote
1answer
771 views

Toggling enabled/disabled on specific triggers in a task in the task scheduler using powershell (or something else)

Related to this question: Windows Server in UTC, need Task Scheduler to shift tasks with summer time and this question: ...
0
votes
1answer
731 views

Windows Server in UTC, need Task Scheduler to shift tasks with summer time

I'm perfectly happy to have my server in UTC, but when a user needs something scheduled to happen in a particular time in a particular time zone, they are expecting that to obey their time zone rules ...
2
votes
1answer
2k views

Scheduling a Task for every minute in Windows 2012

I need to schedule a Task inside of my Windows 2012 to run every minute, how would one accomplish that? This is my Task: C:\>C:\Users\Administrator\Downloads\wget\bin\wget.exe --spider --quiet ...
-1
votes
1answer
2k views

How do I use Windows Task Scheduler to run an executable on a remote server? [closed]

I am looking at consolidating all of our scheduled tasks that run on various servers (Win 2008 R2) within our domain on to one "Task Scheduling Server". I am a developer so I'm not even sure if this ...
1
vote
2answers
13k views

How can I access the scheduled tasks of a windows 2003 server from a windows 7 machine on a different domain?

I have looked everywhere for information but have not managed to find a solution. What I need to do is be able to access the Scheduled Tasks of a Windows 2003 Server that is in domain X from a ...
0
votes
2answers
4k views

2008 R2 Task Scheduler won't run task, but says completed successfully w/o errors

OLD DESCRIPTION: I have a .NET app I wrote myself that I'm trying to get set up to run as a scheduled task on Windows Server 2008 R2. When I run the app myself from the command line, it works just ...
1
vote
2answers
5k views

Server 2008 R2 Task Scheduler permissionf for a vbs script

I have a vbs script to make backups of MySQL database files using the MySQLDump command. This is working perfectly and creates a new folder for each day's backups (e.g. 20130110). However, the script ...
2
votes
1answer
2k views

Changing priorities of background vs foreground processes?

The commends nice/renice have no effect between processes started as foreground process and processes started as background processes. Even with maximum niceness on the foreground processes they get ...
0
votes
2answers
470 views

Windows Server R2 Task Scheduler - Open Programs On Startup

I want Fiddler and some other programs to run on startup, so it's there and running every time I bring up an instance of my test server on EC2. There's a few questions about running scripts on Startup ...
1
vote
1answer
163 views

System Restore Points

Currently I am investigating how to schedule an automatic initiation of a system restore point for all of the workstations in my office. It seems that Task Scheduler already has some nice defaults ...
0
votes
2answers
2k views

Unable to connect to another computer from the Task Scheduler on Windows 7

I am getting the following error when trying to connect to another computer from the Task Scheduler on Windows 7: "The remote computer was not found." The computer that I am trying to connect to is ...
0
votes
3answers
464 views

Setting a scheduled task running a Powershell script

Does anyone know the correct way to assign a Powershell script as a scheduled task? I have the below syntax (where X:/ is another drive mapped as a share).
1
vote
1answer
76 views

Verifying that a Server 2008 VMWare Workstation VM is running every 15 minutes [duplicate]

Possible Duplicate: Inexpensive Network Monitoring tools for Windows I am running a Windows 2008 server and it has a VMWare Workstation VM on it for another Windows 2008 server. I need to ...
1
vote
1answer
2k views

Is it possible for a Powershell script to return the Last Run Result from Windows 2008 task scheduler?

I've setup a scheduled task on a Windows 2008 Server with two actions. The first action is to run an application which connects to a SQL database and generates XML files. The second action is to run a ...