Last night I had a BSOD a couple of minutes after moving a file. After a reboot, I found that the file was gone (it was deleted from the source partition and not present on the destination).

I took an image of the source volume (ie from the Boot Sector to the last cluster of the partition). Then I wrote a program to extract the unused clusters from a disk and save them as files.

Some of the free clusters on the original volume have now been overwritten so I need to use the image to do my final extraction. That means I need some software that can mount a volume/partition image, but all of the image mounting software I can find can only mount disk images (ie from the MBR—the master partition table—on).

Does anyone know of (hopefully free) Windows software that can do this?

I’ve already tried (without success): VirtualCloneDrive, DaemonTools, VirtualFloppyDrive (and probably a couple of others I can’t think of). They all either nag that the file is no good, or try to mount it, resulting in a disk that Windows complains has an unknown/corrupt filesystem.

Thanks.


Question: Trigger IP ban based on request of given file?
Answer: The PHP code that John Conde posted does not work. It replaces the entire .htaccess file as an undesirable result. The PHP below would be a good replacement for his PHP and I have tested it.

&lt;?php      
    $ipdeny = 'deny from  ' . $_SERVER['REMOTE_ADDR'];
    file_put_contents('.htaccess', $ipdeny . PHP_EOL, FILE_APPEND);
?&gt;