System recovery if the registry is damaged

System recovery if the registry is damaged and prevents Windows XP from starting.

 

First something to cheer up. The following is the original quote from M $:

"Corrupted registry files can cause a variety of reasons to be viewed
different error messages. "

This is true!

In many cases, however, the message appears a little clearer like
Windows XP could not start because the following file is missing or damaged
is: \ WINDOWS \ system32 \ config
And already you are in a supposedly moderately severe catastrophe.
But, it looks worse than it actually is. Provided you have that
System restore not disabled (see section Die in the appendix
Enable / disable system restore
) or recently one
Backing up the system files (see section Securing the
System files
) carried out.

What are the registry files and where are they stored?

In the folder \ Systemroot \ system32 \ config are the important ones
Registry files System, software, Sam, security and Default. These form
including the so-called registration database. Inconsistency or physical failure
are most of the causes of a corrupted registry. A classic one
System crashes or turning off the computer while the system is running can occur
ensure that the system refuses to restart because the
Registry files are in constant access by the operating system.


Requirement for a successful restoration of the
Registry files

A prerequisite for a successful restoration of the registry files is
one carried out before the time of damage
a) manual backup of the system files
or
b) automatic backup in the form of a system restore point


Bring Windows XP to start again

There is a copy of the registry files in the folder \ Systemroot \ repair.
However, these files were created at the time of installation and are
therefore not up to date (Exception: the system files were backed up
carried out
). As these files only have to be started once for the operating system
However, their timeliness is not of great importance.
We will now create a registry with which Windows XP will start again. To do this, start
we the computer with the recovery console. If this is not installed, so
you can start the Recovery Console directly from the Windows XP Setup CD
.

 

 

1. Start the recovery console
2. Enter the following commands:


C: \ WINDOWS> md regbak
C: \ WINDOWS> cd system32 \ config
C: \ WINDOWS> copy system .. \ .. \ regbak \ system.bak
C: \ WINDOWS> copy software .. \ .. \ regbak \ software.bak
C: \ WINDOWS> copy sam .. \ .. \ regbak \ sam.bak
C: \ WINDOWS> copy security .. \ .. \ regbak \ security.bak
C: \ WINDOWS> copy default .. \ .. \ regbak \ default.bak
C: \ WINDOWS> copy .. \ .. \ repair \ system
C: \ WINDOWS> copy .. \ .. \ repair \ software
C: \ WINDOWS> copy .. \ .. \ repair \ sam
C: \ WINDOWS> copy .. \ .. \ repair \ security
C: \ WINDOWS> copy .. \ .. \ repair \ default


3. With the Exit command we leave the recovery console and the
Computer will restart.


Do current registry files exist (Backup of the system files) by doing
\ Systemroot \ repair folderso ends the Restoration of Registry files
already here.
If this is not the case, the registration files must be manually extracted from a
System restore point. This step is one
a bit of work involved. We continue.

Restore the registry files from a system restore point

After restarting from the last step, we start Windows XP in
safe mode. Register as an administrator or as a user of the member
the group "administrators" is on.
Before going any further, some settings need to be changed for the folder
"System Volume Information"to make visible and accessible:
1. Start Windows Explorer
2. On the Tools menu, click Folder Options.
3. Click the View tab.
4. Under Hidden files and folders, activate the "All" check box
Show files and folders, ”and then clear the check box
Hide protected system files (recommended).
5. In the dialog box that appears, click Yes to confirm that these files
should be displayed.
6. Double-click the drive where Windows XP is installed.
7. Then right click on the System Volume folder
Information and then Properties.
8. Click the Security tab.
9. Click on Add and enter the name of a user who has access
should get on the folder (e.g. administrator). Click OK and
then click OK again.
10. Open the System Volume Information folder. The folder contains a
or multiple folders named "_restore {GUID}".
Select one of these folders.
11. There may be several within the _restore {GUID} folder
Folders that begin with "RPx". These folders are so called
"Restore Points". Open a folder whose creation date / -
time as precisely as possible before the time of damage to the
Registry files.
12. Select the subfolder Snapshot: e.g.
C: \ System Volume Information \ _restore {GUID} \ RP34 \ Snapshot
13. Copy the following files from the Snapshot folder to the folder
"\ Systemroot \ regbak" and rename it:

o _REGISTRY_USER_.DEFAULT >>>> DEFAULT
o _REGISTRY_MACHINE_SECURITY >>>> SECURITY
o _REGISTRY_MACHINE_SOFTWARE >>>> SOFTWARE
o _REGISTRY_MACHINE_SYSTEM >>>> SYSTEM
o _REGISTRY_MACHINE_SAM >>>> SAM


These files are backup copies of the registry files
from a point in time system restore.
It is important to have a folder with the creation date / time as precisely as possible
when the registry files were corrupted.

Caution: by starting Windows XP using the Windows XP section
Restarting copied files becomes a current snapshot
prepared. Under no circumstances should this be selected for the restoration,
because the registry files it contains only contain an image of themselves
(logical right?).
I would also like to point out that the restore points are not
Are available. Why? Well, we have the operating system with outdated
Registration files started. The operating system knows about the previous ones
Restore points nothing. An automatic recovery is coming
therefore out of the question!
We therefore need a copy of the registry files from an earlier one
Restore point to restore the previous restore points
to make available.
We are now performing the last step of the restore. We copy them
backed up from a previous restore point
Registry files from the \ Systemroot \ regbak folder to the
\ Systemroot \ system32 \ config.

1. Start the recovery console
2. Enter the following commands:


C: \ WINDOWS> cd system32 \ config
C: \ WINDOWS> copy .. \ .. \ regbak \ software
C: \ WINDOWS> copy .. \ .. \ regbak \ system
C: \ WINDOWS> copy .. \ .. \ regbak \ sam
C: \ WINDOWS> copy .. \ .. \ regbak \ security
C: \ WINDOWS> copy .. \ .. \ regbak \ default


3. With the Exit command we leave the recovery console and the
Computer will restart.
Restoring the registry files is now complete. Windows XP
will start with the new (old) registry.
Changes to the registry that occurred between the date of the
Recovery point and the time the
Registry files are of course lost. But this way is one
better and faster alternative to repairing a damaged system than
the repair mode through the XP setup (repair installation).
Note: it is important to have a current restore point or a backup
of the system files.



REFERENCES


Another system configuration via System Restore
restore


1. Click on Home and then to all Program.
2. Click on Accessories and then on System programs.
3. Click on system recovery and then on computer to one
restore earlier point in time.


Backup of the system files

To keep the important system files up-to-date for a recovery is one
continuous backup of these files is necessary. It doesn't take a lot of work to be one
Backup job can be created and saved with all required parameters.
If the files are saved on a second hard drive, the
The backup process finishes relatively quickly (~ 1 min.). The backup file can be saved after the
Archiving process will be deleted because the registry files in the folder
\ Systemroot \ repair are now the current date.
How to back up the system files:

1. Click Start, then click Run
2. Enter ntbackup in the entry line, then click OK
3. In the backup program select the Backup tab.
4. Select the system status object (system state).
5. As a backup medium we give, for example C: \ backup.bkf and start the
Start backup by clicking on Backup.
6. After a successful backup, we delete the file we just created backup.bkf
or archive them CD / DVD.


Enable / disable system restore

1. Right click on Workplace and then on
Features.
2. Choose the System Restore tab.
3. Is the check box at Disable System Restore not
activated, the function is activated. To deactivate this click on the
Check box.

Transparency: This article may contain affiliate links. These lead directly to the provider. If a purchase is made through this, we receive a commission. There are no additional costs for you! These links help us to refinance the operation of win-tipps-tweaks.de.

___________________________________________________
This tip comes from www.win-tipps-tweaks.de
© Copyright Michael Hille

Warning:
Using Registry Editor or its tips incorrectly can cause serious system problems that may require you to reinstall your operating system. Tampering with the registry files and using the tips is at your own risk.