Rakesh Baldha Posted January 9, 2008 Share Posted January 9, 2008 Could anyone please help me to reducing WinPE 2.0 footprint by size as well as time?Thanks. Link to comment Share on other sites More sharing options...
IcemanND Posted January 9, 2008 Share Posted January 9, 2008 What have you added/removed? What steps did you take in creating your PE2 environment? Need some more details. Did you do an export? Did you prep the image?What are you using PE2 for? so we know what needs to be left behind for the functionality you require. Link to comment Share on other sites More sharing options...
Rakesh Baldha Posted January 10, 2008 Author Share Posted January 10, 2008 (edited) What have you added/removed? What steps did you take in creating your PE2 environment? Need some more details. Did you do an export? Did you prep the image?What are you using PE2 for? so we know what needs to be left behind for the functionality you require.I did following steps>copype.cmd x86 %PEDIR%>imagex /mountrw %PEDIR%\ISO\sources\boot.wim 1 %PEDIR%\mount// removed font foleder from /windows/font// removed unused exe,dll from /windows/system32/// added some drivers, by peimg /inf// added 50 mb of binaries for our customization>peimg /prep %PEDIR%\WINDOWS>imagex /unmount %MOUNTDIR% /commit>imagex /export %PEDIR%\ISO\sources\boot.wim 1 %PEDIR%\ISO\sources\boot.wim %1 /compress max>oscdimg.exe -b%PEDIR%\ISO\boot\etfsboot.com -lWINPE20 -n -o -m %PEDIR%\ISO %PEDIR%\DefWinPEISO.isoI am trying this on default ISO image now without adding my drivers,yeah it optimize iso image size but It won't affect in boot time, boot time remain same.but I want to optimize further in time. also in size if you have some more suggestions.--> Problem I face is:When I copy Waik package on my local machine then I tried above experiement on it,but when I export this wim file It reduced size, when I used this reduced wim file in oscdimg, my iso size is reduced.but when I again mount exported wim file it has all the componant which I have removed.still it has same boot time, no change in boot time, what can I do for optimize time?thanks Edited January 10, 2008 by Rakesh Baldha Link to comment Share on other sites More sharing options...
vickerps Posted January 10, 2008 Share Posted January 10, 2008 // removed unused exe,dll from /windows/system32/Hi Rakesh what were you able to remove.I am in the process of trying stripping out dll's and exe's but having problems reducing the size to what i like it to be. Basically i trying to get the winpe with network running on a pc with 256mb. I am pxe boot and loading the Winpe image into memory so space is really important. Link to comment Share on other sites More sharing options...
jaclaz Posted January 10, 2008 Share Posted January 10, 2008 You should have a look at the VistaPE project here:http://www.vistape.net/http://www.boot-land.net/forums/VistaPE-f51.htmljaclaz Link to comment Share on other sites More sharing options...
Rakesh Baldha Posted January 16, 2008 Author Share Posted January 16, 2008 // removed unused exe,dll from /windows/system32/Hi Rakesh what were you able to remove.I am in the process of trying stripping out dll's and exe's but having problems reducing the size to what i like it to be. Basically i trying to get the winpe with network running on a pc with 256mb. I am pxe boot and loading the Winpe image into memory so space is really important.I have attached removed exe list.~rakeshremovedexe.txt Link to comment Share on other sites More sharing options...
dkreifus Posted January 24, 2008 Share Posted January 24, 2008 I have a script which compiles my PE. (as im sure most do).Here is the list of removed files. Add suggestions would be helpful, as the slimmer the better.Has anyone had any success getting a DOS emulator (such as DOSbox) to work on PE? I want to run a 16-bit program through PE, with no success.rd /s /q %winpe%\mount\Windows\System32\ar-SA rd /s /q %winpe%\mount\Windows\System32\bg-BG rd /s /q %winpe%\mount\Windows\System32\cs-CZ rd /s /q %winpe%\mount\Windows\System32\da-DK rd /s /q %winpe%\mount\Windows\System32\de-DE rd /s /q %winpe%\mount\Windows\System32\el-GR rd /s /q %winpe%\mount\Windows\System32\es-ES rd /s /q %winpe%\mount\Windows\System32\et-EE rd /s /q %winpe%\mount\Windows\System32\fi-FI rd /s /q %winpe%\mount\Windows\System32\fr-FR rd /s /q %winpe%\mount\Windows\System32\he-IL rd /s /q %winpe%\mount\Windows\System32\hr-HR rd /s /q %winpe%\mount\Windows\System32\hu-HU rd /s /q %winpe%\mount\Windows\System32\it-IT rd /s /q %winpe%\mount\Windows\System32\ja-JP rd /s /q %winpe%\mount\Windows\System32\ko-KR rd /s /q %winpe%\mount\Windows\System32\lt-LT rd /s /q %winpe%\mount\Windows\System32\lv-LV rd /s /q %winpe%\mount\Windows\System32\nb-NO rd /s /q %winpe%\mount\Windows\System32\nl-NL rd /s /q %winpe%\mount\Windows\System32\pl-PL rd /s /q %winpe%\mount\Windows\System32\pt-BR rd /s /q %winpe%\mount\Windows\System32\pt-PT rd /s /q %winpe%\mount\Windows\System32\ro-RO rd /s /q %winpe%\mount\Windows\System32\ru-RU rd /s /q %winpe%\mount\Windows\System32\sk-SK rd /s /q %winpe%\mount\Windows\System32\sl-SI rd /s /q %winpe%\mount\Windows\System32\sv-SE rd /s /q %winpe%\mount\Windows\System32\th-TH rd /s /q %winpe%\mount\Windows\System32\tr-TR rd /s /q %winpe%\mount\Windows\System32\uk-UA rd /s /q %winpe%\mount\Windows\System32\zh-CN rd /s /q %winpe%\mount\Windows\System32\zh-TW rd /s /q %winpe%\mount\Windows\System32\zh-HKrd /s /q %winpe%\mount\Windows\System32\sr-Latn-CSrd /s /q %winpe%\ISO\boot\fontsrd /s /q %winpe%\ISO\EFI\microsoft\boot\fontsdel /s /q %winpe%\mount\Windows\System32\diskraid.exedel /s /q %winpe%\mount\Windows\System32\dpapimig.exedel /s /q %winpe%\mount\Windows\System32\ftp.exedel /s /q %winpe%\mount\Windows\System32\ntprint.exedel /s /q %winpe%\mount\Windows\System32\ntprint.dlldel /s /q %winpe%\mount\Windows\System32\print.exedel /s /q %winpe%\mount\Windows\System32\printui.dlldel /s /q %winpe%\mount\Windows\System32\robocopy.exedel /s /q %winpe%\mount\Windows\System32\taskmgr.exedel /s /q %winpe%\mount\Windows\System32\wbengine.exedel /s /q %winpe%\mount\Windows\System32\wbadmin.exedel /s /q %winpe%\mount\Windows\System32\wdscapture.exedel /s /q %winpe%\mount\Windows\System32\wdscapture.inf Link to comment Share on other sites More sharing options...
Nuno Brito Posted February 27, 2008 Share Posted February 27, 2008 This a bit off topic if we take into consideration the original request for this topic, but there is script for liveXP that adds 16 bit support to a XP PE (NT5) based winbuilder project.Since it is also using winbuilder perhaps this can be adapted to work with VistaPE/WinPE 2.0 or at the very least give you pointers on what you need to try in order to get 16 bit support under NT6. (don't know for sure if much has changed across NT versions)You find it here: http://livexp.boot-land.net/LiveXP/Apps/Sy...dos16bit.Script Link to comment Share on other sites More sharing options...
dkreifus Posted February 27, 2008 Share Posted February 27, 2008 This a bit off topic if we take into consideration the original request for this topic, but there is script for liveXP that adds 16 bit support to a XP PE (NT5) based winbuilder project.Since it is also using winbuilder perhaps this can be adapted to work with VistaPE/WinPE 2.0 or at the very least give you pointers on what you need to try in order to get 16 bit support under NT6. (don't know for sure if much has changed across NT versions)You find it here: http://livexp.boot-land.net/LiveXP/Apps/Sy...dos16bit.ScriptHow do I run that script? Where do I run it? I've been looking for this functionality for a while! Link to comment Share on other sites More sharing options...
Nuno Brito Posted February 27, 2008 Share Posted February 27, 2008 Ok, I'll explain everything from the start so that you can understand in detail how to get this done, but do post your doubts along the way and I'll try to help getting them sorted out.Here's a quick check list for trying the script in action inside winbuilder: Get the latest WinBuilder: http://winbuilder.net/download.php?list.3 Run the executable on a empty folder (such as c:\winbuilder) From the internal download center get the latest projects from the web (vistape, livexp, etc)If you done the above steps then you should be viewing inside winbuilder a project called liveXP, get inside the folder Apps\System on the project treeview inside wb and ensure that the 16bit support script is enabled.Click on play (big blue button) and select a source to your Windows XP PRO SP2 (recommended) files.View the results and burn the ISO to a CD or DVD and after booting the image you can try running you 16 bit apps on disk.----------------After you get some feeling of how things work - time to move onto VistaPE based on WinPE 2.x and also build a boot disk based on this project (instructions are included inside the project)After trying this project for the first time with success - it should then be time to port the same capability to VistaPE (don't think anyone ever tried it before) - wb has an internal script code editor that you can use to peek at the code and give a try to adapt it to work with this WinPE project.Much of the support for VistaPE is also given on the respective forum, look here for help: http://www.boot-land.net/forums/VistaPE-f51.html 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