Original post : bootsect - Guide for Windows XP, Vista, 7, 8, 10.
If you don't have the Windows Vista disc, go to Repair boot sector with Easy Recovery Essentials.
bootsect /nt60 sys
If you don't have the Windows 7 disc, go to Repair boot sector with Easy Recovery Essentials.
If you don't have the Windows 8 media, go to Repair boot sector with Easy Recovery Essentials.
If you don't have the Windows 10 media, go to Repair boot sector with Easy Recovery Essentials.
/nt52
nt52
bootsect /nt52 D:
D:
/nt60
nt60
bootsect /nt60 D:
SYS
ALL
/force
Updated NTFS filesystem bootcode. The update may be unreliable since the volume could not be locked during the update: Access is denied. Bootcode was successfully updated on all targeted volumes.
Use /force with extra caution. Using this parameter can invalidate open files on the selected volume.
If you need to use bootsect to repair your computer's boot sector, go to Repair boot sector with Easy Recovery Essentials.
Files copied successfully. However, we were unable to run bootsect to make the USB device bootable. If you need assistance with bootsect, please click the "Online Help" link above for more information.
diskpart list disk
select disk 2
clean
create partition primary
select partition 1
active
format quick fs=fat32
assign
exit