|13 Sep 2012||#1|
| || |
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.
|My System Specs|
|13 Sep 2012||#2|
| || |
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 Specs|
|Similar help and support threads for2: Task Scheduler Ends Unexpectedly, Adverse Consequences|
|simple task scheduler question: changing a task name||Performance & Maintenance|
|Task Scheduler - Create Task to Display a Message Reminder||Tutorials|
|Can't create a task in task scheduler, account unknown.||General Discussion|
|Task Scheduler error 2147944309 when I change task from||Installation & Setup|
|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|
|Task Scheduler failing to start task with merged network locations||General Discussion|
|Our Sites ||Site Links ||About Us ||Find Us |
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
All times are GMT -5. The time now is 02:30 PM.