Windows 7 Forums


Windows 7: Task Scheduler Ends Unexpectedly, Adverse Consequences

13 Sep 2012   #1

Windows 7 Professional 64 bit
 
 
Task Scheduler Ends Unexpectedly, Adverse Consequences

I have set up Task Scheduler to execute batch programs using a programming language known as SAS. Normally things work properly, the task ends as expected, and a log file is created.

Today, the task ended unexpectedly (actually, I know why, I set the task to end after 30 minutes, because the task shouldn't take more than about 2 minutes). The problem is that the log file that is being written by this program is now locked, and I cannot delete it or move it edit it. Other files used in this task have the same problem. If I try to delete it, I get the Windows message that says: "The action can't be completed because the file is open in SAS" (even though SAS is no longer open because the task has ended). This is completely repeatable, this has happened several times now, with identical results.

So, to be clear, my concern is not that the task ends unexpectedly. My concern is that I cannot edit or delete or move the log file, nor can I edit or delete or move any of the other files in use by the program.

Please advise.

My System SpecsSystem Spec

13 Sep 2012   #2

Windows 7 Pro X64
Space Coast of Florida
 
 

What about booting to Safe Mode and logging in as Administrator. See if you can delete from there. You will have to enable the hidden Administrator account before doing this though:

Open a Elevated Command Prompt
To enable: Enter net user administrator /active:yes
To disable: Enter net user administrator /active:no

Or you could try installing Unlocker and see if it allows you to get rid of the files/folders.
My System SpecsSystem Spec
Reply

 Task Scheduler Ends Unexpectedly, Adverse Consequences problems?



Thread Tools



Similar help and support threads for: Task Scheduler Ends Unexpectedly, Adverse Consequences
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder Tutorials
Task Scheduler : Create Shut Down PC Automatically Task Tutorials
Need help creating a task scheduler task to move files over a network. General Discussion
Task scheduler unable to load task status/active tasks at startup. Performance & Maintenance
Solved Task Scheduler failing to start task with merged network locations General Discussion


All times are GMT -5. The time now is 09:27 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32