Questions tagged [task-scheduler]
319 questions
3
votes
2 answers
The system cannot find the file specified- Task Scheduler. Win Server 2012
I have batch script file, which should encrypt a file with pgp. I have defined a task in task scheduler to do this, but I am keep receiving the error"The system cannot find the file specified".
Interestingly, when I run the same line of script in my…

user 12321
- 141
- 1
- 1
- 7
3
votes
0 answers
Scheduled RasMan connection to SSTP VPN fails only at night
Background
I have an SSTP VPN with a self-signed certificate. It's running on a physical instance of Server 2008 R2 on our LAN. Three off-network workstations are scheduled to connect to the VPN "at system startup" in Task…

Eric Eskildsen
- 243
- 3
- 14
3
votes
1 answer
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 unable to kill the task.
I know the task was…

Matej
- 141
- 1
- 1
- 4
3
votes
5 answers
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 SW from third party...
Thanks
[edit]: Sorry for…

devlin
- 145
- 2
- 3
- 14
3
votes
1 answer
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:
http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html
Note: …

bradfordrg
- 141
- 5
3
votes
1 answer
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 out of it in order to send the event's contents as…

armani
- 420
- 1
- 9
- 26
3
votes
1 answer
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. Occasionally these are not closed by the script, their…

leeand00
- 4,869
- 15
- 69
- 110
3
votes
1 answer
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 always more attention. While this makes a lot of…

Peter B.
- 189
- 1
- 7
3
votes
1 answer
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 the localhost and adds an entry to a log file; so…

Dan C
- 511
- 1
- 5
- 7
3
votes
3 answers
Windows 2008 Task Scheduler PowerShell Script Output
I have a PowerShell script that produces output to the screen when running it from the PowerShell command line. When I run the PowerShell script as a Scheduled Task, where can I find the output?

Robin
- 151
- 1
- 5
3
votes
3 answers
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 have a fixed parameter so i cannot provider the…

Natasha Thapa
- 171
- 3
- 9
3
votes
2 answers
Redhat 5.5: Multi-thread process only uses 1 CPU of the available 8
Weird situation:
Redhat Enterprise 5.5 (stock install, no updates, x64) on a HP z800 workstation.
(Dual Xeon 2,2 Ghz. 8 cores, 16 if you count Hyper-threading. RH sees 16 cores.)
We have an application that can utilize 1, 2 or 4 threads for heavy…

Tonny
- 6,332
- 1
- 18
- 31
3
votes
3 answers
Windows Server 2008 CMD Task Schedule not running
I have a BAT/CMD file that when run from the command prompt runs completely. When I run it through the Task Scheduler it partially runs.
Here is a copy of the file
cd\sqlbackup
ren Apps_Backup*.* Apps.Bak
ren Apps_Was_Backup*.* Apps_Was.Bak
xcopy…
Jonathan Platovsky
2
votes
3 answers
Windows Task Scheduler to click link in access form
I have a label on an Access form. This is a clickable label which will then run an event procedure. This event extracts data and puts it into an excel sheet. A Client has asked for this to be an automatic task running each day without a the user…

user522962
- 21
- 1
2
votes
2 answers
Unable to see Scheduled Task even with access rights to SYSTEM32\Tasks
I have a follow-up question to this.
I have a task folder RPA with two tasks as follows:
I created these two tasks myself using the Task Scheduler UI (as in above image). My trouble is I am now unable to see SPSBatch using SchTasks.exe:
I am user…

Old Geezer
- 397
- 8
- 25