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  
fess

Reducing Bartpe

Recommended Posts

It is possible to reduce size of BartPe?

For example: i do not need any network support, I need only shell and drive acces.

Share this post


Link to post
Share on other sites

Try UPX on exe ocx dll and (+ a whole lot more file types) and you can easily free up some space.

For example, all nero 32bit exe file can be UPXed. (Version 6.6.0.8 = 14.6 MB Same version using UPX = 4.17 MB.) Adobe exe and dll files work fine after UPX as well. Acrobat becomes A LOT smaller. Many windows files work fine too.

Be sure to test all programs to be sure they work!! I cannot stress this enough.

I personally use 2 different front ends for UPX. UPX Shell by Darklordz and GUIPex.

Be warned... big files like nero.exe or photoshop.exe can take a long time to compress.

A tip....don't use max compression, use the setting just below max. It will compress much quicker and the size difference between this and max is negligible.

Share this post


Link to post
Share on other sites

LiquidSage

Thanks for help, I will try to do it.

Many windows files work fine too.

That mean some files are not work? Which files are not work?

But can I remove some files from windir completely?

Share this post


Link to post
Share on other sites
That mean some files are not work? Which files are not work?
Yes some files cannot be compressed by UPX, moreover compressing files "could" slow your system due to the CPU overhead needed to decompress them on the fly.

If you want to reduce to a minimum Hard disk or CD occupied space you must accept some slower working of the system.

You have to go on a trial and error basis, to my best knowledge there is not a list of files "UPXABLE"

But can I remove some files from windir completely?

Yes, it is possible, but again, to my best knowledge there is not a complete list.

By using nlite on the source directory before making your BartPE you can get rid of MOST of the "unneeded" files.

I have made some experiments with Win 2k, not XP.

As of now I managed to reduce a win2k install to around 75-80 Mb, by removing unneeded files, including network ones and UPXing all was possible.

This was made by trial and error, and on an installed filesystem, so it can be used only as a list of "minimum" files needed, and must be "customized on the hardware (drivers) requirements.

How much of this applies to XP I cannot say.

If you are interested, post again, I will attach a "DIR" of the files.

jaclaz

Share this post


Link to post
Share on other sites
By using nlite on the source directory before making your BartPE you can get rid of MOST of the "unneeded" files.
I was try to do it, but BartPe write: "There where 435 errors and 0 warnings" and don't create iso image :(
If you are interested, post again, I will attach a "DIR" of the files.

I am interested, attach it, please :)

I am using WinXp, but I think Win2K and Xp is not very different.

Share this post


Link to post
Share on other sites

Ok, here you are.

In the attached file there are three files

NT911dir.txt is a dir /s of a minimal Win2k install WITHOUT WBEM

WINNTdir.txt is a dir /s of a minimal Win2k install with files UPXed and WBEM

WIPdir.txt is a dir /s of the files needed for a certain function (i.e. Control Panel or Add printer)

Please note that in both version I moved the "external" directory "Documents and Settings" inside the NT directory, renaming it to NTDocs and, since there are no programs installed, deleted the "Program Files" folder, AFTER having moved the MSINFO folder inside the NT directory.

jaclaz

Filelist.zip

Share this post


Link to post
Share on other sites

If you have an OPK there are sample files showing things that can be safely removed from WinPE images. in server sp1 the files are SERVERSP1-REMOVELIST.TXT and XPSP2-REMOVELIST.TXT

Share this post


Link to post
Share on other sites
I made only 112 mb without network support.
I made only ~130 MB :(
Visit 911 forums

What exactly topic in this forum?

I did not found :(

Share this post


Link to post
Share on other sites

You could look for example, in the Plugin folder for something by me (Wendy) of the title "delnetwork" or "delnetwk". There's also a "delfonts" plugin, that allows you to add and remove fonts.

Share this post


Link to post
Share on other sites

In BartPe plugins folder I don't see any plugins with this names.

Can you post link to this plugin?

Share this post


Link to post
Share on other sites

Try these plugins of mine

http://www.911cd.net/forums/index.php?showtopic=10048

This is my shell plugins: these mainly fix up BartPE's lack of timezone, etc.

http://www.911cd.net/forums/index.php?showtopic=8358

Endbuild, and assorted plugins.

http://www.911cd.net/forums/index.php?showtopic=9812

A more recent version.

http://www.911cd.net/forums/index.php?showtopic=8869

Tidy plugins (ie they remove files not required)

Wendy

Share this post


Link to post
Share on other sites

i suggested this as a feature to cyrano for his postprocessing plugin... guess he's still working on it.

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...