Friday, August 9, 2013

Windows could not start because the following file is missing or corrupt : SOLVED

Many time we start Windows XP & got a black screen with some error like 

Windows could not start because the following file is missing or corrupt
\WINDOWS\SYSTEM32\CONFIG\SYSTEM
\WINDOWS\SYSTEM32\CONFIG\SOFTWARE
\WINDOWS\System32\HAL.dll
\WINDOWS\System32\Ntoskrnl.exe
NTLDR IS MISSING
INVALID BOOT.INI
OR may be any other file is missing

SOLUTION
Solution is very simple
Just insert the Windows XP CD & boot the computer with it
On "Welcome to Setup" just press the R button to start Recovery Console
Select your OS (Generaly 1 if you don't have dual boot OS)
When prompted for password type Administrator password (Press enter if you didn't set any password)
At the Recovery console type these commands
C: CD ..
C: ATTRIB –H C:boot.ini
C: ATTRIB –S C:boot.ini
C: ATTRIB –R C:boot.ini
C: del boot.ini
C: BOOTCFG /Rebuild

After Rebuild type below command to fix any error with HDD
C: CHKDSK /R /F 
C: FIXBOOT
“Sure you want to write a new boot sector to the partition C: ?” press “Y”
C: EXIT
Enter

& It's Done.. Your Windows is now started

No comments:

Post a Comment