From the recovery environment or from another machine with "reg load".
Even safe mode with command prompt?
By the way, there could be an easier way.
From safe mode with command prompt or from the recovery environment, you can navigate to C:\Windows\System32\config and check the sizes of their backups in the regback folder:
[hide][code=rich]
C:\Windows\System32\config>dir | findstr /C:"DEFAULT" /C:"SAM" /C:"SECURITY" /C:"SOFTWARE" /C:"SYSTEM"
26/11/2024 23:06 1,048,576 DEFAULT
26/11/2024 23:06 131,072 SAM
26/11/2024 23:06 65,536 SECURITY
26/11/2024 23:06 91,488,256 SOFTWARE
26/11/2024 23:06 13,893,632 SYSTEM
C:\Windows\System32\config>CD REGBACK
C:\Windows\System32\config\RegBack>DIR
Volume in drive C is WINDOWS
Volume Serial Number is DDB1-9240
Directory of C:\Windows\System32\config\RegBack
27/11/2024 17:16 <DIR> .
27/11/2024 17:16 <DIR> ..
27/11/2024 17:16 827,392 DEFAULT
27/11/2024 17:16 77,824 SAM
27/11/2024 17:15 40,960 SECURITY
27/11/2024 17:16 91,406,336 SOFTWARE
27/11/2024 17:16 13,717,504 SYSTEM
[/code][/hide]
If the backups dates are older (than the current corrupted ones) and their sizes are greater than 0 (zero,nought), you can replace the corrupted ones with these backups.
You can also create a backup of the current corrupted files (before the replacement, obviously).
There's a tutorial, if you prefer: Manually Restore the Registry From its Backup in Windows (Windows 7 / Vista)