Initial problem was Windows would not boot nor would it boot to safe mode. Finally was able to boot copying the backup registry to the main registry. (That was the only thing that worked. Still have a later registry backup available.)
Issues now are SFC/ Scannow - "Windows Resources Protection could not perform the requested operation." and Windows Update gives error message 80073712.
Trying to avoid a reinstall of Windows 7 by either trying to repair these files or an also try to import a different registry backup
Tried sfc repair and received this text
SFCFix version 3.0.2.1 by niemiro.
Start time: 2020-12-14 18:37:41.114
Microsoft Windows 7 Service Pack 1 - amd64
Not using a script file.
AutoAnalysis::
WARNING: Failed to check store directories with return code 1 and error code ERROR_FILE_NOT_FOUND. COMPONENTS hive may be corrupt.
SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
CBS & SFC total detected corruption count: 0
CBS & SFC total unimportant corruption count: 0
CBS & SFC total fixed corruption count: 0
SURT total detected corruption count: 1
SURT total unimportant corruption count: 0
SURT total fixed corruption count: 0
AutoAnalysis:: directive completed successfully.
Successfully processed all directives.
Failed to process registry database in location 2 with error code ERROR_FILE_NOT_FOUND.
WARNING: Failed to process registry database in location 3 with error code ERROR_INVALID_HANDLE.
Failed to process registry database in location 4 with error code ERROR_INVALID_HANDLE.
Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2020-12-14 18:40:09.056
----------------------EOF-----------------------
These are the error messages from SFC run at the command prompt after starting with F8 (before partially solving the problem by copying the backup registry to registry folder)
Cannot repair member file [l:22{11}]"wimgapi.dll" of Microsoft-Windows-Wimgapi, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2020-12-12 05:49:10, Info CSI 000001ec [SR] Cannot repair member file [l:22{11}]"wimgapi.dll" of Microsoft-Windows-Wimgapi, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2020-12-12 05:49:10, Info CSI 000001ed [SR] This component was referenced by [ml:38{19},l:36{18}]"Windows Foundation"
2020-12-12 05:49:10, Info CSI 000001f0 [SR] Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\X:\windows\System32"\[l:22{11}]"wimgapi.dll"; sou
and further down:
00000283 [SR] Cannot repair member file [l:22{11}]"wimgapi.dll" of Microsoft-Windows-Wimgapi, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2020-12-12 05:49:38, Info CSI 00000285 [SR] Cannot repair member file [l:22{11}]"wimgapi.dll" of Microsoft-Windows-Wimgapi, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2020-12-12 05:49:38, Info CSI 00000286 [SR] This component was referenced by [ml:38{19},l:36{18}]"Windows Foundation"
2020-12-12 05:49:38, Info CSI 00000289 [SR] Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\X:\windows\System32"\[l:22{11}]"wimgapi.dll"; source file in store is also corrupted
2020-12-12 05:49:38, Info CSI 0000028b [SR] Repair complete
Issues now are SFC/ Scannow - "Windows Resources Protection could not perform the requested operation." and Windows Update gives error message 80073712.
Trying to avoid a reinstall of Windows 7 by either trying to repair these files or an also try to import a different registry backup
Tried sfc repair and received this text
SFCFix version 3.0.2.1 by niemiro.
Start time: 2020-12-14 18:37:41.114
Microsoft Windows 7 Service Pack 1 - amd64
Not using a script file.
AutoAnalysis::
WARNING: Failed to check store directories with return code 1 and error code ERROR_FILE_NOT_FOUND. COMPONENTS hive may be corrupt.
SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
CBS & SFC total detected corruption count: 0
CBS & SFC total unimportant corruption count: 0
CBS & SFC total fixed corruption count: 0
SURT total detected corruption count: 1
SURT total unimportant corruption count: 0
SURT total fixed corruption count: 0
AutoAnalysis:: directive completed successfully.
Successfully processed all directives.
Failed to process registry database in location 2 with error code ERROR_FILE_NOT_FOUND.
WARNING: Failed to process registry database in location 3 with error code ERROR_INVALID_HANDLE.
Failed to process registry database in location 4 with error code ERROR_INVALID_HANDLE.
Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
Failed to process registry database in location 4 with error code ERROR_FILE_NOT_FOUND.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2020-12-14 18:40:09.056
----------------------EOF-----------------------
These are the error messages from SFC run at the command prompt after starting with F8 (before partially solving the problem by copying the backup registry to registry folder)
Cannot repair member file [l:22{11}]"wimgapi.dll" of Microsoft-Windows-Wimgapi, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2020-12-12 05:49:10, Info CSI 000001ec [SR] Cannot repair member file [l:22{11}]"wimgapi.dll" of Microsoft-Windows-Wimgapi, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2020-12-12 05:49:10, Info CSI 000001ed [SR] This component was referenced by [ml:38{19},l:36{18}]"Windows Foundation"
2020-12-12 05:49:10, Info CSI 000001f0 [SR] Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\X:\windows\System32"\[l:22{11}]"wimgapi.dll"; sou
and further down:
00000283 [SR] Cannot repair member file [l:22{11}]"wimgapi.dll" of Microsoft-Windows-Wimgapi, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2020-12-12 05:49:38, Info CSI 00000285 [SR] Cannot repair member file [l:22{11}]"wimgapi.dll" of Microsoft-Windows-Wimgapi, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2020-12-12 05:49:38, Info CSI 00000286 [SR] This component was referenced by [ml:38{19},l:36{18}]"Windows Foundation"
2020-12-12 05:49:38, Info CSI 00000289 [SR] Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\X:\windows\System32"\[l:22{11}]"wimgapi.dll"; source file in store is also corrupted
2020-12-12 05:49:38, Info CSI 0000028b [SR] Repair complete