Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cannot read corrupt file


16 May 2012   #1

Windows 7 Home Premium 64bit
 
 
Cannot read corrupt file

For what ever reason, I have a file on my 1TB WDC drive:

D:\users\user_name\documents\xxxxx.pdf

that upon trying to open it, I receive a message that the file is corrupt.

I have looked high and low trying to find a way to DELETE this file, but to no avail. There's lot of references about running CHKDSK to check the drive, running FSUTIL to query the dirty bit (which is set on this drive, because of this file), and using CHKDSK to clear the dirty-bit. And, I tried them all. This, however, is NOT a hard drive issue. The drive is fine. It's the file structure that is in error. I just need a solution that will let me DELETE the file. I don't want recover it.

Here's what I'm trying:
1. Use Paragon-Software Hard Disk Manager 12 to copy the hard drive to another drive. The second drive is large enough to hold all the data from the larger drive.
2. Check the file on the drive copy... (yep, it's there... yep, it's corrupt... yep, the dirty-bit is on)
3. Create a filter in Paragon-Software HDM12 for that specific file.
4. Run the disk copy again using the filter.
5. Check the file on the drive copy... (this time the file is not there and the dirty bit is not set)

Having done this, I think I'm ready to copy the hard drive back. I just haven't pulled the trigger. I want to recable the drives to use the copy just to make sure I can reach everything. Then, I'll pull the trigger.

If there's a better way that I can do this, I'd love to hear it.

Ed

My System SpecsSystem Spec
.

16 May 2012   #2

Windows 7 Professional 64 Bit SP1
 
 

If you right-click on the .pdf file > properties>security tab, can you set permissions for this file or take ownership? If so, you should be able to delete it after gaining control of the file.

If it is so corrupt that you can't do that, someone else on the forum may be able to help.
My System SpecsSystem Spec
16 May 2012   #3

Windows 8 Core X64
 
 

Sounds like you have a working solution, so try this.

Open an Elevated Command Prompt
Type echo xxxxxxxx > D:\users\user_name\documents\xxxxx.pdf and press Enter.

Or .. can you move the file to another location, like a flash drive, then format the flash drive?



My System SpecsSystem Spec
.


16 May 2012   #4

Windows 7 Professional 64 Bit SP1
 
 

Quote   Quote: Originally Posted by Ztruker View Post
Sounds like you have a working solution, so try this.

Open an Elevated Command Prompt
Type echo xxxxxxxx > D:\users\user_name\documents\xxxxx.pdf and press Enter.

Or .. can you move the file to another location, like a flash drive, then format the flash drive?



Good suggestions!
My System SpecsSystem Spec
16 May 2012   #5

Windows 7 Professional x64 Service Pack 1
 
 

Install this: Take Ownership Shortcut
Next, right click on the file and select "Take Ownership" and then, try to delete the file.
My System SpecsSystem Spec
17 May 2012   #6

Windows 7 Home Premium 64bit
 
 

Thanks for all the suggestions.

I should really have called this "Cannot delete a corrupt file", because I don't want to read it. I just want to delete it. My account has administrator authority, but the file does have another person (my wife) as the owner. I dont' think ownership is the issue in this case, because I was ble to delete all the other files in this specific folder, of hers. This one file is the only one that's left.

I'll give the suggestions a go and report the results.
My System SpecsSystem Spec
01 Jun 2012   #7

Windows 7 Home Premium 64bit
 
 

After trying various ways to delete this file, such as deleting from an elevated command prompt, using the system repair disc and the command prompt there, and more, and running chkdsk /f /r d: again and again... none of which worked... I finally got this issue resolved.

The short version is that I used the Paragon HDM12 Disk Copy functnion to copy the bad d: drive to a smaller e: drive filtering out the problem file. I had to reboot and recable a few times to make the bad d: drive another letter, so that I could have both drives mounted at the same time. Then, I used Paragon HDM12 Disk Copy to copy the "now good" d: drive to the old d: drive mounted as e:. Again, I had to reboot and recable a few times to make the smaller d: drive the e: drive, so that I could have both drives mounted at the same time, as they were originally. I chedked the system out and am able to get to everything.... without running into a "corrupt file" issue or the dreaded "dirty bit".

Can anyone confirm whether or not there are other software products that allow a disk copy from one drive to a smaller drive, as long as the data can fit on it, like Paragon's HDM12. I tired O&O and Acronis demo products, but it didn't look like they do.
My System SpecsSystem Spec
Reply

 Cannot read corrupt file




Thread Tools



Similar help and support threads for2: Cannot read corrupt file
Thread Forum
Which file is corrupt? BSOD Help and Support
Help required creating batch file to read .csv file General Discussion
Solved User account corrupt? Docs read only, can't open Firefox & Live Mail General Discussion
Corrupt Mouse file? Hardware & Devices
Solved Corrupt CBS file General Discussion
Corrupt File General Discussion
is this file corrupt? BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:21 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33