1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Unable to delete [corrupt?] temporary internet file folders

Discussion in 'Windows XP' started by Hujambo, May 8, 2005.

Thread Status:
Not open for further replies.
Advertisement
  1. Hujambo

    Hujambo Thread Starter

    Joined:
    May 5, 2004
    Messages:
    44
    I am unable to delete [corrupt?] temporary internet file folders. The Error Message reads:

    Error Deleting File or Folder --- Cannot delete file: Cannot read from the source file or disk.

    These file folders are totally empty and cannot be deleted, moved or renamed. My OS is WinXP/Pro.

    Is there a way to get rid of them? Your help is greatly appreciated.

    Regards,
    Richard ... [email protected]
     
  2. Sponsor

  3. Elvandil

    Elvandil

    Joined:
    Aug 1, 2003
    Messages:
    51,988
    What is the containing folder (for example, C:\Documents and Settings\<username>\Local Settings\Temporary Internet Files)?

    Have you run chkdsk on the drive (Start > Run: chkdsk /f) and rebooted?
     
  4. sammie4u58

    sammie4u58

    Joined:
    Jul 28, 2004
    Messages:
    114
    re-start the machine in "Safe Mode".....then select "Run".....enter "%temp%".....select all...then delete....

    It should work.....
     
  5. Hujambo

    Hujambo Thread Starter

    Joined:
    May 5, 2004
    Messages:
    44
    The safe mode suggestion unfortunately did not remove anything. These are leftover program temp files, which do not want to auto uninstall, but have to be uninstalled/deleted manually. The error message says ... it cannot read from the source file or disk.

    These file folders are located at ... C:\Program Files\name of program\temp\name of file folders. The files are totally empty, cannot be moved (to another drive), or renamed. Could they be corrupt? What do I have to do to clean things up?
     
  6. rbeaufor

    rbeaufor

    Joined:
    Feb 7, 2003
    Messages:
    163
    Try this!

    Start-->RUn--> "cmd"
    then type the following
    cd\
    cd(space) program files
    cd(space) name of program
    rd /s/q temp

    see if that works
     
  7. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    Hujambo,

    Have you tried running the chkdsk on the hard drive. Sometimes that can fix corrupted files.

    You might try booting to a safe mode command prompt and try moving to the problem directory and deleting them that way.

    Also, from the description, they are not corrupted Internet Temp files.
     
  8. Hujambo

    Hujambo Thread Starter

    Joined:
    May 5, 2004
    Messages:
    44
    I am not clear on how the command entry is to look. Could you please set it up for me. The way I had it must be wrong.
     
  9. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    You would change to the C:\Program Files\name of program\ directory
    Then run:
    rd /s /q temp
     
  10. Elvandil

    Elvandil

    Joined:
    Aug 1, 2003
    Messages:
    51,988
    Use this program:

    http://www.snapfiles.com/get/moveonboot.html

    You can specify what files or folders you want deleted and they will be removed on the next boot.

    But be sure to try my earlier suggestion to run chkdsk on the drive in case the files are corrupted in some way that interferes with their deletion.
     
  11. Jason1625

    Jason1625

    Joined:
    May 9, 2005
    Messages:
    56
    You can try a windows 98 boot disk, you can make one with windows XP you just need a new floppy put it in, right click and when formatting say make startup disk.

    Alternately you can try safe mode with command prompt with that nothing should be running. Also it may be that you have a virus running boot sector which you either need a very good anti-virus, reformat or a startup disk to remove it.

    For trying to remove a virus (if you think you might have one) try stinger, it's fast and it usally does fairly well.

    Jason
     
  12. Hujambo

    Hujambo Thread Starter

    Joined:
    May 5, 2004
    Messages:
    44
    Thanks for all your suggestions. I have pursued all of them and still can't delete the phantom file folders. When trying to delete the files, I still get the following message: "Cannot read the file from the source file or disk. The file is either locked or does not exist."

    I have reason to believe the file folders no longer exist, however, they are still registered. Which means to me that the registry needs to be edited. Does anybody share my view and would like to lead me through this process?
     
  13. Elvandil

    Elvandil

    Joined:
    Aug 1, 2003
    Messages:
    51,988
    Afraid I don't share your assessment. The presence of the files in the registry would not make them appear in explorer.

    However, it is possible for a file to have a representation in the MFT and not exist. The files could still appear in explorer even though they did not exist.

    It may be possible to delete them with NTFSDOS, if you have it.

    Examine the file and folder names carefully. Be sure that there is not a space in the names at the beginning or end that you haven't noticed. Then, try deleting from a command prompt in Safe Mode.

    How much space do these files occupy? If not much, you may have to live with them.
     
  14. Bob Cerelli

    Bob Cerelli

    Joined:
    Nov 2, 2002
    Messages:
    22,468
    This should be very simple to verify. When you view the directory in question, are the files there are aren't they.

    If the program also left registry entries behind, which is not uncommon at all, and you want to delete them, then you would need to carefully run regedit and remove those manually.
     
  15. Hujambo

    Hujambo Thread Starter

    Joined:
    May 5, 2004
    Messages:
    44
    Mt 4 subdirectory files, which won't delete, exist in the directory under ... C:\Program Files\my program\temp\the 4 files in question. My program was successfully removed from Add/Remove Program; however, the program is still listed in the directory because of the 4 subdirectory files. All that is contained in the directory are the name of the program with the temp folder and the 4 files. With the exception of the above, the entire content of the program was deleted when it was removed.

    I am comfortable going into the registry; however, I wouldn't know what and where to look for removing the left registry entries/keys. I have already checked the registry Software and Application entries but couldn't find any registry keys relating to my program.

    I have zero experience with NTFSDOS.
     
  16. Hujambo

    Hujambo Thread Starter

    Joined:
    May 5, 2004
    Messages:
    44
    The 4 files in question are occupying a space between 120-136 key entries.
    To me the names appear to be normal. Being file folders, no file folder extensions are listed. On top of that, the file folders are empty.
     
  17. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/360266