Jump to content

Stripping WinPE down to bare essentials


Appleton

Recommended Posts

I want to strip my WinPE image down to as minimum as possible, maintaining support for imagex, diskpart, and networking support. Reason being is to try and get it to load as fast as possible. Everytime I strip out what I believe to be useless files the WinPE fails to boot. Any guides out there or already stripped down wim that I can download to save time?

Link to comment
Share on other sites


This is probably what you are looking for:

http://blogs.msdn.com/winpe/archive/2007/0...mple-steps.aspx

This is an article that explains how you can removed the unused packages from WinPE. The files are marked to be deleted and then are actually deleted when you export that WIM, resulting in a much smaller size. You can reduce it down to ~100 MB, which loads a lot faster than its normal size.

Link to comment
Share on other sites

This is probably what you are looking for:

http://blogs.msdn.com/winpe/archive/2007/0...mple-steps.aspx

This is an article that explains how you can removed the unused packages from WinPE. The files are marked to be deleted and then are actually deleted when you export that WIM, resulting in a much smaller size. You can reduce it down to ~100 MB, which loads a lot faster than its normal size.

Perfect! This is exactly what I was looking for, much appreciated :thumbup

Link to comment
Share on other sites

  • 2 weeks later...
This is probably what you are looking for:

http://blogs.msdn.com/winpe/archive/2007/0...mple-steps.aspx

This is an article that explains how you can removed the unused packages from WinPE. The files are marked to be deleted and then are actually deleted when you export that WIM, resulting in a much smaller size. You can reduce it down to ~100 MB, which loads a lot faster than its normal size.

Perfect! This is exactly what I was looking for, much appreciated :thumbup

First start by ripping your wim from a Vista disk and not the AIK one. This will be the WinRE wim and will be a lot smaller. My wim with files and programs added such as Ghost is 84 MB. I could make it a lot smaller but I need to have wmi and other packages (which have to be added manually if you use the WinRE wim).

You could also use a configuration.ini file when you create your wim. This will allow for you to always exclude files that you dont want

Here is part of mine.....

[ExclusionList]

\$ntfs.log

\hiberfil.sys

\pagefile.sys

"\System Volume Information"

\RECYCLER

\Windows\CSC

\setup.exe

\ProgramData

\Program Files\Internet Explorer

\sources\adprep

\sources\inf

\sources\license

\sources\servicing

\sources\dlmanifests

\sources\actionqueue.dll

\sources\alert.gif

\sources\apds.dll

\sources\apircl.dll

\sources\appcompat.xsl

\sources\appcompat_bidi.xsl

\sources\appcompat_detailed.xsl

\sources\appcompat_detailed_bidi.xsl

\sources\apss.dll

\sources\arunimg.dll

\sources\arunres.dll

\sources\autorun.dll

\sources\cbscore.dll

\sources\cbscore.mof

\sources\cbsmsg.dll

\sources\cmi2migxml.dll

\sources\cmiadapter.dll

\sources\cmitrust.dll

\sources\cmiv2.dll

\sources\cntrtextinstaller.dll

\sources\compliance.ini

\sources\compres.dll

\sources\csiagent.dll

\sources\diager.dll

\sources\diagnostic.dll

\sources\dpx.dll

\sources\drupdate.dll

\sources\drvmain.sdb

\sources\drvmgrtn.dll

\sources\drvstore.dll

\sources\envmig.xml

\sources\esscli.dll

\sources\fastprox.dll

\sources\fveupg.dll

\sources\globalinstallorder.xml

\sources\helpcins.dll

\sources\hwcompat.dll

\sources\hwcompat.txt

\sources\hwexclude.txt

\sources\idwbinfo.txt

\sources\input.dll

\sources\lang.ini

\sources\locale.nls

\sources\locdrv.dll

\sources\migcore.dll

\sources\mighost.exe

\sources\migisol.dll

\sources\migres.dll

\sources\migtestplugin.dll

\sources\mofd.dll

\sources\mofinstall.dll

\sources\mrt.exe

\sources\msdelta.dll

\sources\mspatcha.dll

\sources\msxml6.dll

\sources\msxml6r.dll

\sources\mxeagent.dll

\sources\nlsbres.dll

\sources\ntdsupg.dll

\sources\oemhelpins.dll

\sources\offline.xml

\sources\oscomps.xml

\sources\osfilter.inf

\sources\pidgenx.dll

\sources\pkeyconfig.xrm-ms

\sources\pkgmgr.exe

\sources\pnpibs.dll

\sources\product.ini

\sources\readme.rtf

\sources\repdrvfs.dll

\sources\rescinst.dll

\sources\rollback.exe

\sources\schema.dat

\sources\sdbapiu.dll

\sources\segoeui.ttf

\sources\setup.exe

\sources\sflist2k.dat

\sources\sflistlh.dat

\sources\sflistxp.dat

\sources\sfpat.inf

\sources\sfpat2k.inf

\sources\sfpatlh.inf

\sources\sfpatxp.inf

\sources\smiengine.dll

\sources\smipi.dll

\sources\sperr32.exe

\sources\spflvrnt.dll

\sources\spprgrss.dll

\sources\spwizeng.dll

\sources\spwizimg.dll

\sources\spwizres.dll

\sources\sqmapi.dll

\sources\sysmain.sdb

\sources\unattend.dll

\sources\unbcl.dll

\sources\uninstallustlib.mof

\sources\upgcompat.inf

\sources\upgdriver.dll

\sources\upgloader.dll

\sources\upgradeagent.dll

\sources\upgradeagent.xml

\sources\upgrade_bulk.xml

\sources\upgreport.dll

\sources\upgwow_bulk.xml

\sources\ustlib.mof

\sources\vofflps.rtf

\sources\w32uiimg.dll

\sources\w32uires.dll

\sources\warning.gif

\sources\wbemcomn.dll

\sources\wbemcore.dll

\sources\wbemprox.dll

\sources\wcmtypes.xsd

\sources\wcp.dll

\sources\wdsclient.dll

\sources\wdsclientapi.dll

\sources\wdscore.dll

\sources\wdscsl.dll

\sources\wdsimage.dll

\sources\wdsutil.dll

\sources\win32ui.dll

\sources\winsetup.dll

\sources\wmiutils.dll

\sources\wmi_tracing.mof

\sources\en-US\dlmanifests\microsoft-windows-storagemigration\stormigplugin.dll.mui

\sources\en-US\apds.dll.mui

\sources\en-US\apircl.dll.mui

\sources\en-US\apss.dll.mui

\sources\en-US\arunres.dll.mui

\sources\en-US\cbsmsg.dll.mui

\sources\en-US\compres.dll.mui

\sources\en-US\du_help_what_info_sent_to_ms.rtf

\sources\en-US\du_help_why_get_updates.rtf

\sources\en-US\help_what_is_activation.rtf

\sources\en-US\input.dll.mui

\sources\en-US\migres.dll.mui

\sources\en-US\mofd.dll.mui

\sources\en-US\msxml6r.dll.mui

\sources\en-US\nlsbres.dll.mui

\sources\en-US\pkgmgr.exe.mui

\sources\en-US\pnpibs.dll.mui

\sources\en-US\readme.rtf

\sources\en-US\rollback.exe.mui

\sources\en-US\setup.exe.mui

\sources\en-US\setup_help_upgrade_or_custom.rtf

\sources\en-US\smiengine.dll.mui

\sources\en-US\sperr32.exe.mui

\sources\en-US\spwizres.dll.mui

\sources\en-US\upgdriver.dll.mui

\sources\en-US\upgloader.dll.mui

\sources\en-US\vofflps.rtf

\sources\en-US\w32uires.dll.mui

\sources\en-US\wbemcore.dll.mui

\sources\en-US\wdsclient.dll.mui

\sources\en-US\wdsimage.dll.mui

\sources\en-US\winsetup.dll.mui

\sources\en-US\wmiutils.dll.mui

\Windows\Boot

\Windows\Branding

\Windows\Globalization

\Windows\resources

\Windows\security

\Windows\tracing

\Windows\Microsoft.NET

\Windows\PolicyDefinitions

\Windows\LiveKernelReports

\Windows\L2Schemas

\Windows\Help

\Windows\debug

\Windows\System32\ar-SA

\Windows\System32\bg-BG

\Windows\System32\Branding

\Windows\System32\cs-CZ

\Windows\System32\da-DK

\Windows\System32\de-DE

\Windows\System32\el-GR

\Windows\System32\et-EE

\Windows\System32\fi-FI

\Windows\System32\GroupPolicy

\Windows\System32\GroupPolicyUsers

\Windows\System32\he-IL

\Windows\System32\hr-HR

\Windows\System32\hu-HU

\Windows\System32\it-IT

\Windows\System32\ja-JP

\Windows\System32\ko-KR

\Windows\System32\lt-LT

\Windows\System32\lv-LV

\Windows\System32\nb-NO

\Windows\System32\nl-NL

\Windows\System32\oobe

\Windows\System32\pl-PL

\Windows\System32\pt-BR

\Windows\System32\pt-PT

\Windows\System32\RemInst

\Windows\System32\restore

\Windows\System32\ro-RO

\Windows\System32\ru-RU

\Windows\System32\sk-SK

\Windows\System32\sl-SI

\Windows\System32\SMI

\Windows\System32\sr-Latn-CS

\Windows\System32\sv-SE

\Windows\System32\sysprep

\Windows\System32\th-TH

\Windows\System32\uk-UA

\Windows\System32\wfp

\Windows\System32\winevt

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...