1
vote
1answer
23 views

Should a scheduled task remain in the “Running” state?

I'm new to using the task scheduler and I'm using it to run a batch file provided online when the computer boots. I r-clicked it and told it to run. It did and all is fine, but the Status of the task ...
0
votes
0answers
44 views

Run schedule task while logged off using command line on local machine under windows7

I'm tryig to run this batch file: schtasks /create /SC once /ST 23:00 /tn "batch2" /tr "c:\windows\system32\schtasks.exe /run /TN "Acronis\backup_to_disk2" /ru "WORKGROUP\Tps02-PC$" rl/ highest ...
0
votes
1answer
54 views

Modify a scheduled task with PowerShell

How can I modify the action step in a scheduled task? We have hundreds of scheduled tasks that point to a particular path and run a PowerShell script. How can we find those tasks and then change the ...
-1
votes
1answer
40 views

Prevent a Task Scheduler to run at Windows Startup [duplicate]

To test the computer hardware, I have used Task Scheduler in Windows Server 2008 R2 to automatic reboot the computer direct after startup. I have now done many reboots to verify the hardware, and ...
0
votes
0answers
16 views

Why do I get “could not start” for this task?

I am trying to use schtasks for first time on window 2008. It appears to work but when I check I get "Could not start". WHen I go to .exe in explorer and double-click - it runs. SchTasks /Create /SC ...
0
votes
0answers
22 views

command line needed for creating task with eventID

I want to schedule a task through cmd, the task has to run a .bat file when my WiFi connects. I have manually created a task which does this but I want to do this by command line. I tried this ...
0
votes
1answer
121 views

Schedule a .bat file to run at a certain time/within a certain amount of minutes

How do you schedule a task to run a batch file at a certain time/within a certain amount of minutes? I'd use at 12:34 C:\example.bat but unfortunately the AT command is deprecated.. I'd like to use it ...
0
votes
2answers
127 views

Can not schedule a batch file to run at startup [duplicate]

I'm trying to schedule a batch file to run at start up. Here is my command: schtasks /create /tn test /tr c:\simple.bat /sc onstart simple.bat only writes the current time to a file: time /t > ...
0
votes
1answer
27 views

Where is windows backup settings stored in Windows 7?

I use windows [backup and restore] utility to create a scheduled backup on every Sunday 7PM. I was wondering that where I can find this setting file? If it is a scheduled task, I should be able to ...
2
votes
2answers
173 views

Windows Scheduled Task refuse to run

I am trying to setup a daily task (running CTest from a batch script). I have used the default GUI of my Vista Pro 32bits, and setup the following task: > schtasks /query /tn "trunk nightly" /xml ...
1
vote
1answer
82 views

WINSCP: task scheduler not working but is working when executed from winscp console?

I have been trying to run a task scheduler named "Backup" that downloads the specified file from the FTP server to my local directory. When I executed the command manually from the winscp console it ...
0
votes
0answers
91 views

Schedule Task through Windows PowerShell

Since the action "Display a message" on Task Scheduler on Win 8 is 'deprecated', thought of creating it through PowerShell, but can't get it to work, any idea where the problem is: $A = ...
0
votes
0answers
35 views

How to collect Windows system performance metrics using Perfmon on indefintely repeating interval?

I have a Windows Server 2008 system that I need to collect data from '% Processor Time' and '% Committed Bytes' counters every 30 minutes for a duration of 5 minutes each cycle. Performance Monitor ...
0
votes
1answer
46 views

Automatically start task when computer is locked in Windows 7 Home Edition

I found a tutorial on how to start a task automatically when my computer locks, which required that I use secpol.msc. Unfortunately, this utility is unavailable in Windows 7 Home edition. I went to ...
0
votes
0answers
44 views

Windows command-line: Is it possible to modify (or create) an scheduled task for “Run task as soon as possible after a scheduled start is missed”?

I wanna change this option via command line using schtasks (or whatever), but the docs seems not to have an option for it: Run task as soon as possible after a scheduled start is missed only the ...
0
votes
0answers
21 views

Task execution on windows server 2008 without user being logged in

I am trying to run a task which execute cmd file. If I use settings "Run only if user is logged in" then task works as it should. However if I try to run using settings "Run whether user is logged in ...
1
vote
3answers
715 views

How to close a browser window open by a scheduled task in Windows

I have some scheduled tasks that opens IE Windows on the background to execute periodic routines. The problem is, as the day goes on, several IE instances are left executing on the background and ...
2
votes
1answer
75 views

Create a scheduled task to run immediately and then hourly

I am using the schtasks command to create a scheduled task that I want to have run hourly, so I am using the parameter: /sc HOURLY However I would also like that task to run immediately on creation ...
0
votes
0answers
31 views

Windows scheduled task

I have configured a scheduled task in windows server 2012 to run a program at a scheduled time (12:30PM). But that scheduled task runs at system startup daily. I had checked all settings once again. ...
1
vote
2answers
59 views

Task Scheduler action on drive mount

I have a drive that uses TrueCrypt. I have a program installed that uses that drive. If I start the program and the TrueCrypt drive hasn't been mounted, it gets very upset. So, I would like to have a ...
2
votes
2answers
854 views

Windows Task Scheduler - Schedule a Task to Run 15 Minutes After another Task Completes

I have two tasks set up in the Windows Task Scheduler. One is supposed to run at 3:00 AM, and the other is supposed to run 15 minutes later. If the computer is off when the tasks are scheduled to run, ...
1
vote
1answer
313 views

Malwarebytes Full Scan Loads GUI when done through Task Scheduler

I have used the Microsoft Task Scheduler to schedule my Malwarebytes updates and full scan since I can't get the Malwarebytes scheduler to work. The thing that is bothering me is that each time the ...
3
votes
1answer
333 views

Powershell scripts works manually but not as a scheduled task

I have a powershell script that converts .doc to .pdf files. When I execute it manually, it works perfectly on my windows server 2012. When I execute it as a scheduled task, opens an instance of ...
1
vote
0answers
83 views

Task doesn't complete if it is run by System (so it's hidden)

I'm making an application using Python to parse a webpage. For reference, this is the program's code: import csv from selenium import webdriver from selenium.webdriver.common.keys import Keys import ...
1
vote
1answer
100 views

Send HTTP request to website with password and username, then record results

I need to record certain numbers (temperature and others) from a web-based monitoring service (LaCrosse Alerts). However, you must login to use this service. I have an account, and am starting to ...
1
vote
0answers
78 views

Schedule a task for all users on a computer

What I am trying to accomplish here is to shutdown a shared machine when it has been idle for 3 hours. I'm in a domain environment with partial admin privileges. I logged on that machine with ...
0
votes
1answer
365 views

Run application after startup and wake up, before user login?

My desktop computer is in my home and I'm in a travel to other cities. I want to access my desktop by remote desktop function in Windows in case I have to retrieve the files in the desktop. There ...
4
votes
1answer
269 views

Simplest setup on Windows to send HTTP request, get and apply regex to response, and write match(es) to output file

I'd like to write a script that records the size of the close votes review queue on SO (currently ~95.5k), polling just a few times an hour, so I could plot a general trend. I know what I'm going to ...
0
votes
0answers
474 views

Task Scheduler Not Waking PC Extended hours of Sleep

I have configured Tasks Scheduler to wake up Windows/PC at certain times; however, the computer does not wake up after extended hours of sleep. If I change the trigger configuration time to: Sleep ...
1
vote
1answer
110 views

High-privilege autorun programs (tasks) stopping on their own

There’s a program that I want to be automatically run on startup, but because it requires elevated privileges, UAC interferes with it auto-running. I used the Task Scheduler method of working around ...
0
votes
1answer
536 views

Scheduled Task and environment variables WITHOUT CMD /C

I need to run a task within Windows 2003 Task Scheduler however the command needs to access environment variables: vlc.exe http://62.196.56.141:8080 ...
3
votes
3answers
941 views

How to keep cmd open after task schedule

I am trying to create a really simple task that uses sdelete command as a scheduled task but when I run the task the CMD just flickers on and off and does not perform the task, so I want to see what ...
2
votes
1answer
689 views

How to run window-less scheduled task

I've got the following command running as scheduled task in Windows 8 cmd /C copy /Y nul B:\keepalive.txt However, when it runs it opens the command prompt window for fraction of second, and that's ...
-1
votes
1answer
2k views

How do I schedule my Windows 8 computer to turn on at specific times?

I have searched on google, and all I found was instructions on how to schedule a shut down. A question on this website - "Can my Windows 8 computer turn on by itself?" - had an answer which said "Most ...
2
votes
1answer
725 views

FTP batch file works from command line but not scheduled task

I want a windows scheduled task to execute an ftp batch file which will upload some files to my server. If i run the argument below from the command line then it executes successfully. ftp -i ...
1
vote
1answer
125 views

Windows run job by id right 'now'

Can one run a scheduled command by id 'right now' ? I'm not sure if it is even possible on windows, Atleast I haven't found anything yet
0
votes
2answers
3k views

Windows task scheduler won't run file on non-system drive

I have an executable that needs to be run on an E:/ drive, Windows Server 2012 is installed on the C:/ drive. I've created a scheduled task that has the full path to the target executable ...
2
votes
1answer
595 views

Task scheduler doesn't work unless I run it manually

I have a scheduled task on my Windows 2008 R2 server which is supposed to run a powershell script to download a backup of a file from another server. On this same server, I have scheduled the exact ...
0
votes
0answers
221 views

Conditionally put back computer to sleep after task finished

I have a task scheduled that runs periodically every few hours. I'd like to allow it to wake computer from sleep state and based on how that task finished (perhaps based on exit code, or some other ...
2
votes
1answer
485 views

Windows Run Scheduled Task After Wake Up with Command Line

I am trying to use the command line to create a scheduled task that will run after I log into my account, whether it be for the first time on that day, or after resuming from sleep/hibernate and then ...
1
vote
1answer
192 views

Wake screen after scheduled task wakes computer

Trying to create an alarm of sorts. Task runs fine, computer wakes up from sleep fine, but the screen's black till there's user input. Anyway I can get the screen to light up upon waking?
0
votes
0answers
823 views

.bat runs from command line but not when scheduled

I've got a 1-line batch file that runs a pantaho etl job. It works fine when I run it from command line or gui, but the process doesn't even start when it's scheduled. I have the following settings: ...
1
vote
0answers
2k views

“VirtualBox - Critical Error” When VMs are Runned From Scheduled Tasks

I have 2 VMs running with VirtualBox under a Windows 2003 Server R2 Standard x64 Edition, both are started with scheduled tasks when server starts. VMs: Debian x64 Windows XP Professional Both ...
5
votes
1answer
2k views

Task Scheduler - how to run powershell script with multiple parameters?

I am using powershell.exe as the Program and "-Command "& C:\Windows\logon.ps1; exit $LASTEXITCODE"; ExecutionPolicy RemoteSigned" as the Parameter, but it doesn't seems to be working. Some ...
1
vote
0answers
291 views

Automated git pull on Windows 8 as system

I have installed msysgit for windows 8. I am attempting to automate a git pull every 5 minutes. I am using scheduled tasks to run a script I wrote. The schedule task's action is: powershell ...
0
votes
0answers
163 views

making windows scheduler run once a minute

So the task is setup to run "every 1 minute(s) from 12:00AM for 1 hour(s) every day, starting 4/15/2013". The last run time is 2:51:15PM and the current time is 3:00PM. So why isn't the task been ...
1
vote
1answer
985 views

Windows 8 “Task Scheduler service is not available”

I'm having problems keeping my Windows 8 clock synced so I'm trying to regularly resync with an every-5-minutes schedule trigger. When I go into the Windows 8 task scheduler through the ...
0
votes
2answers
960 views

What Does “Local Computer Resources” Comprise in Task Scheduler?

In the Windows Task Scheduler, the interface allows me to use a specific user to run the task (General > Security options). Under the Run whether user is logged on or not option, the interface has ...
0
votes
2answers
380 views

How to execute an application located in the network triggered by the task scheduler

Here is my problem: I made a task in the Task scheduler triggered by a specific event. This task, execute a small bat file. When the bat file is located on the local drive of the pc, no problem, it ...
1
vote
1answer
85 views

Windows - two options for stop the scheduled jobs - why?

Every time I set a sch. job in Windows I promised myself to get correct information about why the properties contain two option for stop job. Now I'm doing it... :-) So: I try to set a SJ to run at ...