What could be causing a file from 2011 to be undeletable?

In summary, the mystery file is a file that cannot be deleted or accessed by any commands, and it was discovered on February 13, 2011 (time 8:07 P.M. EST). The file is locked due to something using it, and the only way to remove it was to boot in Linux. The file might be referenced in the registry or used by something always running in the background, and Windows can't touch it. The best solution is to clear your cache, try different commands, or try system restore.
  • #1
mathman
Science Advisor
8,140
572
Recently I discovered a file (dated Feb. 13, 2011, time 8:07 P.M. (EST)) that cannot be deleted and does not respond to any commands, such as move, rename, open, etc. I have "unlocker assistant", but it doesn't work here.

The date stamp corresponds to a time when I was surfing Physics Forum and "physics form" is part of the file name. From what I was able to deduce I was in the General Math forum at that time. I believe I was looking at a question where there was a link to another file, which had to opened by "Open Office", so I presume I was looking at the linked file. Since then, that particular question no longer appears in the forum.

Any suggestions - I just want to get rid of it.
 
Computer science news on Phys.org
  • #2
Is this in Windows, Linux, or OS X? In general, you may be able to get rid of the file by clearing your cache (and forms, and downloaded files, etc. in whichever browser it is that you use (sorry for the broad stroke, but there's not so much to work with here!) If it persists, you may have to use the CS solution (i.e. reboot the machine, and then try again--sometimes you end up with odd sharing / file locking violations that prevent files from being touched).
 
  • #3
If you're on Windows and really desperate to delete it, you could try booting up in Safe Mode. The file is probably being used by something that is always running in the background. Booting in Safe Mode will keep them from starting so that they can't grab and hold the files.
 
  • Like
Likes WWGD
  • #4
If you are running windows, get a LINUX boot disc, start in LINUX remove the file and then restart in windows.
 
  • #5
My operating system is Windows XP. In general if a file is locked because something is using it, "unlocker assistant" will handle it. In this case, when trying to do anything with the file, the computer acts as if it is not there. For example, "properties" gives me a complete blank, including 0 file length, although windows explorer gives it a length.
 
  • #6
mathman said:
My operating system is Windows XP. In general if a file is locked because something is using it, "unlocker assistant" will handle it. In this case, when trying to do anything with the file, the computer acts as if it is not there. For example, "properties" gives me a complete blank, including 0 file length, although windows explorer gives it a length.

Ah. A mystery file. Have you tried creating a file with the same name and then try to delete it? I have seen the OS get confused on a rare occasion thinking that a file is there when it isn't. The other thing that I would do is to search the registry to see if it's referenced there.
 
  • #7
Try logging in as a different user and deleting the file. On my system, I have multiple hard drives, with a second instance of Windows installed on one of of the "other" hard drives. I boot into that for doing backups and if needed restores of the primary OS partitions. The second OS could also be used to delete files that the primary OS won't delete.
 
  • #8
I've had this problem before. Windows can't touch it and sometimes throws up errors for it.

The only way to remove it was to boot in Linux. Even a fresh install of Windows couldn't touch it.
 
  • #9
I tried safe mode and I got the same result (file can't be touched). I have no desire to do anything drastic, so if there is no relatively easy solution, I'll just leave it there.
 
  • #10
mathman said:
I tried safe mode and I got the same result (file can't be touched). I have no desire to do anything drastic, so if there is no relatively easy solution, I'll just leave it there.

Download the ubuntu image from their website (main page).

Burn it to disc and boot from it. You can try out the OS without installing it, run it from the disc.

Using this you can see your windows files and delete it.

This should take an hour tops and most of that is because of downloading (20 minutes without download time).
 
  • #11
Try system restore. Use a restore point before the problem occured. This is effective against most viruses. I use two disc drives to prevent cross contamination of restore points. A worst case solution is to reformat your hard drive. Again, you need a second hard drive to make it less painful. Copy your non-system files you wish to save to the other drive. i have yet to hear of a bug that can't be killed that way, but, you need a second drive for this fix.
 
Last edited:
  • #12
Chronos said:
This is effective against most viruses.

Unless the virus implants itself in there, which a lot of the new ones do.

Also, system restore doesn't affect your personal files. So it probably wouldn't touch this folder.
 
  • #13
File has path C:\Documents and Settings\Herb\Local Settings\Temp\(file name)

I'm Herb
 
  • #14
mathman said:
File has path C:\Documents and Settings\Herb\Local Settings\Temp\(file name)

I'm Herb

The file path is meaningless to us. You really need to try some of the solutions offered.

Again, I recommend you try the Linux boot disc method.
 
  • #15
mathman said:
File has path C:\Documents and Settings\Herb\Local Settings\Temp\(file name)

I'm Herb

Just curious. What's the filename? Have you Googled it?
 
  • #16
mathman said:
File has path C:\Documents and Settings\Herb\Local Settings\Temp\(file name)
In that case, logging on as another admistrator user should allow you to delete any files related to "Herb".
 
  • #17
Have you tried using disk clean up? It should have an option to clean the Temp folder. If it doesn't need it in there, it will delete it. Is there any particular reason you need to delete it?

It may be the internet cache for that user, you could clear the cache in the browser and that may delete all the content of the file/folder.
 
  • #18
rcgldr said:
In that case, logging on as another admistrator user should allow you to delete any files related to "Herb".
When I tried the safe mode, I said I was the administrator, but it didn't do any good.
 
  • #19
mathman said:
When I tried the safe mode, I said I was the administrator, but it didn't do any good.

Seriously, have you tried the boot disc? If the boot disc for Linux can't get rid of it you'll have to format it.
 
  • #20
jarednjames said:
Seriously, have you tried the boot disc? If the boot disc for Linux can't get rid of it you'll have to format it.

Or he could just forget about the file and go skiing or something. As far as I can tell from reading the thread, the file isn't causing any trouble. If it ain't broke, yada yada...
 
  • #21
Scan the disk for errors.
 
  • #22
caffenta said:
Or he could just forget about the file and go skiing or something. As far as I can tell from reading the thread, the file isn't causing any trouble. If it ain't broke, yada yada...

If it's there and can't be deleted, it most certainly is broke (assuming he's gone down the usual routes to check it isn't being used - which I doubt seeing as he doesn't seem to be trying the solutions posted).
 
  • #23
I would point out that the most likely reason that he can't delete the file is that it is being used by a program from boot. If he uses a boot-drive to kill it which is almost guaranteed to work, if it hasn't been carved into his hard disk by tiny chisel wielding gnomes, there is the possibility he will stop something from working.

Since it is located in his TEMP folder, that leads me to think that it is the cache for something. Most likely the web-browser. If he should delete that then it will just create a new one when he starts up the browser again.
 
  • #24
Pattonias said:
Since it is located in his TEMP folder, that leads me to think that it is the cache for something. Most likely the web-browser. If he should delete that then it will just create a new one when he starts up the browser again.

That's actually why I'm not bothered about it being deleted via a more 'forceful' method.

Any other location outside the TEMP folder I'd be concerned.
 
  • #25
Good point. Do you have an XP PC jared?

I tried following the string on W7, but it doesn't relate. You would think it would still work on most windows machines since they usually don't change up the structure that much between upgrades. Could you find a similar location on your own PC?
 
  • #26
I use Ubuntu.

It's a hidden folder, so you may need to check for that.

I used Windows 7 for a while and if I remember correctly the equivalent on it would be something like: "C:\Users\Herb\Appdata\Local"

Follow that path and it should point you in the right direction. Still hidden though so enable that.

XP does have the folder indicated by the OP (the local settings one that is), so that in itself isn't a problem.
 
  • #27
I managed to find one of my Temp folders in the way you described, I was just hoping to find it using the same path. Maybe I can find it that way on a school machine. I figured if I could find it, I may be able to determine which programs are using that temp folder.

On my machine at home, my temp folder has been moved to a RAM disk and I generally direct all my temp files/folders to that one drive.
 
  • #28
jarednjames said:
If it's there and can't be deleted, it most certainly is broke (assuming he's gone down the usual routes to check it isn't being used - which I doubt seeing as he doesn't seem to be trying the solutions posted).
Just to clarify some things. The file is date and time stamped, so I know exactly when it happened and what I was doing (I was in the math forum of physicsforum). I did try safe mode, which didn't work. I don't have Linux and I am wary of starting with another operating system. I am also very reluctant to do a complete cleanup of my disk.

I have a program called unlocker assistant, which will in all cases (except this one) point out when a file is in use by another program so that it can't be deleted. However unlocker assistant can delete it when I want to. For the particular file under discussion, unlocker assistant doesn't respond at all.
 
  • #29
Why are you worried about booting another OS? Linux runs straight from the CD so you don't have to install it.

Put it in, remove the file, shut down, job done.
 
  • #30
I agree, the Linux method is guaranteed to fix it, and you don't have to wipe your drive. I think on the boot screen it will say "try out linux" or something to that effect and you can run it without installing it on your hard disk.
 
  • #31
Pattonias said:
I agree, the Linux method is guaranteed to fix it, and you don't have to wipe your drive. I think on the boot screen it will say "try out linux" or something to that effect and you can run it without installing it on your hard disk.

Correct.
 
  • #32
Pattonias said:
I agree, the Linux method is guaranteed to fix it, and you don't have to wipe your drive. I think on the boot screen it will say "try out linux" or something to that effect and you can run it without installing it on your hard disk.

The Linux method may work as far as it will remove the file, but you're just asking for more problems down the road. The underlying issue is, evidently, the filesystem corruption, and that's what you have to fix in order to delete the file properly. Going in with a third-party filesystem driver and forcibly removing it will only increase the corruption.
 
  • #33
hamster143 said:
The Linux method may work as far as it will remove the file, but you're just asking for more problems down the road. The underlying issue is, evidently, the filesystem corruption, and that's what you have to fix in order to delete the file properly. Going in with a third-party filesystem driver and forcibly removing it will only increase the corruption.

I'm not denying it could be down to a larger problem, but it's only one file.

One error is not a sign of file system corruption. It's a glitch in the registry at best.

I've had windows 'forget' about files a number of times, it's not a sign of a major issue and only required the Linux method to solve - I checked the registry with a number of systems for any problems and none were found. Frankly, given the number of files being dealt with it's really not surprising that the OS has a glitch like this every now and then.

It doesn't matter what software you use to wipe out the file. Otherwise that would mean plugging my external hard drive initially used with windows into my linux machine is dangerous and risks severe corruption.

Technically, you're not forcibly removing the file. You're doing a normal delete operation. The only risk involved is ensuring you're not removing a required windows file.
 
  • #34
I don't have a linux CD. Is there a source online?
 
  • #35
jarednjames said:
I'm not denying it could be down to a larger problem, but it's only one file.

One error is not a sign of file system corruption. It's a glitch in the registry at best.

I've had windows 'forget' about files a number of times, it's not a sign of a major issue and only required the Linux method to solve - I checked the registry with a number of systems for any problems and none were found. Frankly, given the number of files being dealt with it's really not surprising that the OS has a glitch like this every now and then.

It doesn't matter what software you use to wipe out the file. Otherwise that would mean plugging my external hard drive initially used with windows into my linux machine is dangerous and risks severe corruption.

Technically, you're not forcibly removing the file. You're doing a normal delete operation. The only risk involved is ensuring you're not removing a required windows file.

Registry has absolutely nothing to do with it. If the file is not in use, but you still can't delete it or even access its properties, something must be wrong with the file system.

It does not matter what software you use, as long as the file system is OK. If you expect to see two different outcomes from the delete operation in Windows and in Linux, then evidently the file system is not OK, but maybe the Linux driver handles abnormal situations in a different way from the Windows driver.

Here's a simple analogy. You want to get a book off the book shelf. In the normal circumstances, books stand next to each other and can be pulled individually, and anyone can take any book without any problems.

You send your servant to that book shelf and he comes back and says "I can't get it easily, other books are in the way". Your solution is to find a more obedient servant. He'll bring you the book, but possibly at the expense of creating a big pile of books on the floor (maybe books were stacked vertically for some reason, and the book you wanted was at the bottom of the stack.) The correct solution is to send a servant to put the books in order.
 

Similar threads

  • Programming and Computer Science
Replies
4
Views
5K
  • Computing and Technology
Replies
2
Views
2K
  • General Discussion
Replies
28
Views
4K
Replies
5
Views
919
  • Engineering and Comp Sci Homework Help
Replies
6
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
31
Views
11K
Replies
1
Views
2K
Replies
1
Views
438
  • General Discussion
Replies
9
Views
1K
  • General Discussion
Replies
31
Views
4K
Back
Top