You can erase your boot drive while preserving the D: drive by using a partitioning tool to move data safely.
You can erase your boot drive while preserving the D: drive by using a partitioning tool to move data safely.
The simplest method when uncertain is to access the side panel on your PC and detach the second storage device until Windows starts properly on the primary drive.
Consider disconnecting the second drive, restart on the Windows system, and use a USB flash drive to download Windows. Once installed, shut down the computer and access BIOS settings if needed. Otherwise, switch the boot drive to the flash drive for a fresh installation.