Closed Solved

Manually change default os in xp and windows 7 dual-boot

Hello everybody,

I had Windows XP Pro running on my PC and I've installed Windows 7 using dual-boot.

I want to create a command line BAT file that will allow me to change the default OS system before I boot. For example If I'm working on XP and wants 7 to start-up automatically then I'll execute the batch file and it will manipulate the boot info so that i won't have to select it, and if i work in Windos 7 and want to automatically restart to xp i will run another BAT file.

I was able to do it in windows 7 using the command line bcdedit.exe application tha can control any aspect of the boot settings, but i couldn't find anyway to control the boot settings from within XP because the boot "belongs" to windows 7 and XP doesn't even "know it" or able to access it.

However I have a third-party application able to do that called VISTABOOTPRO, so i can assume it is indeed possible, but i want to create a simple one-click procedure to do it for me.

Does anyone know how can i access the boot settings from Windows XP ?

Thanks in advance.
7 answers Last reply Best Answer
More about manually change default windows dual boot
  1. The bootloaders for XP and Win 7 / Vista are completely different. There is no way Windows XP will recognize Windows 7's bootloader. Once you installed Windows 7, XP's bootloader was overwritten and no longer exists. Windows XP no longer has any boot settings whatsoever.
  2. So how a third-party application like "vista boot pro" can change setting of the windows 7 bootloader even though running on xp ?
  3. Best answer
    Because the third party app was specifically designed for that purpose. Windows XP's bootloader no longer exists, however... the best you can hope to do is change the default manually each time before you reboot. It's really just easier to select the OS at the choices menu.
  4. Zoron said:
    It's really just easier to select the OS at the choices menu.


    I second this. Set the default entry from within 7 for whichever OS you use more, and change the selection at the boot menu whenever you want to use the second OS.
  5. You could wirte a batch file or script to accomplish that, most likely... that's about the best you can hope for.
  6. This topic has been closed by Nikorr.
Ask a new question

Read More

Windows 7 Dual Boot Boot Windows XP