Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up an unattended installation of Windows 7, but my setup causes the bootloader to be installed to the wrong drive. Here is the setup:

Drive 0 (OS Drive): This is the drive that the OS gets installed to. This is also the drive I want the bootloader on. All Windows files are installed to this drive, but bootloader is not.

Drive 1 (Installer Drive): This drive contains all the files from the windows 7 dvd, with the sources/install.wim file replaced with my custom version. This is the drive that the system boots to when I go to install windows, and is attached temporarily. This is the drive the bootloader actually gets installed to.

Since the whole idea here is to allow for unattended imaging of the OS, booting temporarily using the installer drive and "repairing" the installation post-install is not an option.

I realize that I could circumvent this problem by deploying the OS over the network using the MDT, but that scenario is less than ideal in some situations, so I need both working.

I need a way to tell the installer to install the bootloader to the hard drive the operating system is being installed to, ignoring the other hard drives attached to the system.

Some google-searched pages which detailing similar problems:

share|improve this question

Rather then starting a unattended install from the 2nd drive, you may need to do this:

  • Have WinPE boot from the 2nd drive
  • it autostarts a script
  • it runs diskpart to set the active volume to drive 0
  • it runs imagex to push the .wim into drive 0
  • it copies the unattended file to drive 0 for first boot customization
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.