For some reason I get two Windows 7 options in the Windows Boot Manager after I clean in Diskpart and apply a .wim to the C-Drive and make bootable and reboot.
I'm imaging Dell laptop's that already had Windows 7 on them.
My script first runs diskpart:
SELECT DISK 0
Create partition primary size=220373
SELECT PARTITION 1
format quick fs=ntfs label="Windows 7"
It then simply applies the image:
net use T: \\WDSServer.Domain.com\c$\images /user:firstname.lastname@example.org
g:\Imagex /apply T:\win7.wim 1 c:\
c:\windows\system32\bcdboot c:\windows /l en-us
Then I reboot and have to choose the first "Windows 7" option in the Windows Boot Manager to proceed with loading Windows 7.
Any way to fix this so I don't have to manually remove the 2nd entry within Windows?