Welcome to MSDN Blogs Sign in | Join | Help

Syndication

Tags

    No tags have been created or used yet.
Using Startup Repair to repair a boot failure due to a missing file

In this post, we describe how to use Startup Repair to repair a missing file that is preventing Windows Vista from booting. The goal is to familiarize yourself with Startup Repair so that you can use it when you or your customers need it. We really hope no one will need to use it :); but if you do, this knowledge might come handy.

Warning: Try this at your own risk. If things don't work as planned, you might not be able to boot into your Vista installation or might even loose your data.

Preparation: Before we try to make Vista unbootable, please make sure that your machine has a good restore point. The restore point is not needed for file repair, but would be useful if things go wrong. To create a restore point: search for System Restore in the search box from Vista's Start button --> click on "open system protection" --> click Create. And then follow the instructions to create a restore point.

Making Vista unbootable: To demonstrate how to use Startup Repair to repair a file we will move the %windir%\system32\winload.exe file, which is a must have for booting Vista. We cannot easily delete this file from Vista itself, so we'll use Windows RE to delete it, as follows:

  1. Boot into Vista installation DVD
  2. Choose your language settings and click Next
  3. Click Repair your computer
  4. Choose your operating system and click Next. This should bring up System Recovery Options
  5. Click on Command Prompt

Once on the command prompt move the winload.exe file from your Vista installation. For example, if Vista is installed on C: run, move C:\Windows\System32\winload.exe C:\Windows\System32\winload.exe.backup.

Now restart your computer using the Restart button on System Recovery Options.

Your Vista should now fail to boot! It should instruct you to use "Repair your computer" from the Vista installation disc.

Repairing your computer: To repair your computer using Startup Repair follow these steps:

  1. Boot into Vista installation DVD
  2. Choose your language settings and click Next
  3. Click Repair your computer
  4. Choose your operating system and click Next. This should bring up System Recovery Options.
  5. Click on Startup Repair

Startup Repair should now start diagnosing your system to identify the root cause of the failure. Once it has identified the root cause, it would automatically start repairing your computer. If you are curious to know what Startup Repair did, you can click on the details link and see which tests Startup Repair ran to diagnose the problem.

After Startup Repair has finished the repairs, click Finish to reboot your computer.

Your computer should now be able to boot normally into Vista!!

Note -- If your computer cannot boot into Vista even after repairs, then go back to System Recovery Options and run System Restore.

That's it! This is how you use Startup Repair for most unbootable situations.

-Parveen

Published Wednesday, September 20, 2006 6:32 PM by WinRE

Comments

# re: Using Startup Repair to repair a boot failure due to a missing file @ Tuesday, February 13, 2007 1:20 AM

How about if the Windows Vista install DVD is not available?  How can I install the standard WinRE to the HDD without having to do some advanced OEM tasks?  In WinXP it was a simple run command that started up Windows Setup and added it to boot.ini.  This is extremely frustrating because I need to access Startup Repair and I don't have the RAID controllers for this laptop.  Windows Vista is advertised as having advanced repair options, but it requires them to be installed at OEM.

Please reply to this comment as I'm subscribed to email alerts.

Thank you,

@Matthew

matthewsoft

# re: Using Startup Repair to repair a boot failure due to a missing file @ Thursday, May 31, 2007 5:46 PM

1) While I appreciate your efforts with Win RE and Startp Repair you made a drastic mistake in misnaming Startup Repair. It can be used to fix many broken components of Vista where there is not a Vista no-start issue but you have confused your end users in the thousands with the name.

2) As has been pointed out before, your OEM VP Scott Di Valerio has twisted the arms of the 300 OEM named partners like Sony, HP contracturally forbidding them to ship a Vista DVD and so, they don't have any access to the panopoly of Win RE tools.

To me this is unethical if not illegal, because you deny people viable ways to recover Vista including to use the DVD for a repair install, one of the tools for fixing Vista no boots and systemically damaged Vista that boots.  A repair install or inplace upgrade works in Vista.

hklm

Anonymous comments are disabled
Page view tracker