Repairing Windows XP in Eight Commands
Repairing Windows XP in Eight Commands
Windows could not start because the following file is missing or corrupt:
\\WINDOWS\\SYSTEM32\\CONFIG\\SYSTEM
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.
Windows NT could not start because the below file is missing or corrupt:
X:\\WINNT\\System32\\Ntoskrnl.exe
_________________
Windows NT could not start because the below file is missing or corrupt:
X:\\WINNT\\System32\\HAL.dll
_________________
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/repair any system files that were
preventing the operating system from loading correctly. Amongst the files it fixes are:
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)
Let us now begin with a step-by-step instruction for correcting these issues.
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:
Continue to page 2 to proceed with the repair functions.
C:ATTRIB -H C:\\BOOT.INI
C:ATTRIB -R C:\\BOOT.INI
C:ATTRIB -S C:\\BOOT.INI
Now that we've modified the attributes for the BOOT.INI file, it's up for deletion. The
syntax for it is simple: { DEL | FILE NAME }, e.g., C:DEL BOOT.INI deletes the
BOOT.INI file.
Now for the most important step of our process, the BOOTCFG /REBUILD command
which searches for pre-existing installations of Windows XP and rebuilds sundry
essential components of the Windows operating system, recompiles the BOOT.INI file
and corrects a litany of common Windows errors. It is very important that you do one
or both of the following two things: First, every Windows XP owner must use
/FASTDETECT as an OS Load Option when the rebuild process is finalizing. Secondly,
if you are the owner of a CPU featuring Intel's XD or AMD's NX buffer overflow
protection, you must also use /NOEXECUTE=OPTIN as an OS Load Option. Do not
set NOEXECUTE as a load option if you do not own one of these CPUs. For the
"Enter Load Identifier" portion of this command, you should enter the name of the
operating system you have installed. If, for example, you are using Windows XP Home,
you could type "Microsoft Windows XP Home Edition" for the identifier. This gives the
process some authenticity, if you're keen on being a perfectionist.
This step verifies the integrity of the hard drive containing the Windows XP installation.
While this step is not an essential function in our process, it's still good to be sure that the
drive is physically capable of running windows, in that it contains no bad sectors or other
corruptions that might be the culprit. No screenshot necessary here! Just type CHKDSK
/R /F at the C:> prompt. Let it proceed; it could take in excess of 30 minutes on slower
computers, when this is finished move on to the seventh and final step.
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 boot
sector to the partition C: ?" just hit "Y," then enter to confirm your decision.