BACKGROUND
I had an ASRock server motherboard with Windows 10 installed on an NVME disk. The motherboard failed (i.e. will not power up). I replaced the MB with a SuperMicro X10Dai MB.
I attached the NVME drive to a PCI-E adapter. The X10Dai recognizes the drive. When the system boots, I load the boot manager and select the Windows boot manager. However, the system is unable to find Windows.
What I have tried so far: method 1
Booted into a Windows recovery USB and selected repair boot. This fails to work.
What I have tried so far: method 2
From the Windows recovery USB, I entered the command prompt and did the following:
c:\>diskpart
diskpart> select disk 0
diskpart> select vol 3 #the EFI volume
diskpart> assign letter N:
diskpart> exit
c:>cd N:
N:> bootrec / fixboot
At the point I receive the message ACCESS IS DENIED.
N:> bootrec /fixmbr
This is successful
N:>bootrec /fixboot
At the point I receive the message ACCESS IS DENIED.
What I have tried so far: method 3
c:\>diskpart
diskpart> select disk 0
diskpart> select vol 3 #the EFI volume
diskpart> assign letter N:
diskpart> exit
C:>format N: /FS:FAT32
C:>bcdboot C:\windows /s N: /f
C:>cd N:
N:>bootrec /fixboot
At the point I receive the message ACCESS IS DENIED.
N:>bootrec /rebuildbcd
N:>bootrec / fixboot
At the point I receive the message ACCESS IS DENIED. This method detects no installations of Windows (however, I am able to access the Windows partition successfully in the command prompt)
What can I do to fix the boot record?
I know how to boot into Ubuntu Live if there is a solution involving Ubuntu (though I would need instructions of what to do)
Thanks!