A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

PowerShell Task Scheduler works but also throws Exception

I'm running into a roadblock trying to narrow down the cause of a powershell exception. Deployment: Server is being deployed with a Server 2012 clone with standardized machine and admin name which ...
-2
votes
0answers
10 views

schtasks /query reurns wrong computer name [closed]

I have a strange error i use the following commant to get some results schtasks /query /S x.x.x.x /FO CSV /NH /V > "F:\Results\Sched_Tasks\ I run this for 10 servers and everything is ok except ...
0
votes
1answer
37 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
2answers
30 views

View Scheduled Tasks (local and remote) on Windows Server 2008 R2

In one of our production nodes which runs on Windows Server 2008 R2, we have noticed that there is a significant delay (5 times normal) in processing requests (by our application running on tomcat) ...
2
votes
1answer
52 views

Windows 2008 R2 task scheduler with Batch and VBS

I've created a batch file called restart.bat :: Open a Telnet window start telnet.exe 10.20.11.12 :: Run the script %systemroot%\system32\cscript.exe //Nologo //B C:\Scripts_and_Tools\SendKeys.vbs ...
5
votes
1answer
57 views

What is the default working directory for a scheduled task in Windows 2008 R2?

Trying to figure out where the output of a long running scheduled task is being saved. Presumably, it's in the working directory of the task. Unfortunately, the "Start in" option was not set. The ...
-6
votes
1answer
35 views

Database Backup using DOS commands or any other useful commands [closed]

I am planning to backup my database files from network drive to one other. Here is my requirement: All database should be backed up excluding certain file names starting with msdb, model etc. this ...
1
vote
0answers
144 views

Server 2012 R2 Run Program from Task Scheduler not running program

I have a scheduled task that I am trying to run a program (a DB backup program). For reasons unknown I am unable to actually get the program to run, even though the task log says everything was run ...
1
vote
0answers
33 views

Trigger task on USB insert instead of insert and removal

i'm using Windows' task scheluder to trigger a task when a specific USB device is plugged to the computer, problem is the task is also triggered on USB removal. I used custom XML trigger for this ...
9
votes
1answer
187 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
240 views

How can I disable a scheduled task using Powershell?

I have a web application that runs on Windows Server 2008 R2, which has a large number of scheduled tasks which take care of all the backend stuff. When I do a software deployment which touches the ...
0
votes
1answer
20 views

User WinWget to keep web site alive in a Windows Server 2003

I have a site that must stay alive due to a service that runs and check a directory for changes. The site is running in IIS at a Windows Server 2003 and the solution I came up it that I will ...
3
votes
1answer
78 views

Scheduled Task not Running on Windows Server 2012

I go to Task Scheduler and drill down to Microsoft Then I click on Create Basic Task and go through the wizard At the last page of the wizard I check "Open the Properties dialog for this task ...
1
vote
1answer
78 views

Cannot see schedule for Windows Server 2012 Task Scheduler task “SynchronizeTime”

We have a server that regularly gets a clock drift problem. It is Windows Server 2012 running as a guest in a HyperV host. I am under the impression that this scheduled task should periodically cause ...
1
vote
2answers
113 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
37 views

How to whitelist a scheduled task in Windows 7 to run in interactive window fully as administrator

How to whitelist a scheduled task in Windows 7 to run in interactive window(not running in the background) fully as administrator from a standard user account. If whitelisting is not an option, is ...
1
vote
1answer
40 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 ...
0
votes
1answer
300 views

Strange behavior from Invoke-WebRequest in scheduled task

I'm running a PowerShell script that posts data to an internal webserver over HTTPS. The SSL certificate is not valid. I'm using [System.Net.ServicePointManager]::ServerCertificateValidationCallback ...
0
votes
0answers
140 views

Parameterizing powershell parameters in scheduled tasks

I have a bunch of powershell scripts that are kicked off via scheduled tasks at various times. The script are run multiple times with different arguments. Also admins unfamiliar with scripting needed ...
1
vote
3answers
96 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 ...
3
votes
2answers
30 views

SYSTEM user to schedule tasks on Win 2003 server?Impact?

I wish to schedule a bat file on my Win 2003 server without a password. The requirement is to run it everyday at a specific time. We use expiring passwords and do not have a non expiring account. I ...
0
votes
1answer
80 views

Console application is shown as “Running” when it has actually completed

I created a task in Task Scheduler to run the following C# Hello World program. When I trigger it wait for it to complete, I can confirm under in its history that the console application have ...
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 ...
1
vote
1answer
81 views

Windows Scheduled Task ignores the 'Stop the task after <time period>' setting

I have a Scheduled Task running on a Windows 2008 R2 server. The task calls a .bat file that performs a file copy. Everything works perfectly except for one thing. I want the task to terminate if it ...
0
votes
0answers
54 views

Scheduled task deleting itself

I am using PowerShell to create scheduled tasks on my local machine, the Scheduled Task runs a PowerShell script to PowerShell remote into a server and copy files. When I run the Scheduled task using ...
0
votes
1answer
47 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 ...
3
votes
1answer
201 views

Defrag options in Windows Server 2012

I am looking at the command line options for defrag.exe as well as the "ScheduledDefrag" task on Windows Server 2012, and I don't understand some of the arguments. In particular, when I view defrag ...
1
vote
1answer
67 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 ...
3
votes
2answers
162 views

Stopping a scheduled task with WMIC

I need to find some method for disabling a scheduled task on a remote machine and waiting until that task has stopped executing if it happens to be running at the moment. I'd like to do this through ...
0
votes
0answers
71 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
52 views

Solved: Can I define scheduled tasks before naming the computer?

When scheduling a task it's scheduled as running as a specific user/group. Can I on a vm schedule a task, then sysprep, and then deploy the image to a machine which I then name and join to a domain? ...
1
vote
1answer
76 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
172 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 ...
0
votes
0answers
261 views

Scheduled Task fails to start due to network connection condition even when connection is available

I have a scheduled task with a condition set to "Start only if the following network connection is available". I've selected my VPN connection. However, even when my VPN is connected the task will ...
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
0answers
26 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, ...
3
votes
1answer
640 views

Scheduled Task to run 32-bit PowerShell Script with 3 Arguments

TL;DR Version I need to run a 32-bit PowerShell script that takes three arguments as a scheduled task in Windows Server 2008 R2. The script starts a FileSystemWatcher, so I need to keep it alive so ...
1
vote
0answers
234 views

How can I run a scheduled task on a Windows 2008 R2 Domain Controller as a non-admin user?

I'm trying to run an exe as a scheduled task on a Windows 2008 R2 Domain Controller. The exe runs fine when I try and run it manually using an account which is a Domain Administrator, but I don't ...
2
votes
4answers
132 views

Windows client powershell reporting

I'm working on trying to find a way to get our windows machines to report to a webpage with information about it's MAC address, computer name, currently logged in user, and ip address. I wrote a ...
1
vote
0answers
82 views

How does Windows Task Scheduler detect that a task is already running?

I have an application on Windows Server 2008 that takes different command-line parameters. For example: myapp.exe /A myapp.exe /B I have created a task scheduler task for each of those. While ...
0
votes
0answers
105 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 ...
1
vote
3answers
224 views

make scheduled task active/passive cluster aware

I have 2 nodes using win server 2008 r2 in my active/passive cluster setup. They have the same set of scheduled tasks and i want them to run only when the node is active. Does Windows support ...
4
votes
3answers
473 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 ...
5
votes
4answers
1k views

Task scheduler ran a task twice

Update: This has now happened two days in a row. Update: XML of scheduled tasks and images now included. Two servers located in London, both Windows 2012, have a scheduled task set to run at 3pm ...
0
votes
0answers
55 views

System 67 error scheduled task to transfer files

Running directly on command line the batch script works. But when scheduled to run (Windows 2003 R2 server) as the local administrator, I get the following error: D:\ScadaExport\exported>ping ...
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" ...
3
votes
1answer
40 views

Windows Service Console app user

I've created a very simple C# one liner app which keeps an IIS/Entity Framework web application warm by simply loading the page (Using the built in IIS Warm up just wasn't working for me). I want to ...
0
votes
0answers
47 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
55 views

SMS paging sends a new number every time

We have set up SQL Server to send out alerts when jobs fail. Text messages are sent to 1234567890@txt.ATT.Net, and they show up on our phones. However, the alerts come in from a weird 9-digit number ...
0
votes
0answers
47 views

Automated Logon with Macro backup script

I'm having some issues with an automated backup macro script I've written using Autohotkeys. My specific issue is that I need the script to run on a Windows based server at a given time during the ...