More Windows 7 corruption and repair woes

By apexwm, 24 August, 2011 15:02

Recently, we've been seeing a noticeable increase with Windows 7 and "repair mode" which is launched automatically at boot time. During this latest increase, Windows 7 will launch the automatic repair, which when the user attempts to allow it to repair, ends up failing and results in a boot loop where the repair mode comes up and Windows cannot boot into the regular shell any longer.

I grabbed a Windows 7 DVD with these latest occurrences, and tried to get Windows to repair itself, hoping to avoid a lot of user downtime, and maybe try and identify the cause of this latest increase. I do know that it is not caused by Windows updates, as WSUS is used and no updates have been released recently to the organization. I do have to admit the repair tools are very easy to follow, all completely wizard-driven, however seldom have I seen them actually work or fix the problem at hand.

In the latest cases, I tried booting the PC in Safe Mode as well, hoping that I can get into Windows to look around at the event logs. However even with that, the PC reboots itself just before the Windows shell would come up.

So, for now we've been faced with re-imaging PCs to get users back up and running quickly. This is much faster than re-installing Windows manually or trying to diagnose the list of error codes provided by Microsoft's tools. If Microsoft's own repair tools could simply fix the issue, it would be a huge time-saver as the system could be fixed within minutes, rather than hours that it takes to re-image a system and archive and restore user data. The problem is, I've rarely seen the Microsoft repair tools actually fix anything.

Before Windows apologists can comment on this post, I will provide the steps taken to attempt the offline repair on one of the sample PCs with this latest issue, to demonstrate whole hearted attempts to use Microsoft's repair tools.

1. Boot the Windows 7 DVD.
2. Select English language, and click Next.
3. Click "Repair your computer".
4. The repair tool searches for Windows installations, and shows the one present on the system.
5. Select the option "Use recovery tools that can help fix problems starting Windows" and click Next.
6. Next there are 5 options displayed: Startup Repair, System Restore, System Image Recovery, Windows Memory Diagnostic, Command Prompt. Since the issue at hand is a boot issue, I selected "Startup Repair".
7. The recovery tool says that it is searching for problems, then after about a minute, says "Startup Repair could not detect a problem".

But, there's an option for "View diagnostic and repair details", so I click that. I figure that there HAS to be something useful in the log. Well, the log is detailed. It shows the primary disk in the system and the partition, along with the tests performed which include: disk, OS, registry, and other volume information. Then at the bottom it says "Root cause found: Unspecified changes to system configuration might have caused the problem. Repair action: System files integrity check and repair. Result: Failed. Error code = 0x490. Time taken = 784575 ms." So, why can't the repair tools, actually repair something? Can't system files be copied from the source DVD and restored, without doing a full re-installation? Apparently not.

So, back to the main menu we go, and this time "System Restore" is tried. I click next and select the restore point from 6 days ago. A prompt came up, "Once started, the system restore cannot be interrupted. Do you want to continue?", and I select Yes. Immediately the main menu comes back up and a message pops up saying "Restoring files". After a couple of minutes of churning, the error comes up "System Restore did not complete successfully. Your computer's system files and settings were not changed. Details: An unspecified error occurred during System Restore. (0x800700b7)". Click "Close" and the system reboots itself. A minor annoyance, I just have to boot back into the recovery tools. Two other restore points were tried and the same error resulted.

So, after about an hour of messing around with a single PC, we are in the same boat and nothing accomplished. No cause has been found for this latest round of corruption and boot problems. This time as I mentioned above, is better spent re-imaging a new system. For those who say that Windows 7 has superior stability or is miles above XP, are only kidding themselves. Even after a year of deploying Windows 7 over XP, there is still little return on investment seen. In fact, I think there is still a deficit because of the resources used not only for troubleshooting ongoing Windows 7 problems, but for testing and re-purchasing incompatible applications.

In comparison, GNU/Linux has similar repair software that is used by booting the repair DVD for the distribution. It scans the installed packages and repairs as necessary. Since the Linux boot sequence is far less complex than Windows, the kernel can at least boot and get the user to a command prompt (in case X11 can't start), allowing for further troubleshooting of log files. Fortunately, I haven't needed to run a repair like this for GNU/Linux in a long long time. Corruption and repairs just aren't needed like they are in Windows. But, I'm guessing the latest GNU/Linux repair DVDs are very efficient at fixing issues, if any do come up. GNU/Linux keeps most everything at the filesystem level, and uses a very stable filesystem on top of that (EXT3/EXT4 commonly) which overall provides top notch stability as GNU/Linux is already well known for.

 

Talkback

Funny coincidence. I stopped in a shop in town on the way home today, and saw a brand new laptop sitting on the shelf doing exactly this - boot - fail - reboot - fail - reboot. Brand new. Still in the store. Still on the shelf. Conclusion? Windows is rubbish. Still. But we knew that already, didn't we?

jw
J.A. Watson 24 August, 2011 20:03
Report offensive content Reply


JW:

Thanks for the feedback and humorous story. And I have to admit, I'm not surprised that even a brand new PC with Windows doesn't run properly. As I mentioned before in another post, we've seen PCs that were installed with a fresh copy of Windows 7, start to behave with this boot loop problem about 2 weeks after they were put into use. 2 weeks! That's hardly any time at all. So far there have been several cases of this. In some cases, the problems went away like magic and Windows would boot up like normal, and other times it would be caught in an infinite reboot loop, just as you saw. And to top it off, I just posted an article recently about GNU/Linux running for 10 years on the original installation of the OS. Wow, what a difference.
apexwm 24 August, 2011 21:18
Edit Delete Report offensive content Reply


I can tell you based on experience and the symptoms that it's almost certainly a Windows Registry issue. The fact that neither a System Restore or a repair-from-disc works points to this; restore points are stored in the Registry(!) and, since the Registry is unique to each installation, the install DVD is of no use. I have found that ERUNT can be useful to back up and restore copies of the Registry—it might be useful in this case—in fact, I usually turn off System Restore once I use ERUNT.
Michael Rudas via Facebook 25 August, 2011 17:15
Report offensive content Reply


Michael Rudas :

I would have to agree with you that the registry may be at fault here. My point of the article was to again demonstrate that Microsoft's own tools are inadequate for fixing problems. You back this up by pointing out a 3rd party solution that picks up where Microsoft leaves off, which is typical for Microsoft software.

In fact, I find the documentation for ERUNT somewhat humorous in itself, when reading statements in it such as:

"And since the registry is quite sensitive to
corruption, it is very advisable to backup its according files from
time to time."

"In Windows NT and 2000, the registry is never backed up
automatically, and in XP it is backed up only as part of the bloated
and resource hogging System Restore program which cannot even be used
for a "restore" should a corrupted registry prevent Windows from
booting. It has also become impossible to copy the necessary files,
now called "hives" and usually named DEFAULT, SAM, SECURITY, SOFTWARE,
SYSTEM in the SYSTEM32\CONFIG folder, to another location because they
are all in use by the OS."

"Note: The "Export registry" function in Regedit is USELESS (!) for
making a complete backup of the registry. Neither does it export the
whole registry (for example, no information from the "SECURITY" hive
is saved), nor can the exported file be used later to replace the
current registry with the old one. Instead, if you re-import the file,
it is merged with the current registry without deleting anything that
has been added since the export, leaving you with an absolute mess of
old and new entries."

These statements only back up my previous points about Windows lacking tools, or providing tools that don't work. Microsoft could write a reliable registry backup utility that works in System Restore, but clearly they do not. And, I've pointed out on many occasions that the registry design itself is a single point of failure on top of the filesystem which is another single point of failure, therefore doubling the chance of failure on a Windows system. If you are right about a corrupt registry causing System Restore to malfunction, this provides yet another example of this. In GNU/Linux, there is no registry. Parameters and configs are kept in flat text files usually, allowing for a much more simplistic (and reliable) design. GNU/Linux keeps mostly everything at the filesystem level, and uses a very stable filesystem at that (EXT3/EXT4 typically), resulting in a very stable operating system as it is known.
apexwm 26 August, 2011 17:53
Edit Delete Report offensive content Reply


If Win7 was truly rubbish, whay aren't the more than 635 million licensed copies on PCs exhibiting the same problem? Our college has Win7 on about 1400 PCs without any problems. The problem you describe can be easily corrected by renoving the HD, attaching to another PC via USB adapter and running CHKDSK on it. The cause is a CRC error that is easily fixed that way in about 15-20 minutes. I hope this helps...
j2sh 31 August, 2011 15:38
Report offensive content Reply


j2sh :

As with most Windows problems, it doesn't always happen on every PC, but happens on a small percentage of them repeatedly. You mention 1400 PCs with Windows 7, do you oversee those PCs? I am curious as to how you are basing your conclusion of "1400 PCs without any problems". I find that a little far fetched. Simply doing an Internet search regarding the problems stated above, will result in a countless number of results, where you can see examples of others having the same exact issues all over.

"The cause is a CRC error that is easily fixed that way in about 15-20 minutes."

With this example, you've basically pointed out that the NTFS filesystem is unstable and needs repair. Why does this happen repeatedly, even on PCs that Windows was installed on, just weeks prior?
apexwm 31 August, 2011 18:34
Edit Delete Report offensive content Reply


As to the causes of Windows 7 going into an infinite boot - fail - reboot - fail - reboot loop, I experienced this problem on a friend's new computer and diagnosed the problem via a Live Linux disk - a duff hard drive.

So the computer went back to the manufacturer under warranty for a new drive. Of course I spent time recovering his masses of data with the said Live Linux disk; and subsequently applying all the updates, installing software all over again and reloading his data.

Not Windows 7 fault but very trying just the same, just a very few weeks after having done all that on his new purchase.
Moley 31 August, 2011 20:06
Report offensive content Reply


In my experience, Windows restore points aren't much use if anything goes seriously wrong.
The last time I tried it, after about 20 minutes it said it couldn't continue. That was it, no hint of what the problem was. Useless!
47674 1 September, 2011 19:05
Report offensive content Reply


Moley :
Thanks for the feedback. I too figured maybe the issue was due to a bad hard disk at first, however in every case of the issue here, simply re-imaging the PC fixed the issue and it was fine after that.

47674 :
I totally agree! Same exact issue here. So, now I know there are at least two of us that conclude that the System Restore fails to work as advertised :) Thanks for the comment.
apexwm 2 September, 2011 02:09
Edit Delete Report offensive content Reply