Share via

Problems with Large Files (multi-gigabyte)

Anonymous
2012-04-19T19:54:48+00:00

First, thanks to anyone who reads this. My issue is not trivial and is explained in depth.

I'm using Windows 7 Ultimate 64-bit, and my problem applies to that system.

This problem is stumping me but I've been able to gather evidence of the onset of the problem, an experiment which is repeatable. It seems either Windows Update and/or MSE delivers a payload that interferes with proper access to large files the first time they access the Internet and transfer any data.

(1) First: Signs of a problem

I had problems with a program that stores data in its program directory using the zip format. Integrity checks of the files would fail (the program internally computes some sort of hash or checksum). Since the files were large I decided to test this issue.

(2) Second: Test preparation on a different computer (Windows XP 32-bit)

I made a large zip file on another computer (about 3.8GB) and computed its MD5 hash. I tested the integrity of the zip file and everything extracted okay. I burned the file to a DVD, and computed the hash of the file on the DVD (it matched the previous hash of the file on the disk drive).

(3) Third: Testing MD5 file hashes on Windows 7

I took the DVD to the Windows 7 computer and computed the MD5 hash of the file on the DVD. It was different. Interestingly, on each reboot of the computer, the computed MD5 would change. When trying to extract the zip file, Windows own zip handler would encounter problems, WinZip would indicate CRC errors, and WinRar would error as well.

(4) Fourth: Safe mode and diagnostic Startup

When booting into safe mode, MD5 hashes on large files compare exactly to the computed hashes on the Windows XP 32-bit machine. In Diagnostic startup, the problem returns. (I have boot logs of the two modes and can post them if that helps).I can't see any difference that stands out and I'm thinking maybe, just as a matter of fact, more is being loaded than what's reported in the boot logs.

(5) Fifth: The onset of the problem on a clean installation

I reinstalled the operating system several times, each time zeroing out my disks before installation. I have successfully repeated the onset of the problem to occur when Windows Update and/or MSE access the Internet for the first time. The problem occurred after Windows Update alerted me to pending updates for the first time (notification but no download) and when MSE downloaded its first set of new definitions. These things happened concurrently. I'm in the process of trying to isolate this issue further.

Note: Before I connected to the Internet for the first time, I installed MSE and download the "standalone" definitions manually on another computer and transferred them to the Windows 7 machine and installed the definitions. This after this, MD5 hashes computed fine, it was only after Windows Update and MSE access the Internet and downloaded data that the problem occurred.

 (6) Sixth: Other Info

Using the Command Prompt to copy a large file from a DVD to the hard disk of the affected computer the line "copy largfile.ext c: /v" returns with "ERROR Verify - c:largefile.ext", and "1 file(s) copied." Through Windows Explorer, a copy operation throws no errors. THIS PROBLEM HAPPENS WITH ANY LARGE FILE I TEST NOT JUST ZIP FILES. I'm not sure where the boundary is in file size that this problem occurs. It's not clear to me that the files are actually corrupted as when I copied large zip files files from my Windows 7 machine to an external drive for backup, and checked those files on another computer, the zip files were fine. I think something is intercepting "correct" access to the large files.

(7) Seventh: When did the problem first happen

I started noticing issues about 3 to 4 weeks ago.

(8) Eight: Another test

This testing has consumed a lot of time. Now that I have a repeatable issue, I'm going to disable the Windows Update Service before I connect to the Internet for the first time, after reinstalling, and see if I can narrow the behavior specifically to either Windows Update or MSE. It may be that KB2533552 could help, I’m not sure. Testing takes a lot of time. Something like “Windows7FirewallControl” may help isolate MSE and Windows Update until this issue is resolved.


I think this is a serious issue as any program that uses integrity checks on large files would be affected. And, anyone wishing to use large archives that perform integrity checks, like zip files, would be affected too -- assuming my experience is not an isolated incident. I believe it is not, as a search over the Internet shows problems with large zip files in an ongoing issue.

Any help would be appreciated.

Best Regards,

Davis

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

15 answers

Sort by: Most helpful
  1. Anonymous
    2012-04-20T22:11:33+00:00

    What was the process for creating the clean DVD install of Windows 7.

    In Windows 7 use Ctrl+Shift+Esc rather than Ctrl+Alt+Del. It gets you to Task Manager quicker. When the computer locks select Task Manager, the Performance tab, Resource Monitor, and Memory tab. What are the figures for Hardware Reserved, In Use, Modified, Standby and Free?

    How much RAM is installed?

    0 comments No comments
  2. Anonymous
    2012-04-20T22:08:29+00:00

    Hi, my system drive is formatted with NTFS (2x500GB RAID 0) and I have a third drive, also formatted with NTFS, on which I store a backup of a clean DVD install of Windows 7 (made with no connection to the Internet). The clean install doesn't have any problem producing consisent MD5 hashes for large files.

    Best Regard, Davis

    0 comments No comments
  3. Anonymous
    2012-04-20T22:02:54+00:00

    Hi Deepak,

    Thanks for responding! My "test bed" starts with a clean install from the Windows 7 retail DVD with no connection to the Internet. After the installation, I made an image of my disc using Windows 7 backup. I use this back up to restore my installation each time the system is no longer able to compute consistent MD5 hashes for large files. (I use the System Repair disc + the backup).

    During the course of testing, once I found that the problem occurs after connecting to the Internet for the first time, then I began testing with (1) the clean retail DVD install as well as (2) the clean retail DVD install + Windows 7 SP1 (applied using a DVD created from the downloadable SP1 iso, which was created on another computer, so as not to connect to the Internet with the computer in question).

    The thing is the problem happens before selecting any patches to install from Window Update. By the time I'm connected to the Internet and simply notified of updates, the problem with incorrect MD5 hashes surfaces at some point.

    So I'm testing now to see if the problem comes right after my computer makes its first contact with Windows Update or if a reboot is required after first contact with Windows Update for the problem to surface. And I'm also testing first contact with MSE definition updates or first contact plus a reboot.

    At this time I don't think the problem is necessarily any update in particular.

    Still testing, will get back.

    Best Regards, Davis

    0 comments No comments
  4. Anonymous
    2012-04-20T18:41:24+00:00

    With what file system is the drive / partition formatted?

    0 comments No comments
  5. Anonymous
    2012-04-20T18:29:17+00:00

    Hi,

    Go back to the point before the problem started after you reinstalled the operating system using the system restore and install the updates one at a time to identify the conflict and let us know which update caused the issue.

    Refer the steps in the site mentioned below for steps to perform system restore:

    http://windows.microsoft.com/en-US/windows7/products/features/system-restore.

    0 comments No comments