Hello
To recover your Windows Boot drive from an external backup using the command line, you can use the Windows Recovery Environment (WinRE) tools. These tools are accessible from a Command Prompt window in WinRE. For example, you can use the Chkdsk.exe tool to troubleshoot and fix volumes, or the Regedit.exe tool to modify the Windows registry.
Here's a general approach to recover your boot drive:
Boot your computer using Windows installation media or a recovery drive.
When the Windows Setup page appears, press Shift + F10 to open a Command Prompt window.
Use the Diskpart utility to select the appropriate drive and partition to recover.
Use the Copy command to transfer the files from your external backup to the selected drive.
For more detailed instructions, you can refer to this how-to guide: