Questions tagged [windows-task-scheduler]
Task Scheduler is a component of Microsoft Windows that provides the ability to schedule the launch of programs or scripts at predefined times or after specified time intervals.
555
questions
7
votes
3
answers
14k
views
Scheduled backup of certain directories in Windows 7
I'm using Windows 7 and I need to schedule a daily backup that does the following:
The schedule needs to run daily at 7pm
The backup needs to generate a compressed archive of selected backup ...
7
votes
2
answers
10k
views
Lock Screen after screensaver starts + delay
I would like to have my win7 desktop lock after say 15 minutes of idle time. I also want my screensaver to start at 5 minutes of idle time.
I tried using programs that run a command after a certain ...
7
votes
3
answers
9k
views
Alternative to Windows Task Scheduler GUI?
OS: Windows 7 64-bit
Context: Several recent Windows Updates have added many scheduled tasks about data collecting, performance reporting, blah blah, in preparation for the move to Windows 10. Many ...
7
votes
1
answer
10k
views
Task scheduler compatibility?
With what windows versions is a task exported in XML compatible with? For example, is a task created in windows 7 compatible with windows 10 / Windows Server 2003 with Windows Server 2008 and so on? I ...
6
votes
5
answers
36k
views
Windows 7 scheduled task returns 0x2
I have identical scheduled tasks running in Windows XP Pro and Windows 7. The XP Pro one runs fine, the Windows 7 one always returns 0x2 (which means, "The system cannot find the file specified"; ...
6
votes
1
answer
78k
views
What are the arguments for shutdown.exe in Windows Task Scheduler?
I'm trying to use Windows Task Scheduler to automatically shut down my Windows 7 computer every day at a specific time.
While there are a lot of tutorials on how to do this, none of them give a list ...
6
votes
3
answers
55k
views
How can I schedule a time for a song to play in Windows Media Player or iTunes?
How can I launch Windows Media Player or iTunes, playing a song, with the Windows task scheduler.
I already know how to create a task and how to trigger it at a given time (launching iTunes / WMP).
...
6
votes
1
answer
17k
views
task scheduler doesn't seem to be running powershell script like it should
I have the following PowerShell script saved as test.ps1:
# test script
Write-Output "z" >> C:\path\to\log.txt
In the Task Schedule I have it set to "Run whether user is logged ...
6
votes
1
answer
8k
views
Windows 7 scheduled task stops working after changing windows password
I have a scheduled task that triggers every hour.
It runs as a service, meaning it's marked with "Run whether user is logged on or not".
Because of my company's security policy I have to change my ...
6
votes
1
answer
2k
views
How to schedule a task with the Task Scheduler on Windows 7 that runs one minute later each day?
How to schedule a task with the Task Scheduler on Windows 7 that runs one minute later each day? That is on day one it runs at say 10:00 then the next day at 10:01, etc.
6
votes
3
answers
5k
views
How to launch a GUI Windows application with administrator rights without asking for the pasword from the user?
The user using the computer logs-in to the Windows 7 Professional system through an Active Directory domain and has no administrative rights.
I am the administrator and can give him the rights but, ...
6
votes
3
answers
16k
views
Windows 10 Task Scheduler error "XML contains a value which is incorrectly formatted"
Since the Windows 10 upgrade any attempt to edit a previously existing task results in a popup error window stating:
An error has occurred for task < taskname >
The following error was ...
5
votes
3
answers
26k
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 ...
5
votes
1
answer
16k
views
schtasks with multiple actions
I am trying to create a schedule task using command line which has multiple actions running more than one batch files in sequence among other things
SCHTASKS /Create /TN TaskName /SC ONLOGON
/TR C:\...
5
votes
2
answers
174
views
Are startup items, services, and scheduled tasks the only things that run without my explicit involvement?
On a virgin out-of-the-box Windows machine, and before making any Internet connection, if I wish to remove or disable any applications that might run without my explicit consent, is it sufficient to ...