SYMPTOMS
When you try to start or restart your Windows XP-based computer, you may receive one of the following error messages:
Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM
Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SOFTWARE
Stop: c0000218 {Registry File Failure} The registry cannot load the hive (file): \SystemRoot\System32\Config\SOFTWARE or its log or alternate
CAUSE
This issue can occur if the System or Software hive for the Windows XP installation is missing or damaged.
RESOLUTION
To resolve this issue, use one of the following methods.
Use the Recovery Console Tool
To restore a damaged registry hive, use the Recovery Console to restore the backup copy of the hive from the Repair folder. The Repair folder contains a copy of the system's registry hives that were created after the first successful startup of Windows XP.
WARNING : Although data should not be affected by the following procedure, you may need to restore changes you previously made to programs or system settings since the first time you successfully started Windows XP.
To replace the damaged registry hive and restore the backup copy of the hive from the Repair folder: Start your computer to the Recovery Console.
Determine if the file that is mentioned in the "Symptoms" section of this article is present, and if it is, rename it:
In Recovery Console, change to the c:\Windows folder.
Type cd sytem32\config , and then press ENTER.
Type dir system , and then press ENTER.
If you cannot run the preceding command successfully (because the file is missing), skip to step 3. If you can run the preceding command successfully, type ren system system.bak , and then press ENTER.
NOTE : If the message that you received referred to the software file, replace "system" with "software" in the preceding command. For example, you would type ren software software.bak (instead of ren system system.bak ), and then press ENTER.
Type copy c:\windows\repair\system , and then press ENTER.
NOTE : If the message that you received referred to the software file, replace "system" with "software" in the preceding command. For example, you would type copy c:\windows\repair\software (instead of copy c:\windows\repair\system ), and then press ENTER.
You should receive a "One file copied" informational message. For additional information about how to use Recovery Console during startup, click the article number below to view the article in the Microsoft Knowledge Base:
Q307654 HOW TO: Install and Use the Recovery Console for Windows XP
IMPORTANT : If you encounter problems when you run the preceding commands, you may need to use the Change Directory command ( cd ) one folder at a time before you run the preceding commands. For example, type cd system32 , press ENTER, type cd config , and then press ENTER.
Type exit , and then press ENTER to quit Recovery Console and restart the computer.
You Cannot Start from the Windows XP CD-ROM or Use Recovery Console
If you cannot start from the Windows XP CD-ROM or use Recovery Console and you are using the FAT file system (not the NTFS file system):
Use a startup disk from one of the following operating systems to start your computer to a command prompt:
Microsoft Windows Millennium Edition (Me)
Microsoft Windows 98
Microsoft Windows 95
At the command prompt, type c:\windows .
Follow the steps in the "Use the Recovery Console Tool" section of this article, beginning with step 2b (type cd sytem32\config , and then press ENTER).
IMPORTANT : After you complete the steps in the "Use the Recovery Console Tool" section of this article, remove the startup disk, and then restart the computer.
Use System Restore to Revert to the Most-Recent Restore Point
You may want to use System Restore to revert to the most-recent restore point if you have replaced the specific registry hive, but the issue has not been resolved.
For additional information about how to use System Restore to revert to the most-recent restore point, click the article number below to view the article in the Microsoft Knowledge Base:
Q307545 How to Recover from a Corrupted Registry
Run a Repair Installation of Windows XP
You may need to run a repair installation. For additional information about how to do so, click the article number below to view the article in the Microsoft Knowledge Base:
Q312369 You May Lose Data or Program Settings After Reinstalling, Repairing, or Upgrading Windows XP
MORE INFORMATION
By default, the administrative password for Windows XP Home Edition is blank.
For additional information about how to use Recovery Console, click the article numbers below to view the articles in the Microsoft Knowledge Base:
Q307654 HOW TO: Access the Recovery Console During Startup
Q240831 How to Copy Files from Recovery Console to Removable Media
Q229716 Description of the Windows Recovery Console
------------
Si c'est pas ca, essaye ca
Message sur fond de Blue Screen :
\%systemroot%\system32\config\software manquant ou corrompu
Le registre ne peut charger la ruche \systemroot\system32\config\software ou son journal ou sa copie. Ce type de message signifie que la ruche du registre est corrompue ou manquante. Un message portant sur \%systemroot%\system32\config\system.ced signifie que la limite de 16Mo de mémoire fixée par Intel et RISC pour le démarrage de Loader, Kernel, HAL, pilotes de démarrage et ruche du système est dépassée. Si la ruche du registre système excède 13Mo, l'erreur se produira à coup sûr.
Solutions:
A) Réparation avec la Console de récupération:
1. Démarrer l'ordinateur sur le CD d'installation d'XP.
2. Appuyer sur R pour "Réparer".
3. Appuyer sur C pour lancer la console de récupération.
4. Sélectionner l'installation à réparer.
5. Taper le mot de passe de l'administrateur.
6. Taper:
- cd system32\config puis appuyer sur ENTREE.
- dir system puis appuyer sur ENTREE.
S'il n'est pas possible d'obtenir la commande précédente, aller au point 7.
- ren system system.bak puis appuyer sur ENTREE.
Si le message d'erreur porte sur \config\software, renommer software en software.bak .
7. Taper copy c:\windows\repair\system puis appuyer sur ENTREE.
Si le message d'erreur porte sur \config\software, taper copy c:\windows\repair\software .
8. Enlever le CD du lecteur et redémarrer le PC.
Une fois cette réparation réalisée, l'accès à Windows XP est à nouveau possible. Cependant, la configuration est celle correspondant à l'installation initiale d'XP. Pour retrouver une configuration beaucoup plus récente, il faut appliquer la procédure décrite dans la base de connaissances de Microsoft:
http://www.microsoft.com/intlkb/fr [...] 7/5/45.asp . En résumé:
1. Dans l'Explorateur Windows, créer un dossier Temp à la racine du lecteur système.
2. Ouvrir le dossier x:\System Volume Information. (Si accès refusé, se rendre propriétaire du dossier et de ses sous-dossiers cf.104).
Y rechercher un dossier ressemblant à "_restore{D86480E3-73EF-47BC-A0EB-A81BE6EE3ED8}" (à savoir créé à une date plus ancienne que celle de la corruption de ruche).
Dans le sous-dossier \RPx\Snapshot sélectionner les fichiers suivants:
_REGISTRY_USER_.DEFAULT
_REGISTRY_MACHINE_SECURITY
_REGISTRY_MACHINE_SOFTWARE
_REGISTRY_MACHINE_SYSTEM
_REGISTRY_MACHINE_SAM
3. Copier ces 5 fichiers et les coller dans x:\Temp. (obligatoire car à partir de la console de récupération, il n'est pas possible d'ouvrir le dossier System Volume Information!).
Renommer les 5 fichiers dans x:\Temp respectivement en Default, Security, Software, System, Sam.
4. Redémarrer l'ordinateur sur la console de récupération. Se placer dans le dossier x:\windows\system32\config et renommer les fichiers Default, Security, Software, System, Sam (en leur donnant l'extension .old par exemple).
5. Copier dans X:\windows\system32\config les 5 fichiers sauvegardés dans x:\temp.
6. Redémarrer l'ordinateur
et voilà.. tout rentre dans l'ordre. Tu retrouves la configuration existant à la date de la sauvegarde récupérée dans System Volum Information.