1
vote
1answer
29 views

Server 2008: Keyset does not exist when installing scheduled task

The product I work on has an installer that does a whole bunch of things, including installing regular files, setting registry keys, installing websites and web services on IIS and creating scheduled ...
1
vote
3answers
89 views

Running desktop software as a “service”

We've got a Windows Server Standard 2008 server that needs to run QuickBooks Sync Manager, which is an application that only works properly from one user account (the account that configured it). The ...
4
votes
3answers
1k views

Start program on computer startup when nobody is logged on and show the window when someone does log on (OS: Windows)

I have a program that is launched on system startup using Task Scheduler on Windows Server 2012. The program must start even if the computer reboots automatially. Administrator is the account used to ...
0
votes
1answer
43 views

Windows Scheduled tasks ends prematurely, so server doesn't run

I'm trying to run Django on my Windows Server 2008 machine. I can do this manually by calling python manage.py runserver 54321, which launches Django's server at http://127.0.0.1:54321 -- then I can ...
1
vote
1answer
61 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
66 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 ...
0
votes
1answer
154 views

schtasks - create task with no schedule that runs on demand

I am trying to use schtasks.exe and create a one-time task that runs on demand. I just want to create the task without a schedule but the command schtasks /create /tn TestTask fails with Invalid ...
3
votes
1answer
1k views

What causes scheduled task error 2147942402?

Server 2008 R2 (fully patched) I'm trying to run a scheduled task to move a specify type of files from C:\Windows\Temp to E:\Foo_blah_blah_blah_blah\Foo2 and for some reason am getting the following ...
0
votes
4answers
2k views

Robocopy fails in Scheduled task with ERROR 1326 Logon failure

My aim: To simply mirror a database backup directory onto another server Approach: Use Robocopy statement contained in a scheduled task robocopy "C:\MylocalDirBackup" "\\MY.IP\DatabaseBackupsShare" ...
1
vote
2answers
63 views

Boot time scheduled tasks using network resources

I'm setting up a single shared directory accessible to multiple servers for resources used during various scripts, \servers\share. This directory is used for scripts including some that are ...
1
vote
2answers
558 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 ...
2
votes
1answer
651 views

SBS2011 (Windows Server 2008 r2) Correct way to Schedule reboot

I'm after the correct way to schedule a reboot on an SBS2011/WS2008r2 box. External support company created a reboot.bat file and added a scheduled task to run it at 6am every Monday morning. ...
1
vote
2answers
683 views

How can I create a daily task that repeats every 15 mins EXCEPT between the hours of 12AM - 2AM?

Is it possible to create a scheduled task that runs every 15 min except for a few hours of the day. E.g. A task that runs every 15 minutes except between the hours of 2PM & 4PM. The reason I ...
0
votes
1answer
141 views

MSsql 2008 sql agent task output to network drive

I'm trying to get the SQL agent job (task) to run my query then put the output file to network drive. When I select the output file the only drives listed are local. I'm new to jobs and MSSQL but have ...
1
vote
2answers
84 views

batch file is not being executed from scheduled task

I have batch file that need to run every day at 9 AM and create log. batch file works fine manually (by clicking it or from command line). However, When i set up the task by using task scheduler, it ...
0
votes
3answers
280 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
2answers
575 views

Ok to edit task's xml file in c:\windows\system32\Tasks?

I wrote a PowerShell script that check the executable in the < action > tag for each task in the Task directory and mark the < enabled >TRUEorFALSE< / enabled > tag as false/true depending on ...
1
vote
3answers
1k views

Why does powershell -command “Restart-Service Tomcat6” fail when run from a Scheduled Task?

I get the following error in the Scheduled Task history when I try to run a task: Task Scheduler successfully completed task "\Restart Tomcat" , instance "{264b4620-5f3b-6c5f-a6cb-1625a7fa57de}" , ...
2
votes
1answer
227 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 ...
2
votes
1answer
142 views

Win2K8 R2 Scheduled Task Fault Tolerance

I have two identical servers running Windows 2008 R2. I am using DFS Replication to keep a few shares in sync between the two servers. Each server is a Domain Controller and each server can function ...
1
vote
0answers
131 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 ...
2
votes
1answer
6k views

Rebooting Server 2008 R2 with Task Scheduler?

I've been trying to get Server 2008 R2 to reboot after everyone is gone from work, to get its updates installed, but what I've been trying apparently isn't working. I have a "reboot.bat" in C:/ that ...
1
vote
2answers
3k views

Why is Windows Task Scheduler trying to launch multiple instances?

We have a number of Windows Scheduled tasks that run on one Server 2008 Webserver (not R2) which is in a cluster. We recently moved from an original webserver Cluster to a new webserver Cluser ...
2
votes
1answer
130 views

A way to migrate Windows Scheduler tasks from 2003 to 2008

Does anyone know of a method to migrate from the .job format to the .xml format that 2008 server uses? I have dozens of working scheduled tasks, and I want to migrate them to a new 2008 server.
1
vote
1answer
57 views

Schedule windows command with at

What will be the parameter to schedule a program in Windows with the at command to run from Th-Sa, 3am, on even days ?
0
votes
1answer
259 views

Win2k8 Scheduled tasks and 'Run new instances in parallel'

I have a script that creates some scheduled tasks on a Windows Server 2008 R2 box using schtasks.exe, and I'd like that script to set the 'If an instance of the task is already running, run new ...
0
votes
3answers
179 views

Running scheduled web scripts in a Windows Server environment

I'm trying to get a scheduled web script running on a Windows Server and so far the only way I've managed to automate this process is by using the Task Scheduler to open Internet Explorer with the web ...
0
votes
1answer
375 views

401 Running VBScript as scheduled task

I setup a scheudled task on Windows Server 2008 to run the following command: C:\Windows\System32\cscript.exe //b //nologo D:\WebSites\MySite\Scripts\UpdateCache.vbs The VBScript being run makes a ...
0
votes
1answer
140 views

How to invoke scheduled task on Server 2008 from XP client using schtasks

We are running a scheduled task on a Server 2008 machine from an XP client. Using the following commandline (on the XP client): schtasks /run /u "domain\username" /p "password" /s MyServer2008 /tn ...
5
votes
2answers
1k views

How to email output of scheduled tasks?

On Unix systems, the scheduled task service will email any output that a scheduled task produces. If no output is produced, no email is sent. How can I do the same thing on Windows Server 2003 or ...
0
votes
1answer
195 views

how to check a windows long running console task?

I have scheduled Microsoft Windows server console application (that output to stdout) using the task scheduler . It is long running and might take weeks to finish. Is there a way to "tap" into the ...
0
votes
1answer
1k views

How to start scheduled task in minimized cmd window? [duplicate]

Possible Duplicate: Run a .bat file in a scheduled task without a window In Windows 7, I have a scheduled task running a console application in a CMD window. It runs every day at 12 ...
0
votes
1answer
176 views

Task Scheduler Library Windows Server 2008

A scheduled overnight task attempted to run but returned the operational code 'Launch Failure' - I think this was to do with a server connection going down. I can't remember what Task Scheduler said ...
0
votes
3answers
358 views

Windows Server 2008r2 process scheduling

We are needing a server that is solely responsible for executing various data manipulation scripts based on different events or triggers - previously when we were using Debian linux we scheduled it ...
1
vote
1answer
1k views

Windows Server 2008 Scheduled Tasks not running - 0x80041323 - Reduce Number of tasks running in the specified context?

I am getting the following problem on a number of windows 2008 servers. 0x80041323 Task Scheduler failed to start task \Reporting" in TaskEngine "S-1-5-18:NT AUTHORITY\System:Service:" for ...
1
vote
2answers
395 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 ...
0
votes
3answers
318 views

Windows Server 2008 R2 Scheduled Operations

Goodmorning everyone, I'm a newbie Windows 2008 s.a., and I'm stuck with a strange problem. I've made a very simple bat file that stops the Apache HTTP Server, copies a file and then restart the ...
1
vote
1answer
481 views

Do one time triggered tasks scheduled to repeat periodically survive a reboot?

I had set up a task to trigger on boot, then repeat every 5 minutes. To my disappointment, running the task did not start the "repeat" functionality. Rather than reboot, I added another trigger to ...
1
vote
1answer
542 views

Create alert notification system for performance counters (logman, task scheduler, events)

I have a Windows Server 2008 SP2 without a graphical user interface (Windows Azure). I need to setup an alert for performance counters that reaches some threshold and then run some command (send an ...
1
vote
0answers
73 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 ...
2
votes
3answers
681 views

Rename file in folder whenever it's created?

I need to find a way to automatically rename all files that are created within a specific directory on a Windows 2008r2 file server. This needs to be done more or less instantanously, so I can't have ...
1
vote
1answer
62 views

Start non-terminable program upon user logon

I would like to start a program in the background if an Active Directory User of a specific group logs on. This program should not be terminable by the user itself. I have tried to create a Task ...
0
votes
1answer
126 views

Windows Server 2008 Task Scheduler

I have a task that waits for a user to enter any key to die. I have that task scheduled twice a day. However if the window is still up it will not run the task again. Is there any way around this?
0
votes
1answer
595 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 ...
1
vote
1answer
218 views

How to find out what is wrong with a Scheduled Task when it doesn't error

I have a number of batch files, which all work when ran separably to back up various Postgres dbs across the network. However when ran through task scheduler the backup files aren't created. There are ...
1
vote
1answer
477 views

Do not start scheduled task on windows until the previous one is finished

I have a program that is running infinitely, and I have it scheduled to run every 10 minutes. How to make sure that the program will not start in 10 mins, if the previous (10 min old task) task is ...
1
vote
0answers
118 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 ...
5
votes
2answers
8k views

How to trigger a task at any change on a folder with Windows Server Task Scheduler?

Is it possible to start a script every time a folder tree is modified. E.g.: root dir1 file1 dir2 file1 file2 root would be listened and if, for example, file2 is modified or a new ...
1
vote
1answer
184 views

Why no job history despite manually triggering my scheduled job (on Windows 2008)?

I have just added a scheduled job in Windows for the first time in my life (I'm a Linux dude). The goal is to run a python script once every night and the problem is I can't understand why the ...
1
vote
2answers
1k views

Windows 2008 R2 Scheduled Task Not Running With Admin Privileges even if granted?

I have a scheduled task that is running as USER. I have checked the box "Run with highest privileges" in the scheduled task properties. The task is a powershell script that, among other things, ...