Here are some troubleshooting steps to try before using Repair Your Computer:
- Last Known Good Configuration often solves booting and stability problems after installing software, drivers, or messing with Registry entries.
- Always boot to Safe Mode at least once - this often repairs corrupted file system and essential system files.
- If Windows is able to boot, use System File Checker and icacls.exe to repair corrupted system files.
- While Windows is running, use free WhoCrashed for determining BSOD (Blue Screen Of Death) causes.
Also, Reliability Monitor might reveal faulty drivers or software.
- System Restore can help reverting back to a state when your computer was running normally.
When Windows is not able to start even in Safe Mode, then most probably there are some errors or missing files on your hard disk that prevent Windows Vista or 7 from starting correctly.
Repair Your Computer is a set of tools for recovering from Windows such errors and it is available on Windows installation DVD. Windows 7 users can also create a System Repair Disc, or borrow one from friends - as long as the hardware architecture (32-bit/x86 or 64-bit/x64) matches.
Windows 7 user might be able to launch Repair Your Computer or Startup Repair from a hidden system partition. The two options are described later in this article.
You can also download Windows 7 Professional (with Service Pack 1) installation DVD from DigitalRiver (64-bit / x64 edition or 32-bit / x86 edition) using your friend's computer and burn the ISO image to DVD with Windows 7 Disc Image Burner or CDBurnerXP. But do not use the disc for fixing Windows Vista installations!
If you do not have the disc (a common case for computers that have Windows Vista or 7 pre-installed) and your friends do not have a matching one either, you can use my Data Recovery CD/USB for fixing errors on disk or repairing Master Boot Records (MBR), but other options of Repair Your Computer are unavailable.
Do not use Windows 7 DVD for repairing Windows Vista installations, or vice versa! You can only use the Command Prompt option on the disc to fix file system errors.
If you can borrow a correct Windows installation DVD from a friend, make sure you get the right version: you can only use 32-bit Windows disc for repairing 32-bit Windows installations and 64-bit Windows disc for fixing 64-bit Windows installations!
Windows 7 users can run Repair Your Computer or Startup Repair from a special hidden partition on hard disk.
1. Launch Startup Repair offered at computer startup
The Launch Startup Repair option is offered automatically after Windows 7 detects that it failed to start the last time. If the failure happened just once due to power failure during Windows startup, you can ignore the offer by pressing Arrow Down key on your keyboard to select Start Windows Normally instead and then pressing Enter key.
Otherwise, you should use Launch Startup Repair (recommended) option.
Move to Startup Repair section.
2. Repair your computer in Windows 7 Advanced Boot Options menu
To access the whole set of recovery tools without using the Windows 7 installation DVD or System Repair Disc, you need to open Advanced Boot Options menu right before Windows 7 starts. After you power on your computer, you might see some full-screen logo or black screen with gray texts such as "AMI", "Intel", "Testing Memory", "Hard disk", etc. Press F8 key on your keyboard repeatedly right after you see such screen disappear. This will open Windows 7 Advanced Boot Options menu. If you see the Select Boot Device menu instead, press Esc key to hide it and then press F8 key again a few times.
Use arrow keys on your keyboard to select Repair Your Computer and press Enter key to confirm your selection.
Read on for detailed instructions on using the tools.
If your computer does not boot from DVD, read the Computer boot order on how to change boot order.
After you boot your computer using Windows DVD or System Repair Disc, a black screen appears with gray text "Press any key to boot from CD or DVD". Press some key on your keyboard (Space and Enter are the most common ones ) within 5 seconds to launch Windows from the disc.
Windows will load some files from the disc, this takes time.
If using Windows Vista/7 installation DVD, Install Windows dialog appears. Select your preferred settings from Time and currency format and Keyboard or input method boxes. I suggest you leave Language to "English" here to better understand this article.
If using Windows Vista/7 System Repair Disc, System Recovery Options dialog appears instead. Here you can only select the appropriate keyboard layout.
Click Next to continue.
Windows installation media users will see a big tempting Install now button. Do not click it! Click Repair your computer in the lower left corner instead.
System Repair Disc skips this step and continues with looking for Windows installations.
Recovery environment will then look for present installation(s) on hard disks. This might take up to a few minutes.
Click Next after the correct installation has been detected. If you have multiple versions of Windows installed, click the one that is broken.
If you see nothing listed here, your computer has a disk controller that Windows Vista or 7 is not able to detect by default. Click Load drivers, insert the CD, floppy disk or DVD that came with your computer or disk controller and load appropriate drivers from there. Your Windows installation will then be located.
If you have several user accounts on the computer, you might have to log on using the account that has administrative rights. Select an administrator's user name and enter the password.
System Recovery Options window then appears with the list of available recovery tools. The tools are almost identically named in Windows Vista and 7.
Let's see an overview of the tools next.
Please note that if you are using a wrong media here - e.g. Windows Vista installation DVD on Windows 7 PC, or 32-bit version of System Repair Disc on 64-bit Windows - you are able to use the Command Prompt option only. While the other options are not disabled in the list, using these end with error messages and might damage your broken Windows installation even more.
The very first option to try in case Windows is unable to boot is the Startup Repair (see the two pictures above). Startup Repair will check the condition of your hard disk and see if files needed to launch Windows are present. The process takes several minutes to half an hour.
If a problem is found, Startup Repair will try to fix it. This usually takes a few minutes for minor problems, but sometimes the repairs might last for up to half an hour.
In case problems were fixed successfully, Startup Repair offers to restart your computer immediately to see if your Windows starts normally now. Often it does!
In rare cases, Startup Repairs launches again automatically and does some more fixing. Let it finish its job and Windows should start normally after the next restart.
In case Startup Repair was unable to locate or repair problems, you will see one of the following screens. You can click Finish to close Startup Repair and then try some other method of restoring. Or you can click View advanced options for system recovery and support to return to the list of recovery tools.
After an unsuccessful repair of Windows 7, Startup Repair suggests using System Restore for fixing your computer. If Startup Repair was your first step in fixing Windows 7 problems, I suggest you click Cancel here and try other recovery tools first.
If you've tried all other tools already, click Restore button. Please remember that this System Restore operation cannot be undone - while you will not lose your documents, e-mails, pictures, videos and other personal data, some programs might be removed during the operation. Read this tutorial about System Restore for detailed instructions.
After clicking Cancel, Microsoft asks to send some information about the problem to their servers to help creating solutions for such situations. This will not send your personal information to Microsoft, just data about your computer configuration and problems not repaired.
If you are really concerned about your privacy, click Don't Send. If you would like to help Microsoft a bit, click Send information about this problem (recommended).
Step 1.1 (optional) - use Command Prompt for fixing disk errors and restoring missing system files
If you do not have the correct Windows installation/System Repair media, but you still need to check for and fix errors on disks, click Command Prompt in the list.
A black Command Prompt window opens on drive X. The X: is a special temporary disk created entirely in the Random Access Memory (RAM) of your PC. No hard disk space is used for this drive.
First, we need to locate the drive where Windows is installed. Most probably this is a drive with letter C, D, E or F.
Type echo list volume | diskpart and press ENTER. This will display all drives available.
Ignore all volumes that have CD-ROM for Type.
The volume that has "System Rese" (part of "System Reserved") written in Label column, can also be ignored - this is the recovery partition. Such partitions are usually small in size - about 100 megabytes. Not all computers have the recovery partition.
So, in the example above, the Windows 7 partition has drive letter D (note the Ltr column). You can also use the Size column for verifying that you have located the correct one.
Now type chkdsk <the drive letter>: /F /X and press Enter. Replace <the drive letter> with the letter of drive where Windows is installed (or the drive that has files badly messed up), for example chkdsk d: /F /X or chkdsk c: /F /X.
This command will find and repair errors on the partition/volume (the /F switch) and if required, unmount it first (the /X switch).
If you want to run a full disk check with recovering data from unreadable clusters, use the chkdsk <the drive letter>: /R /X command instead. Note that the exhaustive test might take several hours to complete.
The process might take quite a while (up to an hour). After it is completed, verify that there is a line stating "Windows has checked the file system and found no problems" in the report. If there were errors on the volume, repeat the last command until the no problems message appears.
Ignore any failure messages about event log.
If there were errors detected and repaired, close Command Prompt window and then click Restart in the System Recovery Options menu and try starting Windows normally and see if the problem has been solved. If no disk errors were found, read on.
You can also try restoring missing system files using the SFC (System File Checker) tool. This is useful in cases where Windows boots up, but all you see is black screen with mouse pointer and keyboard shortcut Ctrl+Alt+Del does nothing.
Type sfc /scannow and press Enter. Let the scan finish, it will take about half an hour.
If you see the error message "There is a system repair pending which requires reboot to complete. Restart Windows and run sfc again.", use alternative command sfc /scannow /offbootdir=C:\ /offwindir=D:\Windows\ (replace D:\Windows\ with the correct drive letter or folder name if required).
Close Command Prompt window and and click Restart button to see if this helped to get your PC running correctly again.
If Startup Repair did not solve your problems, and you have not used free Memtest86+ for checking if your computer's memory modules are fine, try Windows Memory Diagnostic. This will ensure that Random Access Memory (RAM) modules do not cause computer problems. A faulty module is the most common reason for software crashes and lockups.
Please note that this check will take at least 30-40 minutes to complete.
Click Restart now and check for problems (recommended) in Windows Memory Diagnostic dialog.
After your computer restarts, Windows Memory Diagnostics Tool will launch automatically. The test will easily take 40 or minutes. If your computer reboots or stops responding during the test, you should replace memory modules in your computer. Consult the computer reseller and the manual that came with your computer for this.
Check the Status column from time to time. If it says "No problems have been detected yet", your computer's memory is working fine.
After the lengthy test is complete, your computer will restart. In case the Status was "No problems..." before the restart, you should boot from Windows DVD or System Repair Disc again and return to Repair your computer tools.
In case Windows Memory Diagnostic detected problems in memory modules, you should replace memory modules in your computer as soon as possible - the faulty module(s) can easily recreate the problems and in the long run you will definitely experience data loss! Consult the computer reseller or the manual that came with your computer for replacement of memory modules.
Do not use your computer or try other recovery options until the memory modules have been replaced!
The next step is to try System Restore from System Recovery Options menu. This works only while using the correct Windows installation or System Repair disc. Using Windows 7 media on Windows Vista installation (or vice versa) ends with an error message about no available Restore Points.
Please note that this System Restore cannot be undone (but you can still choose another Restore Point later). While you will not lose any of your documents, pictures, videos, e-mails, etc, all programs installed after the selected Restore Point will be deleted. You will have to reinstall these.
Read detailed instructions on using System Restore in this article.
Step 4 - other options
In case nothing helped, you must restore the disk image backup of your computer. You do have a backup, don't you?
- If you are using Windows Vista or 7 built-in backup, you can click Windows Complete PC Restore or System Image Recovery in System Recovery Options menu and try restoring a disk image backup. Detailed instructions on Windows 7 System Image Recovery are available in this article.
- If you are using EaseUS Todo Backup Free, read this article about restoring disk image using bootable emergency disc.
In case you do not have a backup, you can use my Data Recovery CD/USB or Puppy Linux to copy your documents, pictures, videos, music, etc to a flash drive or external hard disk. After copying is complete, reinstall Windows and all programs, copy your rescued files back to your computer and do start making regular backups this time.