syntax fix -

bcdboot d:\windows /s S: /f UEFI

Hoping your suggestion fixes my boot issue on an old DC

jimbo45 said:
Hi folks

Forget all this stuff -most boot problems can simply be fixed by re-installing Windows boot mgr.

To REPAIR boot the easiest way is to boot either Windows install ISO or Winpe iso or macrium stand alone recovery - or equivalent into Command mode.

To create WINPE iso :

https://docs.microsoft.com/en-us/win...iew=windows-11

Then two ways to proceed

1) EFI systems.

diskpart
list disk
select disk xxxx (the actual Windows disk)
list volume
select volume yyy (the usually 100Mb EFI partition - will probably be labelled system and marked hidden
assign letter=S
exit

now assume that the Windows disk is D
cd D:\windows\system32
bcdboot d:\windows /s S: /f UEFI

exit

reboot your system

on BIOS systems you need to write the boot rec to the boot or system partition -- as I don't have a BIOS system to test this on someone else can answer that but the object is simply to re-write the boot record via bcdboot.

It could be as simple as bcdboot d:\windows

Cheers
jimbo