Tip: keyboard shortcut Ctrl+F searches in the page contents
Last modified: 2012-04-20 22:04:27 EEST
No operating system is bulletproof. Many things can go wrong - sometimes files go messy on hard drive after a power failure, sometimes a bad software or driver installation causes trouble, sometimes user deletes something important, etc.
This section will cover the most annoying problem - Windows will not start. The remedy may be as simple as pressing a few keys on keyboard or it may even take hours of non-destructive reinstallation.
For other kind of problems, such as CD-s not playing, videos choppy, printer not working, etc, visit Microsoft Fix it Solution Center that easily automates troubleshooting.
Windows 8 drastically changed troubleshooting - Last Known Good Configuration, Safe Mode and Low-resolution (VGA) mode are not available. Neither is Advanced Boot Menu that was previously accessible using the F8 key during boot. On the other hand, Windows 8 is able to run Automatic Repair by itself if it detects problems while booting. Windows 8 also brings Refresh your PC and Reset your PC options that help to perform an almost non-destructive reinstallation, or remove your personal data safely and revert Windows 8 to its default state.
Try testing your computer's memory with Memtest86+ first. It doesn't help much when you spend hours fixing your Windows and then a defective memory module ruins the whole thing again. And believe me, defective memory is often the root of all evil when your Windows does not start, or acts erratically.
While in Safe Mode (only in Windows XP, Vista and 7), always check for error and warning events in Event Viewer, this might help a lot. Ignore typical Safe Mode events such as DCOM "This service cannot be started in Safe Mode" (Event ID 10005) and events with ID 7001. These events happen because Safe Mode starts only essential services to help fighting malware or stop problematic programs from loading.
In Windows 7 you should create a bootable System Repair Disc (CD or DVD) to access troubleshooting tools easily. Windows 8 includes both CD/DVD and USB version of this, entitled Recovery Drive.
If you need to boot from a CD, USB drive or floppy, see the Computer boot order article for instructions on how to change computer's boot order.
In case your Windows is able to start and you can log in successfully, you should try running System File Checker first. This program verifies that files required to run Windows are in tact and if neccessary, replaces damaged, missing or malware-modified files.
Please note that System File Checker is not able to run in Windows' Safe Mode.
Windows XP users need the Windows CD that came in product box or with the computer. You can use friend's CD here, but make sure it matches the version of your Windows XP - do not use Windows XP Home CD-s for repairing Windows XP Professional installations and vice versa. Do I need to say that you cannot use Windows Vista or 7 DVD-s for repairing Windows XP files? 
Windows Vista and 7 have a special folder where required files are cached, so the installation DVD is not usually required.
In Windows XP, open Run dialog using keyboard shortcut Windows Key+R or by opening Start menu and clicking Run. Type cmd and click OK.
In Windows Vista and 7, open Start menu and type cmd into Search box. Right-click cmd.exe (or cmd if you have file extensions hidden) and select Run as administrator. This will open so-called elevated command prompt.

Windows Vista and 7 users will have lucky chance to meet User Account Control. Click Continue or Yes here.
Now, in the black Command Processor window, type sfc /scannow and press Enter key to run the command.
In Windows XP, a separate Windows File Protection window opens. In a minute or so, another window pops up, asking for Windows XP CD. Insert it now and the latter dialog disappears automatically.
Please note that you do not really need Windows XP Service Pack 3 CD, the original one will do just fine.

In Windows Vista and 7, the whole process continues within the same Command Prompt window. The checking and repairing takes quite some time in all Windows versions - 30 minutes or more is absolutely normal.
If no missing or damaged files were detected or no restart is required to complete the changes, the Windows File Protection window closes automatically in Windows XP. You can check System log in Event Viewer for entries that have "Windows File Protection" written in the Source column.
In Windows Vista and 7, "Windows Resource Protection did not find any integrity violations" appears. This means that all files were present and in tact.
In case some files were damaged or missing, the message reads "Windows Resource Protection found corrupt files and successfully repaired them".
If a restart is required for changes to take effect, an additional line "The system file repair changes will take effect after the next reboot" appears.

You can safely close the Command Prompt window. If neccessary, restart your computer and see if Windows works better now.
To see the System File Checker log in Windows Vista and 7 - beware, it is a pretty technical and large one - you need to run Notepad with elevated rights (right-click, Run as administator), browse to the C:\Windows\Logs\CBS folder and open the CBS.log file. Opening the file normally ends with an "Access Denied" message.
In case you get an error message "Windows Resource Protection could not perform the requested operation" during the scan or "Windows Resource Protection found corrupt files but was unable to fix some of them" after the scan, this most probably means that permissions of a file do not allow checking or replacing it.

To resolve this, first type cd /D %windir% and press Enter. This will open the folder where Windows is installed. Second, type icacls * /T /Q /C /RESET and press Enter. This will revert file and folder permissions in your Windows folder to their defaults. You do get really many "Access is denied" messages in the process, but this is expected. Please use the correct capitalization in the commands!
After this, try running sfc /scannow again.
If you still get the same error, use the chkdsk /r command to run an exhaustive disk check. Because Windows is running from the same drive, you will see the "Chkdsk cannot run because the volume is in use by another process" error. Press Y and then press Enter to schedule the disk check for the next restart.
Restart your computer right away, but be aware that the full disk check might take from 30 minutes to several hours to complete. Do not reboot your computer during the test!
After the check has completed and you are back in Windows, launch System File Checker once again.
If it fails this time too, you should run Startup Repair.
If Windows detects that it did not shut down correctly the last time, it opens Windows Error Recovery options after you turn on your computer.
If this happens for the first time or if you know that there was a power failure or something else unintentional caused your computer to shut down unexpectedly, you can select Start Windows Normally with arrow keys on your keyboard and press Enter key.
In case this error screen appears repeatedly, you should select Safe Mode instead: this could be just a problem with messy files on hard drive and Safe Mode always checks and repairs disk errors before starting.
Here Windows failed to start. If you just added some new hardware to your computer, you should try removing it and starting Windows again to see if it now works fine. If it does, consult the manual of your new hardware to see the installation steps and compatibility for your version of Windows.
If there was a power failure while starting Windows, select Start Windows Normally.
If you haven't changed anything:

"NTLDR is missing" (in Windows XP) or "BOOTMGR is missing" (in Windows Vista and 7) means that something or someone has deleted the file and Windows has no idea from which hard disk or partition to start up.
Windows XP users should boot from my Data Recovery CD and run a full disk check. If this does not help, perform a non-destructive reinstall.
Windows Vista and 7 users should boot from Windows DVD, select their regional settings and then click Repair your computer.
You should run full virus and malware scans immediately after Windows works again to prevent this situation from repeating itself.

In case Windows repeatedly restarts and you see a blue screen flashing before each restart, you probably have not enough time to read the message. To read the message and find out what's causing the behavior, you should disable automatic restart on system failure.
When your computer starts, 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 Advanced Boot Options menu.
Use Arrow Down key to select Disable automatic restart on system failure and press Enter key.

In case of failure, the blue screen will not disappear anymore and you can see the details of error.
Here is one infamous example of Blue Screen of Death (BSOD) - error code 0x0000007B meaning "Inaccessible boot device" - Windows cannot use the hard disk it is installed on. This usually happens after you change/update/remove drivers for a hard disk controller; or you install a new hard disk controller (IDE, PATA, SATA, SAS or SCSI) card and connect your hard disk to it, but there are no drivers available for the new controller in Windows.
You must press power or reset button on your computer to continue.
If you're lucky and you only changed or removed drivers, you can achieve success by selecting Last Known Good Configuration from Advanced Boot Options menu (use the F8 key again after you turn your computer back on) the next time.
In case Last Known Good Configuration does not work, Windows XP users should boot from my Data Recovery CD and run a full disk check. If this does not resolve the problem, do a non-destructive reinstallation and install proper drivers (you might need to press F6 key while Windows setup is loading to add new drivers in case Windows XP has no clue about the disk controller).
Windows Vista users can also boot their PC from Windows DVD and use the Repair Your Computer option.
Windows 7 users should try Repair Your Computer from the Advanced Boot Options menu or Launch Startup Repair from the Windows Error Recovery menu.
If you changed or added a disk controller, disconnect the hard drive from the new controller and connect the cable back to motherboard connector (or where it used to be before). Then boot to Windows and install proper drivers for the new controller. Also consult the manual of the new controller for detailed installation instructions. Then turn off your computer and connect hard drive to the new controller and try booting to Windows again.
Sadly, there are times when Windows cannot be recovered to a previous state - if your hard drive fails completely and no data can be recovered. You will have to buy a new hard drive then (if it is not covered by warranty). Or maybe some virus or malware deletes most important things, such as SAM (Security Accounts Manager) database or registry so that Windows knows nothing about users or itself anymore. In that case read the Restore disk image using EaseUS Todo Backup Free in Windows or Restore a System Image in Windows 7 article to restore your Windows disk. To restore latest versions of your documents, read the Restore files and folders using EaseUS Todo Backup Free in Windows or Restore files and folders in Windows 7 article.
© Copyright 2009-2012 - Margus Saluste
Privacy Policy | Contact information | Site map
Web Hosting By Arvixe