0
votes
0answers
64 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
14 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
33 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
23 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
18 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
163 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 ...
1
vote
1answer
36 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
21 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
38 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
257 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, ...
0
votes
1answer
82 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
0answers
261 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
65 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
60 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
63 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
178 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
226 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
333 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
82 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
378 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
535 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
441 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
1k 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
554 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
88 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
1k 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
433 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
213 views

Scheduled task with batched Git does not work after reboot and needs manual triggering

I have a somewhat strange problem I don't find a solution for. I use Git to backup my Wordpress blog. For this I have set up a batch file that dumps the database in a file in the wordpress directory ...
0
votes
0answers
194 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
403 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
136 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
178 views

Set task scheduler to auto play a Spotify playlist

I'm trying to get a playlist in Spotify to auto play (and end) at certain times of the day on a Windows PC. Is there a way to do this?
0
votes
0answers
497 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: ...
0
votes
0answers
1k 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
215 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
142 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
793 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
704 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
273 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
74 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 ...
0
votes
1answer
63 views

Scheduled task status

How to check last run result of scheduled task? We used "schtasks /query" command. But it didn't displayed our manually created scheduled task status. We don't want system scheduled task status. Only ...
1
vote
1answer
1k views

Only administrator account can run scheduled tasks

I am running Windows 2008 Server and I have set up a scheduled task that executes a SQL script from the command prompt. The script and command work completely fine. I set this scheduled task to run ...
0
votes
2answers
1k views

it opens “open with” prompt whenever scheduled task run

I am trying to run a .vbs file on every five minutes. I am trying to do this using windows task scheduler. In Actions tab -> New Action, I select the file ("D:\Documents\FC3 Savegames\FC3.vbs") ...
1
vote
1answer
892 views

Create an archieve with current date and time in file name using 7z command line

Today I lost my whole Far Cry 3 save game suddenly. So now I want to backup it's save game folder automatically on a certain period of time using windows task scheduling. I want to include date and ...
2
votes
1answer
306 views

Allow users to remotely modify Windows Scheduled Tasks without granting them log on rights

Is there any way to allow users to create/edit/delete scheduled tasks on a remote machine without allowing them to log on (remotely)? The machine is a Windows 7 (Enterprise) one or alternatively ...
1
vote
0answers
193 views

Idle state detection for server

Windows OS has a service that detects idle state. Details: Task Idle Conditions The computer is considered idle if all the processors and all the disks were idle for more than 90% of the past 15 ...
2
votes
1answer
869 views

What is the difference between “stop the task if it runs longer than” inside Trigger and under Settings tab?

When I schedule a task in Windows Task Scheduler, I can set "stop the task if it runs longer than" inside task trigger or inside Settings tab. If I set it inside the trigger it does not automatically ...
4
votes
1answer
1k views

How can I make Windows 8 scheduler to run something once when the computer is idle but then wait for at least 12 hours in order to do the same?

I noticed that choosing the option to run only when it is idle and then to repeat the task indefinitely every 12 hours, i.e.: , did not do what I intended since it basically reset its 12h counter ...
3
votes
2answers
3k views

Is it possible to use the AT command to run a command every 5 minutes?

The Windows AT command has an "every" parameter, which can take days of the week, and a "time" parameter specifying the time of day, however I'd like to run a command every 5 minutes. Any way to do ...