The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
8k 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
111 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
672 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
83 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
1k 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
139 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
293 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 ...
2
votes
1answer
2k 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
3k 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
90 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
96 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
1k 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
253 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. ...
3
votes
4answers
15k 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
444 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
54 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
371 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
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
142 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 ...
2
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
598 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
563 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
1k 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
1k 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
11k 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
3k 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
4k 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
1k 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
413 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
146 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
413 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
75 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 ...
1
vote
1answer
157 views

legitimacy of the tasks in the task scheduler

Is there a way to know the source and legitimacy of the tasks in the task scheduler in windows server 2008 and 2003? Can I check if the task was added by Microsoft (ie: from sccm) or by a 3rd party ...
2
votes
1answer
315 views

Windows Server Task Scheduler: Running scheduled executable fail-safe?

I have an executable which I've scheduled to run once in every five minutes (using Window's built-in Task Scheduler). It's crucial that this executable is run because it updates few time critical ...
1
vote
1answer
1k views

How do I get a Task Scheduler startup trigger to delay

System is Windows 2008 R2 I have a task scheduler task with a trigger to run at system startup, and have set the Delay to 20 minutes, however the task runs immediatley on system startup and ignores ...
1
vote
1answer
458 views

Do Scheduled Tasks run automatically if they are missed?

I'm running Windows Server 2003, and a scheduled task that was set to run was missed because an ms-access database window was left open over night. When we closed the window, the task scheduler ...
2
votes
2answers
405 views

Task Scheduler and Virtual Machine Monitoring

I'm looking for the poor man's monitoring solution. I have a Hyper-V 2008 R2 environment where power fluctuations at off-peak hours are pretty common. The battery keeps the box up for a fair amount ...
0
votes
2answers
235 views

Defragment / Performance Monitor without Task Scheduler

My organisation has a policy of disabling Task Scheduler on all servers and workstations (don't ask, I tried once to wrestle the pig). I need to collect performance stats using Data Collector Sets in ...
0
votes
1answer
309 views

open source job/process management/monitoring/control system [closed]

I'm looking for an open source solution for the following: I have jobs that need to run continuously. The jobs are applications or scripts. If they fail, they need to be restarted. If they fail, ...
0
votes
1answer
629 views

Windows Task Scheduler Security Issue [closed]

Using the Windows Task Scheduler allows non-administrator users to gain access to administrative rights. Normally, Windows prevents execute applications which need to have more rights. A message ...
1
vote
1answer
2k views

HTTP-Invoke URL by Windows Task Scheduler (schtasks.exe)

I'd like to send HTTP requests using the Windows Task Scheduler. In UNIX cron jobs, I can do that using wget http://www.google.com -O /dev/null How to do the same on a Windows Server?
1
vote
1answer
486 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 ...
3
votes
4answers
8k views

Windows Task Scheduler does not start task at next run time

I have a Windows Server 2008 SP 2 Task Scheduler task that should run every 10 minutes. The trigger says "At 6:50 PM every day - After triggered, repeat every 10 minutes indefinitively." Looking ...
2
votes
1answer
2k 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 ...