Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Creating a WinPE Script File

20 Feb 2011   #1

Windows 7 Ultimate x64
Creating a WinPE Script File

Hello All,

I'm using the WIAK CD to create a winpe boot media and it works fine, there are a few commands that you have to remember so I created a winpe.cmd file to make life easier. Here is the content of my winpe.cmd file:

copype x86 c:\winpe
copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim
copy "c:\program files\windows aik\tools\x86\imagex.exe" c:\winpe\iso
oscdimg -n -bc:\winpe\ c:\winpe\iso\ c:\winpe\winpe.iso

when I run (from the WAIK command line in admin mode) the first line copype x86 c:\winpe is the only line that executes, can anyone tell me why the rest of the commands don't run?


Pat Dee.

My System SpecsSystem Spec
20 Feb 2011   #2
Microsoft MVP

Windows 7 Ultimate 32bit SP1

My System SpecsSystem Spec
20 Feb 2011   #3

Windows 7 Ultimate x64

Thanks Jacee, interesting reading.....but I was aware of this issue is more to do with creating automation for the creation of a winpe media. I'm just not familiar with the creation process.....
My System SpecsSystem Spec

22 Feb 2011   #4

Windows 7 Ultimate x64

Okay...I managed to figure it out.....I need to insert the "Call" command in the .cmd file.

Thanks everyone.
My System SpecsSystem Spec

 Creating a WinPE Script File

Thread Tools

Similar help and support threads
Thread Forum
Windows Script Host: Can not find script file ?
Hello & Thanks , win7 x64 Starting yesterday , I keep getting the following message: Windows Script Host Can not find script file "C:\ProgramData\{95137DD0-C591-AC56-7417-DCD4A4950F5A}\\lare.txt". Any idea why and how to fix it ? Thanks/ ...Vern Tags: win7 x64, Download Games...
General Discussion
Windows 7 creating blank txt file after running a batch script
I have the following batch script @echo off setlocal enableextensions set "baseName=dnshistory" set "count=0" for /f "delims=%baseName%." %%a in (
General Discussion
Help needed in creating a script to change certain Windows 7 settings
Morning, afternoon and or evening ladies and gentlemen. Glad to be a part of the forums. As the title of the thread implies, I would like some help in creating a script or scripts to change a few settings in windows instantaneously with a single keystroke, command or perhaps using specific...
General Discussion
Creating a Show Desktop Script for keyboard Hotkey.
Hello (firstly i wasnt too sure where to put this post, so if a moderators reading this - feel free to move it.) Okay so ive just got a Logitech Cordless Desktop EX110, and the keyboard (like most moderately priced keyboards) has numerous 'hot-keys' (like music controls, email button,...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:45.
Twitter Facebook Google+