Solved

File left open when scheduled task freezes

Posted on 2015-02-16
2
179 Views
Last Modified: 2015-02-16
I have a scheduled task on a network server that opens an excel workbook named CPOE Report Card.xlsm with an Auto_Open macro that processes a report to a list of recipients and then closes.

It runs every Monday.  It ran without a problem on the 9th.  This morning it ran into a problem.

For an unknown reason the task stopped after 4 recipients and left the file open.

I stopped the task via the Task Scheduler.  Now I have a file ~$CPOE Report Card.xlsm which I cannot delete.

The original file can only be opened in a read only status.  When I run the task manager, I do not see any processes or applications running.

How do I get rid of the "~" file and restore the original file so I can open it?

Thanks

glen
0
Comment
Question by:GPSPOW
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 40613224
Make a copy of the ~ file, then reboot the server.
0
 

Author Closing Comment

by:GPSPOW
ID: 40613243
thanks  that's what I thought.

I will contact the I/T service desk.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question