0
votes
2answers
39 views

Windows pausing service instead of restarting it when batch file called from task scheduler

I have set up a task in Windows Task Scheduler to run at a specific time each day. The task simply executes a batch file I've created to restart my Windows service. This is the contents of that ...
0
votes
1answer
63 views

Unable to defragment win7 laptop

I have a Windows 7 laptop that I have been unable to defragment for the last several months. When I try to invoke the defragmenter from the command line it says "The dirty bit is set on this volume". ...
0
votes
0answers
15 views

Windows 7 mountvol and task scheduler

In Windows 7, I have a Task-Scheduler job which run Backup4All, to do a backup of my data. It has provision to run a "pre"-backup batch file, and a "post"-backup batch file, which I have taken ...
1
vote
2answers
40 views

How to find out the reason why a scheduled task hang?

I have scheduled quite a number of tasks in my Windows 7, doing a variety of cron jobs on my machines. I am perfectly sure that these tasks, when run on their own, won't hang. But the problem is ...
1
vote
0answers
69 views

XPath event filter working in Event Viewer but not in Task Scheduler

I'm trying to trigger a scheduled task with this XML: <QueryList> <Query Id="0" Path="Security"> <Select Path="Security"> *[EventData[Data[@Name='TargetInfo']='S']] ...
1
vote
2answers
53 views

Edit already existing Scheduled Task through GPO

I have been searching for a while but not getting much out of my trusty friend Google at the moment, so wondering if someone else out there might be able to share some wisdom. By default, Windows has ...
0
votes
0answers
44 views

How can I schedule restart of my network connection?

I schedule my PC to turn on an hour before I arrive work so that it can run tasks while I'm on my way. However, one time, there was a task which needs internet connection but unknowingly, the wifi ...
0
votes
1answer
34 views

Possible to schedule a task to browse to a webpage in an already-open browser?

In Windows, I'm trying to schedule a task that visits a predefined webpage every morning before I wake up, but doing so in any already-open browser (if there's one available). I jump between Pale ...
2
votes
1answer
119 views

How to prevent scheduled tasks from running as soon as computer wakes up?

Example: I have a task that is scheduled for 6 am every day (only if I'm logged on). If my computer sleeps/hibernates all night until 9am, upon waking up the task will then run even though it missed ...
4
votes
2answers
48 views

Power Management: Have Win 7 box turn on and off at a scheduled time

I sometimes need to run a batch job on my Win 7 Pro workstation at a fixed time. I use the scheduler to make sure the task runs then. But, I need to disable sleep beforehand, which wastes lots of ...
1
vote
0answers
65 views

Task scheduler not executing argument

I am trying to run a program called the renamer that helps to move and rename files for my XBMC setup as a scheduled task (Win7 x64 HyperV VM on Domain). My current process is to run the program ...
1
vote
1answer
248 views

Schedule a task with admin privileges without a user prompt in windows 7

In windows 7, I'd like to schedule a program to be run with administrative privileges, without having the user need to respond to a prompt (which requests elevated privileges) every time the scheduled ...
0
votes
0answers
513 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 ...
-1
votes
1answer
124 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
1answer
62 views

Running and stopping a task on Windows 7

I need to execute a batch file that run every minute for 1 minute. At the end of 1 minute it would execute another batch file which runs for 30 seconds. It then repeats running the first batch file ...
0
votes
1answer
65 views

schtasks in Windows how to select first day of month

I have the syntax how to define a Task for the last day of the month, but not fir the first day. Are there any Admin Gurus? schtasks /create /sc minute /mo LASTDAY /tn "Bild Copy" /tr "C:\copy.bat" ...
0
votes
1answer
31 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 ...
1
vote
1answer
82 views

Schedule on Windows Task Scheduler

If I want to schedule a task every 5 minutes for ever and ever, should I check: Once + "Repeat" every 5 minutes Undefinitely Daily + "Repeat" every 5 minutes During one day Undefinitely What ...
2
votes
1answer
110 views

How to wait for networking before runinng a task at startup on Windows 7

Is it possible to have a task wait for networking to be ready before running? The only networking related option that I see is "Start only if the following network connection is available", which ...
1
vote
0answers
66 views

How to Schedule Tasks according to several Timezones

I need to use Windows Scheduler or any other app for setting jobs at a concrete time depending on destination country. That means scheduling a job at 7 am (UK Timezone), another at 7 am (US ...
1
vote
1answer
167 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
1answer
636 views

How can I run a Task Scheduler job without being on administrator account?

I have read that the Windows account logged onto the computer that is running tasks from the Windows Task Scheduler needs to have administrator rights. I used the administrator account to create the ...
0
votes
2answers
716 views

Scheduled task works on a mapped drive when configured for Windows XP mode, but not for Windows 7

There is a Windows 7 PC with a scheduled task. The only thing it does is running a VBS file located on a mapped drive that points to a network share: M:\Folder\Script.vbs where M: is the mapped ...
0
votes
1answer
61 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
1answer
212 views

Schedule task launching issue on windows 7

I am trying to run a task on windows 7 machine and it works pretty fine if I select option "Run only when user is logged on". However if try to run task using option "Run whether user is logged on or ...
1
vote
2answers
43 views

Is it possible to modify (or create) an scheduled task in Windows command-line to remove the need for user login?

Is it possible to change, by using command-line, this first state in my Windows Task Scheduler (sorry, my Windows is in spanish; look for translation on the bottom): to this other? Only ...
2
votes
1answer
727 views

Win7 Task Scheduler Won't Run Copy Commands

I'm trying to run a patch file every morning at 4am. For whatever reason, the lines in the batch file that use robocopy.exe are skipped. I've also tried xcopy and cp(from UnxUtils). The batch file ...
1
vote
1answer
29 views

Need help choosing backup type and options - how do the different backup strategies apply to single file?

I want to backup my journal to my external hard drive. Because of the nature of journals, I see no reason to keep an old version. In Acronis True Image 2013 how do I set it up so it's backed up once a ...
1
vote
0answers
125 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
2k views

How to show command-line app started by Windows Task Scheduler?

I have created a task on Windows Task Scheduler to run a command-line app everytime I lock this machine. It works like a charm. My question is: Is it possible to see the Command Prompt window when I ...
2
votes
1answer
891 views

Run batch file through Windows 7 scheduler to rename folder on network drive

I'm trying to do what I believed would be very simple: have a .bat file that rename two folders on a network drive. The script works fine when running from prompt, but not from the scheduler. Any ...
1
vote
0answers
90 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
630 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 ...
1
vote
1answer
197 views

Scheduled Task fails with 0x1 on multiple computers

I have configured 3 LAN computers to run scheduled tasks, however on all of them (Windows 7 & Windows 8) the scheduled task will fail with infamous 0x1. The task is set to run, whether user is ...
0
votes
0answers
214 views

schtasks: How to set 'Stop the existing instance' from commandline?

If a task (in schtasks.exe) is already running, then the following rule should apply: "Stop the existing instance". Source: http://technet.microsoft.com/en-us/library/cc722178.aspx How can I set ...
1
vote
5answers
10k views

What's the best tool to use to automatically backup selected folders from Windows to my external hard drive? [closed]

I have a 1TB external hard drive and I'd like to periodically schedule backups of my "Libraries" in Windows to the external drive. I'd prefer if it could detect what files have changed and ...
0
votes
1answer
686 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
727 views

How to run AutoHotKey script as an admin every time a user logs in?

I have computers where quite a few users log in. I want to restrict the usage to a maximum of 12 hours after which an ahk script logs off the user. I have the following solution but couldn't figure ...
3
votes
1answer
5k views

What “user” must a scheduled task run as in order to be visible for all users?

I wish a task to be scheduled to run when any user logs on, but is not dependent on any one user being logged on, so I pick "Run whether user is logged on or not". The problem with this is that the ...
2
votes
2answers
8k views

How do I get a .bat file to run in Task Scheduler at PC Startup?

Alright so I have been reading through the various answers on Super User for this question and no one has seemed to actually post a way of running a .bat file in Task Scheduler at PC startup. I would ...
3
votes
3answers
1k 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 ...
1
vote
1answer
489 views

“/fullscreen” argument does not work when launching Windows Media Player as part of a scheduled task with wake from sleep

I recently asked a question about using Windows 7 Task Scheduler to wake a computer from Sleep mode and play a video, Windows Task Scheduler to wake from sleep and play a video, and I got it to work, ...
0
votes
2answers
2k views

Windows Task Scheduler to wake from sleep and play a video

I am trying to follow the directions in Can Windows 7 Task scheduler start a playlist in Windows Media Player 11?, but it is not working for me. It may be because I want to play video rather than ...
0
votes
2answers
6k views

Task Scheduler is not executing the program

Problem: I have a .bat to send me an email with an attachment. When I execute it in cmd or in Windows Explorer, it works and I receive my email within 3-5 sec. I scheduled a task for its execution ...
0
votes
2answers
211 views

How to disable automatic Windows backups?

I have a couple of Windows 7 machines at work. I have them both set up to perform weekly backups to a network drive. I'd like to temporarily disable that, while I'm on vacation. But I don't know how. ...
0
votes
0answers
705 views

Task Scheduler (run whether user is logged on or not)

I'm having a problem with scheduling a task in Windows 7 I m creating a task which is mapped to a bat file to execute, here is my .bat file : cd "C:\soft\" Start excel "" "AD Auto Run.xlsm" its ...
0
votes
1answer
194 views

How to prevent an application from adding a scheduled task?

I use Garena to play online. However, it has this annoying habit of adding a scheduled task on every startup in order to bypass UAC prompts. Basically, it keeps running its DLL (named ggspawn.dll) in ...
0
votes
0answers
774 views

Is there a way to schedule Samsung Magician SSD optimization?

I have been using a Samsung 840 for a half year on my development workstation, and noticed how its performance degrades over time. Windows 7 is supposed to run the TRIM command automatically, but ...
0
votes
0answers
255 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
598 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 ...