Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:windows:userinit [2024/09/23 12:44] – removed psycoreen:windows:userinit [2024/09/23 12:44] (current) – created psycore
Line 1: Line 1:
 +{{tag>windows10 windows11 registry backup english}}
 +====== Reset the registry at an earlier point in time ======
  
 +===== Problem description =====
 +
 +If Windows can no longer log on correctly or logs off again immediately after logging on, this is usually due to an error in the registry. This tutorial should only be used if no other access to the registry is possible.
 +
 +===== Create boot CD =====
 +
 +First of all, you need a boot CD. [[http://www.ubcd4win.com/|UBCD4win]] is suitable for this. However, others can also be used. The only important thing at this point is that we get access to the file system.
 +
 +===== Rename and save the old registry =====
 +
 +Now go to the folder C:\Windows\system32\config and rename the following files:
 +
 +  - SAM
 +  - SECURITY
 +  - software
 +  - default
 +  - system
 +
 +These should now be backed up to another partition or similar.
 +
 +===== Copying from the system restore =====
 +
 +Now go to the folder "C:\System Volume Information". Here are several folders with data for the system restore. We look at the creation date and open one of the folders whose date is current. Here we find "RPxx" subfolders and open another one with a similar date. This again has a subfolder called Snapshot. This is exactly where we find the files we need:
 +
 +  - _REGISTRY_USER_.DEFAULT
 +  - _REGISTRY_MACHINE_SECURITY
 +  - _REGISTRY_MACHINE_SOFTWARE
 +  - _REGISTRY_MACHINE_SYSTEM
 +  - _REGISTRY_MACHINE_SAM 
 +
 +We copy these to the folder C:\Windows\System32\Config and rename them back to their original names.
 +
 +===== Restart and test =====
 +
 +Now we restart. If the problem still persists, the process must be repeated with slightly older registry files.