Windows 7 Deployment - Boot Manager Config?


  • I am setting up an MDT 2010 deployment server for Windows 7.  One thing I have found is if I image the same computer twice, it is not clearing the previous Windows 7 OS from the boot manager.  I have been searching the internet and help files, and I can't seem to find anything dealing with boot manager configuration for deployment.

    Is there any way to configure the Windows 7 deployment to clear the Windows Boot Manager every time a computer is imaged?



    Zak Lyles
    Tuesday, April 06, 2010 8:16 PM


  • You can run command bcdboot.

    Bcdboot - Bcd boot file creation and repair tool.

    The bcdboot.exe command-line tool is used to copy critical boot files to the
    system partition and to create a new system BCD store.

    bcdboot <source> [/l <locale>] [/s <volume-letter>] [/v]
                     [/m [{OS Loader ID}]]

      source            Specifies the location of the windows system root.

      /l                Specifies an optional locale parameter to use when
                        initializing the BCD store. The default is US English.

      /s                Specifies an optional volume letter parameter to designate
                        the target system partition where boot environment files are
                        copied.  The default is the system partition identified by
                        the firmware.

      /v                Enables verbose mode.

      /m                If an OS loader GUID is provided, this option merges the
                        given loader object with the system template to produce a
                        bootable entry. Otherwise, only global objects are merged.

    Examples: bcdboot c:\windows /l en-us
              bcdboot c:\windows /s h:
              bcdboot c:\windows /m {d58d10c6-df53-11dc-878f-00064f4f4e08}

    • Marked as answer by zak.lyles Friday, April 09, 2010 5:37 PM
    Tuesday, April 06, 2010 9:55 PM