bcdedit /create /d "Windows 10 on D:" /application osloader This returns a GUID like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx . Copy it.
Then set the partition and OS path:
bcdedit /enum firmware Scenario A: Add another Windows installation (e.g., Windows 10 on D:)
Add Boot Option Windows | 11 //free\\
bcdedit /create /d "Windows 10 on D:" /application osloader This returns a GUID like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx . Copy it.
Then set the partition and OS path:
bcdedit /enum firmware Scenario A: Add another Windows installation (e.g., Windows 10 on D:)