rob4dance Posted August 9, 2012 Share Posted August 9, 2012 Hi,For Win7, my USB key has BCD Entries to boot:1) WinPE 3.0 x86 Edition2) WinPE 3.0 x64 Edition3) Windows 7 Setup (All in One)I've been trying to do similar for WinPE 4.0 but can't get it to work.All I need is to have the choice to boot either 32 or 64 bit & I can manually run the setup from there.FOR /F "delims={} tokens=2" %%I IN ('bcdedit /store boot\bcd /copy {default} /d "WinPE x64"') DO SET OSGUID=%%ISET OSGUID={%OSGUID%}bcdedit /store boot\bcd /set %OSGUID% device ramdisk=[boot]\Boot\WinPE_x64.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}bcdedit /store boot\bcd /set %OSGUID% osdevice ramdisk=[boot]\Boot\WinPE_x64.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}FOR /F "delims={} tokens=2" %%I IN ('bcdedit /store boot\bcd /copy {default} /d "WinPE x86"') DO SET OSGUID=%%ISET OSGUID={%OSGUID%}bcdedit /store boot\bcd /set %OSGUID% device ramdisk=[boot]\Boot\WinPE_x86.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}bcdedit /store boot\bcd /set %OSGUID% osdevice ramdisk=[boot]\Boot\WinPE_x86.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}bcdedit /store boot\bcd /displayorder %OSGUID% /addfirstbcdedit /store boot\bcd /default %OSGUID%bcdedit /store boot\bcd /timeout 10With WinPE 4.0 I don't get a menu. The timeout value makes no difference. It does boot though. Seems to boot whatever is the 1st entry only...Also, if I do get this working, does it only apply to Bios or do I need to modify BCD in the EFI folder as well?I think I'll most likely be booting in UEFI mode to utilize GPT...Any help would be great! I don't need to be carrying too many usb keys! Link to comment Share on other sites More sharing options...
cdob Posted September 2, 2012 Share Posted September 2, 2012 With WinPE 4.0 I don't get a menu.Delete value bootmenupolicybcdedit.exe /store boot\bcd /deletevalue {default} bootmenupolicybootmgr itself shows a progress bar by default. That's bootmenupolicy is missing. Link to comment Share on other sites More sharing options...
rob4dance Posted September 3, 2012 Author Share Posted September 3, 2012 With WinPE 4.0 I don't get a menu.Delete value bootmenupolicybcdedit.exe /store boot\bcd /deletevalue {default} bootmenupolicybootmgr itself shows a progress bar by default. That's bootmenupolicy is missing.That's it! Thanks heaps! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now