
Where D:\Windows is the path to the new Windows installation.

Open a command line and use Bcdboot to add the new operating system to the boot menu (see the note below about options for how to get to a command line): Bcdboot D:\Windows If you've installed two versions of Windows on the same PC but they don't both appear in the boot menu when you start your PC, you can manually add a Windows installation: The boot menus should appear with both operating systems listed.

For example, if your PC has Windows 10, install Windows 11 onto the other hard drive or partition.

Repairing a Windows partition on a dual-boot PC The BCDBoot option allows you to quickly add boot options for a Windows-based operating system. When setting up a PC to boot more than one operating system, you may sometimes lose the ability to boot into one of the operating systems.
