Results 1 to 11 of 11

Thread: Cannot delete file

  1. #1
    minnow52 Guest

    Cannot delete file

    When trying to delete a file from a folder, it says "The action can't be
    completed because the file is open in another program. How do I find out what
    program is running that file?

  2. #2
    Malke Guest

    Re: Cannot delete file

    It depends on what kind of file it is. Since you didn't tell us, how can
    anyone guess?

    As a general troubleshooting step, you can try deleting the Mystery File in
    Safe Mode.

    To get into Safe Mode, restart the computer and repeatedly tap the F8 key as
    the computer is starting up. This will bring you to the correct menu. Use
    your arrow key and the Enter key to select Safe Mode.

  3. #3
    Bob Guest
    To delete the file close all open programs.
    Open an admin command prompt.
    Type attrib -r -a -s -h del [drive] path] [filename]
    (e.g. "C:\Users\minnow52\Documents\minnow52.doc")
    Press Enter.

    Sorry about that. New to this. (As you can tell.)
    It is an AVI movie video that is in my My Documents/Movies Folder

  4. #4
    Malke Guest
    First of all, I assume you really mean the file lives in
    %systemdrive%\Users\your-user-account\Movies because there is no "My
    Documents" in Vista. The whole Documents and Settings [My-foldername]
    hierarchy doesn't exist in Vista. The Documents and Settings and subfolders
    you see are virtual, junctions there only for backwards compatibility with
    older software that expects those locations to exist.

    You can try Bob's method or go into Safe Mode.

    I will try it but how do I open an admin command prompt?

  5. #5
    Bob Guest
    Start>Programs>Accessories>Right click Command Prompt>Run as Administrator.

    Was able to delete the 2 movie files
    following your instructions just like you said. Once again thanks for your
    help and I'm making sure that I put this forum into my FAVORITES.

  6. #6
    gordievsky Guest
    Very Useful thread. Unfortunately after trying your advise, I still
    cannot delete a file with a .uif extension. I keep getting an error
    message which states "the action can't be completed because the file is
    open in another program."

    I am pretty sure it is not open in any other programs. I tried
    deleting in safe mode with no luck. I tried using a program named
    "moveonboot" with no luck.

    And I tried using your command prompt suggestion with no luck-- I
    received an error which stated "parameter format not correct."

    Any other suggestions? Did I type something incorrect into the prompt?

    Have you tried a program named Unlocker

  7. #7
    Join Date
    Nov 2008

    Re: Cannot delete file

    SITUATION: you may scroll down to the SOLUTION, but the situation will allow you to confirm the symptoms of the problem you're facing
    For those who, the above given method didn't work...(yes, it didnt work for me either...)


    I had installed MagicISO software on 20th Nov. and every single day after that I tried everything to get rid of the software itself and the .uif file.

    Uninstalling The software was a no-brainer...I just used the 'Programs and Features' in Control Panel.

    However, I still couldn't delete the file...

    I also tried to uninstall the driver of the ROM in 'MY COMPUTER' (When we install magic disc, it creates a new ROM Device complete with a Volume Label, in my case F:)

    But everytime I restarted the system the driver automatically installed and I still couldn't delete the file even after uninstalling the driver...

    I tried using a feature provided by Microsoft, which until now I thought was pretty useless.


    I tried using System Restore on 26th Nov.
    But the software only showed me the Restore points for the past 5 days.
    Be advised however that It has a check box, which when selected shows us the restore points later than 5 days...
    The system had automatically created a System Restore point before installing the MagicISO software.
    All that was remaining to be doen was, choose a system restore point before 20th Nov, in my case, I chose 19th.
    Sure the restoration took about 20 min, or so....but when I restarted the PC, the MAGIC ISO ROM was gone.
    I went on to the .uif file and deleted it as I would delete any other file.

    Thank you for reading through all this. It was quite a headache for me as well, but I wanted to be as thorough as possible. After all, nobody wants a silly 'little' file to occupy 19GB of disc space for nothing, eh?

  8. #8
    gordievsky Guest

    Re: Cannot delete file

    Well, this probably won't help too much. But I eventually resolved this
    problem. The file I was trying to delete was in use by a "virtual
    drive" which basically read data files as discs.

    After I realized this, and "unmounted" the file, I could delete it.

  9. #9
    Zyonix Guest
    Dismounting usually works. :)

    If you have an error like this and it's REALLY REALLY bothering you.
    Don't take too much time. Get HiJack This and use the "Delete File on
    Shutdown" tool. :)

    As soon as the resources stop using the file, it gets instantly
    deleted. Perfecto.

    well, i tried this method, but it didn't work with my mounted file.

  10. #10
    Join Date
    May 2008

    Re: Cannot delete file


    When I am facing this kind of issue I run Process Explorer by SysInternals (now Microsoft). Open It, You click 'Find (Handle or DLL)'
    You type a part of the file name which is locked and run the search.
    You get the name of the faulty process. Now you can understand and close the process which locks the file.

  11. #11
    Join Date
    Nov 2009

    Re: Cannot delete file

    I had the same problem.
    I read some of the answers here and they gave me the clue I needed.

    I have MagicISO disk installed, a virtual drive.

    When I checked it showed the file I wanted to delete as being "mounted".
    I clicked on "umount" and I could then delete the uif file.

    Sorry if the techie terms aren't all correct.

Similar Threads

  1. Replies: 4
    Last Post: 14-04-2015, 02:53 PM
  2. cannot delete file -- cannot read from source file or disk
    By Amitgujaran in forum Windows XP Support
    Replies: 3
    Last Post: 11-11-2010, 09:55 PM
  3. Can't delete 0 byte file, with no file type
    By Adele2 in forum Windows XP Support
    Replies: 8
    Last Post: 15-12-2009, 12:33 PM
  4. Cannot delete file with no name disk file
    By Shanbaag in forum Windows Software
    Replies: 4
    Last Post: 17-08-2009, 03:14 AM
  5. XP: Cannot delete file: Cannot read from the source file or disk.
    By iexplorer0726 in forum Operating Systems
    Replies: 0
    Last Post: 10-09-2007, 06:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts