Most of us have seen it at one time or another; perhaps on our own PC, the PC of a loved one, or perhaps a PC at your place of employment. The system spends weeks or months operating in a smooth fashion, taking you to the far reaches of the wide, wibbly web, and after one particularly late evening of browsing and gaming, you shut your PC off and go to bed. Millions of people across the globe do just this every night, but a few of us have turned our PCs on the next day not to the standard Windows XP loading screen, but instead this dreaded error:
Windows could not start because the following file is missing or corrupt: \\WINDOWS\\SYSTEM32
You can attempt to repair this file by starting Windows Setup using the original Setup CD-ROM.
Select 'R' at the first screen to start repair.
Which renders your PC inaccessible from the standard boot procedures of Windows XP. You try safe mode, to no avail. You're particularly savvy and try issuing the FIXBOOT and FIXMBR commands in the Windows recovery console, but after each reboot, you're merely greeted with the same obnoxious and terrifying blue screen of death that's preventing you from accessing your precious data.
Perhaps you've also seen these error screens:
Windows NT could not start because the below file is missing or corrupt:
X:\\WINNT\\System32
____________
Windows NT could not start because the below file is missing or corrupt:
X:\\WINNT\\System32
____________
NTLDR is Missing
Press any key to restart
____________
Invalid boot.ini
Press any key to restart
Get to the Windows Recovery Console for your particular Windows installation, navigate to the root letter of your installation ( C: in most cases), issue eight commands, and reboot. The cornerstone of this process is a command called "BOOTCFG /Rebuild" which is a complete diagnostic of the operating system loaded into the recovery console; the purpose of the command is to remove/replace/
- Windows Hardware Abstraction Layer (HAL)
- Corrupt registry hives (\\WINDOWS\\
SYSTEM32\ \CONFIG\\ xxxxxx) - Invalid BOOT.INI files
- A corrupt NTOSKRNL.EXE
- A missing NT Loader (NTLDR)
The command process may apply to other types of blue screens or Hive/HAL/INI/
Let us now begin with a step-by-step instruction for correcting these issues.
Getting to the Windows Recovery Console
- Insert your Windows XP CD into your CD and assure that your CD-ROM drive is capable of booting the CD. Configuring your computer to boot from CD is outside of the scope of this document, but if you are having trouble.
- Once you have booted from CD, do not select the option that states: "Press F2 to initiate the Automated System Recovery (ASR) tool." You're going to proceed until you see the following screen, at which point you will press the " R" key to enter the recovery console:
- After you have selected the appropriate option from step two, you will be prompted to select a valid Windows installation (Typically number " 1"). Select the installation number, (As mentioned, "1" in most cases), and hit enter. If there is an administrator password for the administrator account, enter it and hit enter. You will be greeted with this screen, which indicates a recovery console at the ready:
- There are eight commands you must enter in sequence to repair any of the issues I noted in the opening of this guide. I will introduce them here, and then show the results graphically in the next six steps. These commands are as follows:
- C: CD ..
- C: ATTRIB -H C:\\boot.ini
- C:ATTRIB -S C:\\boot.ini
- C:ATRIB -R C:\\boot.ini
- C: del boot.ini
- C: BOOTCFG /Rebuild
- C: CHKDSK /R /F
- C: FIXBOOT
- To "Go up a directory" in computing is to revert back to the directory above the current folder you're operating in. If, for example, I'm in the C:WINDOWSSYSTEM32 directory, and I want to get at a file in the WINDOWS directory, I would merely type CD .. and I would be taken out of the SYSTEM32 folder and up one level to WINDOWS. We're going to do the same thing here from the WINDOWS folder to get to the basic root of C:
- C:ATTRIB -H C:\\BOOT.INI
- C:ATTRIB -R C:\\BOOT.INI
- C:ATTRIB -S C:\\BOOT.INI
to remove the Hidden, System and Read Only flags.
| |
| |
This last step also requires no screenshot. When you are at the C:> prompt, simply type FIXBOOT. This writes a new boot sector to the hard drive and cleans up all the loose ends we created by rebuilding the BOOT.INI file and the system files. When the Windows Recovery Console asks you if you are " Sure you want to write a new bootsector to the partition C: ?" just hit "Y," then enter to confirm your decision.
Results and Wrap-Up
It's time to reboot your PC by typing EXIT in the Windows Recovery Console and confirming the command with a stroke of the enter key. With any luck, your PC will boot successfully into Windows XP as if your various DLL, Hive, EXE and NTLDR errors never existed. You've just saved yourself from many hours of work, frustration, potential data loss and shelling out your hard-earned greenbacks at a brick'n'mortar operation.
Keep in mind that this solution is only designed to resolve the issues introduced in the preface if the cause is unrelated to spyware and viruses If you believe your PC has affected one of these symptoms due to spyware or viruses, today's fastest-growing PC nuisance, please do a removal and repair.

No comments:
Post a Comment