Learn how to a build a cloud-first strategyRegister Now


Corrupted file in Server 2003

Posted on 2011-10-11
Medium Priority
Last Modified: 2012-05-12
I have a Server 2003 (used for file sharing) where the domain controller died on me and of course the server shut down improperly.

Now everything I try to go log in, I see an error message of a corrupted file.

The file that is corrupted is the ~$dit.doc file, and I do not need it but I cannot delete it.

Can someone provide me a way to remove the file without any downtime?!

Please look at the attached image
Question by:George Zarif
LVL 23

Assisted Solution

TheCleaner earned 664 total points
ID: 36949751
There's a KB article on this, but the resolution isn't something someone wants to do:  http://support.microsoft.com/kb/246026

Try tools like "Unlocker" - http://www.filehippo.com/download_unlocker/

You might also try running SFC /checknow and then try running chkdsk.

There's also UBCD and running its tools like TestDisk....but be careful.

BTW, as always make sure you have a backup of everything first.  Just like the KB article suggests, hopefully you have a known good backup from before this went belly up.
LVL 88

Accepted Solution

rindi earned 668 total points
ID: 36949757
Try booting to safemode or safemode with command prompt only. Then run chkdsk /x on all drive letters.
LVL 23

Expert Comment

ID: 36949810
True...like rindi said try that first (despite your no downtime request).

See here: (but use the /x parameter as rindi suggested, not /f only)
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

LVL 26

Expert Comment

ID: 36950394
What error do you get when you try to delete it?

Author Comment

by:George Zarif
ID: 36950620
I have attached a jpg of the error I am getting when I try to delete it.
LVL 26

Assisted Solution

MidnightOne earned 668 total points
ID: 36950668
No way around it - you're going to have to do a chkdsk on  the D: drive.

On the upside, if there's no systems files on the D: drive (e.g., a pagefile's not there) you can run CHKDSK without rebooting the server and taking it entirely offline.

I'd recommend the following:
Get a backup of the D: drive in its entirety
From an elevated command prompt, run CHKDSK D: /X/F/V
See what gets corrected and what the errors are.

Also, check the event logs to determine if there's drive errors as well; it's possible that's the root cause - a drive going south.

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question