Multiple Win7 showing in boot manager

battlese

New member
Local time
11:56 PM
Messages
5
Location
Syracuse, NY
I'm setting up new pc's for my office. I've created a reference pc and created a wim file. I next deploy the image to another (identical) pc by doing this:
  • booting to winpe disk
  • typing diskpart
  • selcting the volume
  • typing "clean"
  • creating a primary partition
  • format quick fs=ntfs
  • active
  • assign letter=c
  • then going to the cd drive and typing imagex/apply d:\win7img.wim 1 c:\
  • after it dumps the image on the drive I type bcdboot c:\windows /l en-us
  • wpetuil reboot
after it boots it shows the windows boot manager and under the "choose an operating system" it has Windows 7 listed twice. I can choose one and once into windows I go into msconfig boot tab. It shows the first Windows 7 at c:\windows and then second Windows 7 at \windows (no c:\). Weird!

Is there any way I can avoid having to go in and delete the second listing? I'm setting up roughly 650 pc's and will go crazy if I have to do it to each one. :cry:

Any help is appreciated!
 

My Computer

Computer Manufacturer/Model Number
Dell
OS
Windows 7 Enterprise
Delete the bcd entry from the wim image.

Simplest way is to mount the image,you can use this: View attachment DISMGUIx86x64.zip

Then borrow this : View attachment BcdTool.zip

click Open - browse to the boot folder in the mounted image [Click Boot Config>Open ], pick up BCD - highlight the \windows entry, and select Remove Entry [Click Edit >Remove Selected Entry].

[ The boot folder you are looking for is the hidden system folder - pale yellow - I am sure you know that - just for the benefit of anyone else who sees the thread ]

Then unmount with commit.

After you apply the image,typing bcdboot command you are already doing will put the fresh entry in - the c:\windows one.
 
Last edited:

My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Back
Top