windows pe

Posted on 2009-04-30
Last Modified: 2013-11-14
hi does any know how to create a bootable cd using windows pe
i followed the walkthrough from technet but i ve got no luck at all
it did let me boot from the disc but it couldnt let me installed it via installation command
thanks in advance
@echo off


diskpart /s R:\scripts\diskpartactivate.txt

imagex /apply R:\image\ 1 c:\ /verify

cscript /nologo R:\scripts\ZTIHalDetect.vbs

echo The installation has completed. Please press CRTL+ALT+DEL to reboot.

@echo off


wpeutil reboot

Open in new window

Question by:emeraldpiggy
    LVL 22

    Expert Comment

    by:Adam Leinss
    This is the article I used:

    This requires a free download of the WAIK.

    Author Comment

    hi aleinss
    i ve installed aik as well as windows development tool kit

    Author Comment

    hi aleinss
    thanks for the help . ive done installation but when i reboot it. it says bootmgr is missing. but it is in my root folder. do u know why it happens?
    LVL 22

    Expert Comment

    by:Adam Leinss
    This is the command that makes the CD bootable:

    oscdimg -n -h -bc:\winpe\                           c:\winpe\iso c:\winpe\winpe.iso  <enter>

    Are you trying this with a CD or USB flash drive?

    Author Comment

    hi aleiness
    it turns out to be the wim i captured is not right
    i tried to use sysprep and wds to capture the wim file
    and when i use imagex  to mount it
    it says the data is invalid

    can u plz help me on this
    LVL 22

    Accepted Solution

    Not sure where we are going with this question.  You posted a script that would automate the apply of a WIM file without WDS from WinPE for XP (but are posting in the Vista section), then you ask how to make a WinPE disc from scratch and now you are having troubles deploying a WIM from WDS for some unknown operating system (Vista perhaps, since bootmgr is the boot loader for Vista)
    In any case, after you apply a WIM, bootsect must be called to prep the boot sector with the correct boot code for either XP or Vista.  If you are deploying XP, use bootsect /nt52 sys and if you are deploying Vista, use bootsect /nt60 sys
    I have little experience with WDS, so someone else would chime in on that aspect.

    Author Closing Comment

    thanks that was helpful

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like, I've seen routers with default values of:,,, …
    I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now