Identifying the Problem Source: Corrupted Registry
Method 1: Restore Backup Registry
dir C:\Windows\System32\Config\RegBack
SYSTEM
, SOFTWARE
, etc., are not zero bytes.copy C:\Windows\System32\Config\RegBack\* C:\Windows\System32\Config\
Method 2: Repair System Files
diskpart
, list volume
sfc /scannow /offbootdir=<OS_drive_letter>:\ /offwindir=<OS_drive_letter>:\Windows
Further Steps if Needed