[ Ссылка ] So you need to put back the second HDD first otherwise this won't work, or you have to do this from windows recovery if you have a usbstick with windows 10/11.
From start type, CMD then run as administrator
Diskpart
List volume
check if C: is really the one you want
EXIT Diskpart
Type:
bcdboot C:\windows /s C:
Press enter en it will say boot files are created.
If you liked this video consider subscribing to my channel!
![](https://i.ytimg.com/vi/GdF28gjGm68/maxresdefault.jpg)