Windows 7duplicate in boot menu

Posted by Mick on Server Fault See other posts from Server Fault or by Mick
Published on 2013-11-12T15:06:42Z Indexed on 2013/11/12 15:53 UTC
Read the original article Hit count: 265

Filed under:
|
|

I deploy my Windows 7 with imagex.exe. I do this by means some batch script :

Win7_install.bat:

cls
Diskpart /s Win7_install.txt
Imagex /apply Win7_October.wim 1 C:
Bcdboot C:\Windows
Exit

Win7_install.txt:

SELECT DISK 0
CLEAN
CREATE PARTITION PRIMARY SIZE=102400
SELECT PARTITION 1
FORMAT fs=ntfs LABEL=”SYSTEM” quick
ASSIGN LETTER=C
CREATE PARTITION PRIMARY
SELECT PARTITION 2
FORMAT fs=ntfs LABEL=”DATA” quick
SELECT PARTITION 1
ACTIVE
EXIT

Then after restart I have duplicate entries in boot menu. Anybody have some idea how fix it?

Regards

© Server Fault or respective owner

Related posts about Windows

Related posts about windows-7