Cannot read corrupt file

petaylor

New member
Local time
10:12 AM
Messages
6
Location
Raleigh, NC
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
 
Last edited:

My Computer

Computer Manufacturer/Model Number
OEM
OS
Windows 7 Home Premium 64bit
CPU
Intel
Motherboard
AsRock
Memory
16GB
Graphics Card(s)
EVGA
Monitor(s) Displays
Sony
Hard Drives
WDC
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Professional 64 Bit SP1
CPU
Intel i7-3770K. Mild Overclock to 4.2 Ghz
Motherboard
ASUS Sabertooth Z77
Memory
Crucial Ballistix Sport 32GB DDR3-1600 (PC3-12800)
Graphics Card(s)
Intel 4000 - On CPU
Sound Card
On Board
Monitor(s) Displays
HP w2408h
Screen Resolution
1920 x 1200
Hard Drives
Samsung 840 Pro 256Gb SSD, --
Two - WDC WD1001FALS-00J7B0 SATA
PSU
Antec EarthWatts Green Series 650 Watt ATX
Case
Fractal Design Core 3000 ATX
Cooling
Corsair H80i Water Cooled
Keyboard
Logitech Illuminated
Mouse
Logitech Wireless Trackball M570 + Touchpad T650
Internet Speed
9.5 Mbps down - 25.4 Mbps upload
Antivirus
MSE
Browser
IE 10, Chrome
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Professional 64 Bit SP1
CPU
Intel i7-3770K. Mild Overclock to 4.2 Ghz
Motherboard
ASUS Sabertooth Z77
Memory
Crucial Ballistix Sport 32GB DDR3-1600 (PC3-12800)
Graphics Card(s)
Intel 4000 - On CPU
Sound Card
On Board
Monitor(s) Displays
HP w2408h
Screen Resolution
1920 x 1200
Hard Drives
Samsung 840 Pro 256Gb SSD, --
Two - WDC WD1001FALS-00J7B0 SATA
PSU
Antec EarthWatts Green Series 650 Watt ATX
Case
Fractal Design Core 3000 ATX
Cooling
Corsair H80i Water Cooled
Keyboard
Logitech Illuminated
Mouse
Logitech Wireless Trackball M570 + Touchpad T650
Internet Speed
9.5 Mbps down - 25.4 Mbps upload
Antivirus
MSE
Browser
IE 10, Chrome

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP Pavilion P7-1010
OS
Windows 7 Professional x64 Service Pack 1
CPU
AMD Athlon X4 645
Motherboard
Foxxcon N-Alvorix RS880
Memory
6GB DDR3 1066
Graphics Card(s)
Sapphire Radeon HD 5670 512MB GDDR5
Sound Card
Realtek Integrated Audio
Monitor(s) Displays
HP 2011x
Screen Resolution
1600x900
Hard Drives
1. Crucial M4 128GB SSD
2. 1TB Seagate Barracuda 7200.12 RPM
3. 1TB Western Digital Caviar Green 5400RPM
PSU
Seasonic S12 II Bronze 380 Watt
Case
HP OEM
Cooling
Coolermaster Heatsink, AVC Case Fan
Keyboard
HP OEM- Made by Chicony
Mouse
HP OEM- Made by Logitech
Internet Speed
20MBit Down/4 Up
Antivirus
Microsoft Security Essentials
Browser
Internet Explorer 10
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 Computer

Computer Manufacturer/Model Number
OEM
OS
Windows 7 Home Premium 64bit
CPU
Intel
Motherboard
AsRock
Memory
16GB
Graphics Card(s)
EVGA
Monitor(s) Displays
Sony
Hard Drives
WDC
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 Computer

Computer Manufacturer/Model Number
OEM
OS
Windows 7 Home Premium 64bit
CPU
Intel
Motherboard
AsRock
Memory
16GB
Graphics Card(s)
EVGA
Monitor(s) Displays
Sony
Hard Drives
WDC
Back
Top