Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
scp

Take a look at WinPE "2006"

Recommended Posts

It's worth messing with to understand the hell you'll be dealing with soon. It will be truly worth it when it is part of Vista when it's a fully packaged product. Also I suggest vmware. I have never had any luck with Virtual PC and others tend to report bizarre problems with it. I have never had a problem with vmware.

Share this post


Link to post
Share on other sites

so scp how did u get explorer working ? im using 5270 and the corresponding ximage.

Long time ago, I must look at it again. But maybe this week I do it with the current build.

Share this post


Link to post
Share on other sites

OK, first part of using PE from 5342 is done.

1. Requirements for your (maybe virtual) PC:

You need at least 256MB of RAM

Create one empty partition with at least 8 GB space

Create a second smaller empty partition with at least 4 GB space

2. Install Windows 2000 or XP on the first partition, format the second

3. Run Vista Setup within Windows 2000 or XP, select first partition as target

4. Don't let Setup reboot! Insert a bootdisk or CD-ROM

5. Now you can save the Windows PE files and folders to another location:

$WINDOWS.~BT

boot

$bootdrive$

$DRVLTR$

$dwnlvldrive$

boot.ini

bootmgr

(arcldr.exe)

(arcsetup.exe)

(NTDETECT.COM)

(NTLDR)

6. Copy folders "boot" and "efi" and

files "bootmgr" and "bootmgr.efi"

from Vista DVD into "$WINDOWS.~BT"

7. Get the boot sector from Vista DVD

8. Copy bcdedit.exe from $WINDOWS.~BT\Windows\system32 to some other folder

9. In command-line run

bcdedit /store E:\LH5342\$WINDOWS.~BT\boot\bcd /set {default} device BOOT

bcdedit /store E:\LH5342\$WINDOWS.~BT\boot\bcd /set {default} osdevice BOOT

where you must replace "E:\LH5342\$WINDOWS.~BT" with your own location of $WINDOWS.~BT

10. Rename Setup.exe and Sources\Setup.exe to Setuq.exe or delete them

11. Burn $WINDOWS.~BT onto CD or DVD

12. The contents of the CD should now look like this:

boot
efi
Program Files
ProgramData
Sources
Users
Windows

autorun.inf
bootmgr
bootmgr.efi
readme.htm
readme.rtf
setuq.exe

Share this post


Link to post
Share on other sites

Update: Works also for Beta 2 (Build 5384)

Here is a little script for steps 8 to 10:

prepwpe.cmd

@echo off
set CDROOT=E:\LH5384\$WINDOWS.~BT\

If not exist %~dp0bcdedit.exe copy %CDROOT%Windows\system32\bcdedit.exe %~dp0

bcdedit /store %CDROOT%boot\bcd /set {default} device BOOT
bcdedit /store %CDROOT%boot\bcd /set {default} osdevice BOOT

bcdedit /store %CDROOT%boot\bcd /set {default} path \windows\system32\winload.exe
bcdedit /store %CDROOT%boot\bcd /set {default} systemroot \windows

bcdedit /store %CDROOT%boot\bcd /set {default} winpe yes
bcdedit /store %CDROOT%boot\bcd /set {default} detecthal yes

If exist %CDROOT%Setup.exe ren %CDROOT%Setup.exe Setuq.exe
If exist %CDROOT%Sources\Setup.exe ren %CDROOT%Sources\Setup.exe Setuq.exe

If you want to get Recovery options from command-line, run X:\Sources\Recovery\recenv.exe

Edited by scp

Share this post


Link to post
Share on other sites

Also works for Vista RC1 (5600), with some strange side effect: The buttons in the upper right corner do not contain Symbols and some Text in a window is not displayed. Also wpeinit.exe takes long time to load.

Remember winload.exe and winresume.exe is stored in system32 and the correspondending .mui files are in the sub folder of your language (e.g. system32\de-DE).

If you directly manipulatie the boot.wim image it works.

PS: Updated script above with some bcdedit lines.

Edited by scp

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...