Win 10, Dell Optiplex PC
I had a working version of Win 10 on an internal drive, but Windows Update screwed the boot sector up.
I have installed a clean version of Win 10 on a secondary drive, and made it the boot drive.
I have read that it will be possible to recreate the boot sector on the old boot drive, and would appreciate confirmation that it will work (there are multiple data files on the drive).
The method is this -
Step 1: Delete old partitions and create new ones
Boot into a partition manager.
Delete extra partitions including the old FAT32 system
Create new NTFS partition with 512 MB of space and label it “System Reserved”
Shutdown
Step 2: Setup Partitions with the correct drive letters
Launch Windows 10 Install disc / usb (or enter Win10 from another drive on same pc?)
Shift+F10 once you see language select to bring up command prompt
Launch DISKPART
select volume with 512MB (ex: select vol 0)
assign letter=G: (or any letter that isn’t taken that is NOT C:)
exit OR If Windows operating system is NOT on C:
select volume with windows installation on it
assign letter=C:
exit
Example output:
diskpart
select disk 0
list vol
select vol 0 <---500 MB Partition
assign letter=G:
select vol 1 <--- Large Partition with Windows Install on it
assign letter=C:
exit
Partitions are done. Now time to fix problems with the “type” of partition – By forcing all partitions to be NTFS NT60
bootsect.exe /nt60 all /force
Step 3: Copy Boot Records, Fix MBR, and Rebuild BCD
Rebuild new system reserved partition with EFI and regular boot files
bcdboot c:\Windows /s
bcdboot c:\Windows /s G: /f ALL
Now we can finally rebuild the bcd and master boot You can verify the system is seeing the windows installation by doing a bootrec /scanos and then be running through the rest of the commands to do the rest of the repairs
bootrec /scanos <---Verify it sees the windows install
bootrec /fixmbr
bootrec /fixboot <----Pick the installation will mirror /scanos bootrec /rebuildbcd
What could possibly go wrong?