Cannot delete corrupted directory

I have a few data directories on my server that have become corrupt (I believe because they were corrupted on the backup tape I restored them from).  I need to delete them, but can't seem to find a way to do that.  Chkdsk doesn't help, and I've tried using KillBox, but it will not run on Server 2003.

Any ideas?
Tim StutzmanERP ManagerAsked:
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.

patrvicCommented:
have you tried ntdsutil? I think you type it at the comnd prompt...


0
Tim StutzmanERP ManagerAuthor Commented:
I ran "ntdsutil help" from the command prompt and it didn't show anything to do with deleting files or repairing corrupted ones... Can you explain further how I would utilize this application?
0
SysExpertCommented:
have you tried the RD command in a DOS box ?


I hope this helps !
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tim StutzmanERP ManagerAuthor Commented:
Just tried RD, and it says "The directory is not empty".  I cannot access the directory to empty it because it is corrupted...

If in the CMD prompt, I get into the corrupted directory and call "dir", it says "File Not Found".  In Windows, it just refuses to go inside the folder.
0
SysExpertCommented:
try deltree

0
patrvicCommented:
You might want to check here

http://support.microsoft.com/kb/216498
0
Jessie Gill, CISSPTechnical ArchitectCommented:
does it tell you the directory or file is in use?  if so it is file locked and jsut restart in safe mode to kill it.

what error message do you get when you try to get into teh directory
0
Tim StutzmanERP ManagerAuthor Commented:
@SysExpert:  deltree is no longer in use for Windows 2000 and on.  RD is the new removal tool, and even with the switchs /S and /Q, it still says "The directory is not empty." when I try to delete the directory.

@patrvic:  I failed to find anything useful or pertaining to my situation in that article.  Did you have something specific in mind from it?

@jessiepak:  It does not say the directory is in use.  It says it is corrupted.  Since this is a server, I'd like to keep restarts to a minimum, as I can only restart it at night.  I will restart if necessary, but only if it means a for sure fix.
0
SysExpertCommented:
You need to run chkdsk again, since it is supposed to fix all directory corruption.

It may require a reboot for chkdsk to run in DOS mode as part of the reboot process.

If it can't then you may be SOL.

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
Tim StutzmanERP ManagerAuthor Commented:
It appears that a second run of chkdsk fixed the problem... I'm quite surprised that the first run didn't work but a second run did.  Anyway, thanks for the help all!
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
Windows Server 2003

From novice to tech pro — start learning today.