hello PCR,
i had problem running my windows "windows 10 pro" normally (every time i run i go to automatic repair)
after many trials to fix it with my own i couldnt and i had to run the pc at that moment so i installed 2nd version of windows 10 on the 2nd partition and it installed successfully and i had some problem with my drivers so i decided to the give my old version another shot and started to fix it again while searching on the net for any way.
and then i found your solution and decided to try it but unfortunately i formatted my system partition first and then do the rest of your solution but every time i start my pc i get blue screen like this
and i have tried many ways to rebuild BCD using bcdedit
attrib -h -s C:\boot\BCD
del C:\boot\BCD
bcdedit /createstore c:\boot\bcd.temp
bcdedit.exe /store c:\boot\bcd.temp /create {bootmgr} /d "Windows Boot Manager"
bcdedit.exe /import c:\boot\bcd.temp
bcdedit.exe /set {bootmgr} device partition=C:
bcdedit.exe /timeout 10
attrib -h -s C:\boot\bcd.temp
del c:\boot\bcd.tempbcdedit.exe /create /d "Microsoft Windows" /application osloaderbcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} device partition=C:bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} osdevice partition=C:bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} path \Windows\system32\winload.exebcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} systemroot \Windowsbcdedit.exe /displayorder {c0dfc4fa-cb21-11dc-81bf-005056c00008}
and after that the error i am getting have been changed to
"The operating system couldn't be loaded because the system registry file is missing or contains errors.
File:\windows\system32\config\system
error code: 0xc0000185"
please help me fix that windows btw the problem originally happened after the system got frozen and i had to restart my pc
now even the new installed windows dont start.