MSFN Forum: Can't delete corrupt folder in temp. internet files. - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can't delete corrupt folder in temp. internet files. Rate Topic: -----

#1 User is offline   bizzybody 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 316
  • Joined: 08-May 05

Posted 03 December 2008 - 09:53 PM

I'm attempting to remove a user account on a PC with XP Home but there's one folder under temporary internet files that Windows says is corrupt and can't be read. I don't need to read it, I need it GONE!

I can rename the folder but can't see anything in it. I've tried KillBox, Delete Dr., Disk Investigator (which claims the folder is empty) and various things with XCACLS. I've also booted it with Microsoft's DaRT 5.0, both connecting to the Windows install and not doing so.

Windows is determined to hang onto what it should destroy with extreme prejudice.

CHKDSK /F doesn't fix anything, run from a safe mode command prompt under Administrator login or with DaRT, it claims there's nothing wrong yet every time the PC is booted normally CHKDSK runs and says the volume is dirty, but no other problems found or fixed. What use is a repair utility that doesn't work? Ye Olde SCANDISK would find the bad file, "recover" some of it to useless .CHK files and nuke the rest.

Is there a Linux bootable CD image with a utility that can get rid of this problem?

I know I can "fix" it by running the system restore (it's a Dell Dimension B110 desktop) but that's the "nuclear option" to one stupid corrupted file or folder Windows should've been able to detect and remove without ever bothering the user. (Especially since it's in a TEMPORARY file location.)

As to the cause of this, I assume it was from especially bad Internet Explorer crash or malware.

I've run into this with XP a few times before, and have always had to resort to reformatting the entire drive or partition after copying off anything that needed saved. There has to be a better way!


#2 User is offline   Kindovic 

  • Member
  • PipPip
  • Group: Members
  • Posts: 123
  • Joined: 20-December 07

Posted 04 December 2008 - 03:35 AM

boot into a linux live cd and delete the offending folder

#3 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,325
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 December 2008 - 03:45 AM

Unlocker?

It will delete **** near anything, even if you have to reboot the system to let it delete the file.

#4 User is offline   DJ MyRinX 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 14-October 08

Posted 04 December 2008 - 05:09 AM

Be carefull with installing unlocker.
It comes with some "nice extras" if your not careful (ebay bs), which is possible to skip though.
I must say that it helped me out a lot.

If that doesn't do the trick try Kindovic suggestion.
Ubuntu's live cd works like a charm.

#5 User is offline   RJM 

  • Member
  • PipPip
  • Group: Members
  • Posts: 244
  • Joined: 17-May 05

Posted 04 December 2008 - 09:38 AM

There is also "move on boot" which allows you to move or delete files on your next boot-up.

http://www.softpedia.com/get/System/Boot-M...oveOnBoot.shtml

#6 User is offline   bizzybody 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 316
  • Joined: 08-May 05

Posted 04 December 2008 - 02:21 PM

Tried Unlocker and Move on Boot. Those don't work either. It looks like nothing operating from within Windows will fix this.

Is there some bootable CD image with a disk utility that works better than CHKDSK?

#7 User is offline   iamtheky 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 866
  • Joined: 11-November 08

Posted 04 December 2008 - 02:52 PM

Indeed, nothing cleans windows like linux.
ubuntu is a good one,

as well as

www.knoppix.net

http://www.morphix.org/

#8 User is offline   gpctexas 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 25-May 04

Posted 04 December 2008 - 03:10 PM

open cmd prompt

rd /s "x:\documents and settings\<username>\local settings\temporary internet files"

replace x with your drive letter
replace <username> with the account name you are working with

answer yes if prompted

#9 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 04 December 2008 - 04:57 PM

The problem is that the file/folder is potentially linked to index.dat, which will get a handle to the file any time winlogon is running (which is all the time). Meaning, you will not (easily) be able to whack it without bugchecking the box, hence it doesn't get deleted. You are going to need a bootable CD with access to the filesystem to get rid of this, I would think.

#10 User is offline   bizzybody 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 316
  • Joined: 08-May 05

Posted 04 December 2008 - 07:44 PM

A bootable CD running a system with write access to NTFS that also doesn't abide by Windows' protecting corrupt files.

ERD Commander (now Microsoft Diagnostic and Recovery Tools- DaRT)* don't work for this. I suspect that a disc built with Bart PE or UBCD for Windows won't work either.

Soooo, I'm going to see what's out there for Linux goodies, perhaps the regular UBCD, eh?

*DaRT 5.0 is for XP, DaRT 6.0 is for Vista and includes more tools- some of which can also be used on an XP box. Mainly the Standalone System Sweeper (use a CD-RW for 6.0 cuz the builder updates SSS malware definitions) for malware removal. The "full meal deal" includes both versions of DaRT and some other stuff is collectively called MDOP.

#11 User is offline   infiniti25 

  • Junior
  • Pip
  • Group: Members
  • Posts: 97
  • Joined: 03-December 08

Posted 05 December 2008 - 05:58 PM

Would going to recovery console from the windows xp cd now give you a command prompt that would let you do this?

http://www.kellys-ko.../win_xp_rec.htm may help explain more and also to add it as a boot option :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy