How can I delete a corrupt or unreadable Favorites folder in Windows XP on NTFS partition.

Windows XP Professional SP2. Intenet Explorer 7. The Favorites Folder has become corrupt and is unreadable is the error message I get when I try to open the Favorites folder.

40 gB hard drive formatted NTFS

I would like to delete it, since it triggers chkdsk to run on bootup. If I let chkdsk run, it stalls at 12% and I have to cold reboot.

If I choose not to run chkdsk, Windows loads and runs ok

But I have to watch the boot up so that I can click NOT to run chkdsk. ???

I used the move command from the command window and moved the old Favorites folder to C:\

I created a new Favorites folder where it was before and Internet Explorer will take new favorites and retain them.

I would like to know how to delete the folder.

I have tried from the command line:
delete
deltree is not recognized
rd /s favorites - says the folder is not empty and does not remove it
Tried closing the explorer.exe process as I tried rd from command window- did not work
Seems pretty crazy that Windows has no command to delete a corrupt folder.

Can I identify the hard drive segment or sector or whatever unit the folder resides in and use something to mark that sector as bad so the OS will not even try to read it.

Defrag wont run because it checks the disk first and says run chkdsk.

Could something be wrong with chkdsk??

This should not be this difficult?? One folder to delete.

Thanks for any help
johnaaronwilsonjrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Craig321Commented:
Hi,

It sounds very much like your hard drive is giving up.

You could try give the drive a full low-level format with the Maxtor tool here: http://www.seagate.com/ww/v/index.jsp?locale=en-US&name=SeaTools&vgnextoid=720bd20cacdec010VgnVCM100000dd04090aRCRD

No guarantees that it'll help, but it might sort it out.

Craig.
0
younghvCommented:
I would try to identify other solutions before doing a re-format.

Have you tried cleaning out all of your 'temp' and 'cookie' files?

There are several posts around here about repairing IE7.

You might also want to download CCleaner (www.ccleaner.com) to do a thorough clean up of all your junk files.

I have also used the 'Issues' function in CCleaner on a lot of XP boxes and it has worked wonders for clearing up strange error messages.

Vic
0
johnaaronwilsonjrAuthor Commented:
I ran Steve Gibson' s Spinrite over night and it found no errors on the drive. Level 4.

So it seems that the hard drive is OK, it must just be the format of the files/folder that is beyond chkdsk's ability to read or delete without reading.

A directory listing shows Favorites as a directory. I can not open the directory, I was able to use the move command, though it probably stlll resides in its original location and just the pointer to it was change in the File Allocation Table or whatever way NTFS keeps up with where the file/folder resides.

So, I think the drive is still OK.

I have not checked for spyware. But I don't really suspect that.

Thanks for the idea.
John
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

maxpatchCommented:
My first thoughts would be a failing hard drive or a virus.  I assume you are booting to the command line.

Have you tried
cd C:\documents and settings\"your profile name"\
del favorites\*.*
?
0
qz8dswCommented:
for your rd command as detailed here, http://www.pcreview.co.uk/forums/thread-301849.php

"b.. Cannot delete directory with hidden or system files
You cannot delete a directory that contains files, including hidden or
system files. If you attempt to do so, the following message appears:

The directory not empty

Use the dir command to list hidden and system files, and the attrib
command to remove hidden and system attributes from files. "

Or attrib -s -h /s /d  C:\documents and settings\your profile name\Favorites\*.*  should do the job .

Terry
0
r-kCommented:
0
Boris PetrovicConsultantCommented:
First, from the command line, take position one level above that folder.
Next, execute 'dir /x', and it will display 8.3 name of the folder (In case the long name is corrupt or unreadable).
Finally, execute 'rd /s /q name_of_the_folder' using 8.3 name displayed in last step.
I used this frequently to remove some corrupted data from the drive, but...
...if you can't execute chkdsk succesfully (during the boot, so I guess there is no spyware started yet), than there got to be something wrong with the hard drive and I reccomend that you replace it before you loose more important data.
You can do it with fresh install and then copy all of your data to new disk, or you can perform partition to partition copy (with Symantec Ghost or some other software).
0
Airwolf1679Commented:
Here's a thought.  Download a copy of a linux live cd - knoppix for example.  Then double click on your hard drive, go to the folder in question and delete it there.  Then restart.  If it works, great.  If not, let us know.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dalton1976Commented:
You can try to boot with your Xp cdrom, choose repair option on the first screen.

 then go to C:\documents and settings\your profile name\Favorites\

with the Del command the job can be done.
0
tanya_andreasenCommented:
Everyone should have a copy of Knoppix!
0
qz8dswCommented:
johnaaronwilsonjr,
Some feedback as to how things are going would be great.

Thanks,
Terry
0
johnaaronwilsonjrAuthor Commented:
I still have not been able to delete the "corrupt or unreadable" Favorites folder.

I have installed a new hard drive and copied the old drive to the new one.

The new drive boots without trying to run chkdsk so I guess the copy process did NOT copy the "Corrupt or unreadable" Favorites. The new drive was missing a few settings: email passwords, roboform registrations, etc. But is running OK.

I am still miffed at not being able to delete a file or folder that is corrupt in some way.

The old drive is unchanged and I have a Knoppix Live cd which is supposed to have read/write NTFS support. When I get it I will try to delete the Corrupt Favorites folder using it. I will let you know if it works.

Thanks to all,

John
0
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.