Hello
Thank you for posting in Microsoft Community forum.
This can happen if the boot configuration data (BCD) is still pointing to the Ubuntu boot loader. You can try two methods:
1.Command Prompt: In the recovery options, select "Troubleshoot" > "Advanced options" > "Command Prompt". In the Command Prompt, type the following commands to rebuild the BCD:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
These commands will fix the Master Boot Record (MBR), write a new boot sector, scan for Windows installations, and rebuild the BCD.
2.Remove Ubuntu Entries: If the above steps don't work, you might need to manually remove the Ubuntu boot entries. In the Command Prompt, type:
bcdedit /enum all
Look for entries related to Ubuntu and note their identifiers. Then, use the following command to delete them:
bcdedit /delete {identifier}
Replace {identifier} with the actual identifier of the Ubuntu entry.
Restart: After performing these steps, restart your computer and see if it boots into Windows.
Best Regards,
Wesley Li