andregcasal Posted October 28, 2006 Posted October 28, 2006 (edited) Ok, people, the purpose of this post is to provide a way to shrink your source to the absolute maximum. In this post is provided a "Last Session.ini", that you can use with nLite, that removes ALL the possible components and files. Also included is a little tutorial on how to zero-byte some files that are impossible to remove but don't necessarily need to have information on them. I'll ask you guys to keep it simple, just post links to tutorials on how to slim down Windows installation sources further that nLite, post tutorials, or just post the files you deleted or "zero-byte'd". Please don't post unrelated material as i would like to keep this thread as clean as possible.Statistics:ISO file size: 69.4MBSaved space: 30.6 MB (this is only the beginning!)RAM consumed: 17.5MB (with no programs running)Installation time: 5min. (on a fast computer)changelogOut, 30Added How to zero-byte files instructionAdded "Last Session.ini" attachmentOut, 28Creation of this topicHow to use the Last Session.ini filenLite alone you can shrink a CD-size source into roughly 100MB, with the "Last Session.ini" provided in this post you can have a source with about 70MB, that means faster installations and 30 precious extra Megabytes (at least, for now) are taken away from the source.I will describe a very simple way to use the "Last Session.ini":With nLite aimed to your source, select "Import" in the Presets screen and select the "Last Session.ini" you downloaded from hereIn the Remove Components window select "Advanced" and delete the files from the list that you are absolutely sure you need (use the list below)Do the same with the boxesFor this post we will suppose ALL the boxes where selected so the source is the smallest possibleUse this list to check if you will need a certain file (step 2)Green files CAN be deleted.Red files CANNOT be deleted.Alphabetical order:8514FIX.FON - 3KB - Don't delete if you need to use fonts for individuals who have low vision. They allow to change system fonts with bigger fonts.8514OEM.FON - 4KB - Don't delete if you need to use fonts for individuals who have low vision. They allow to change system fonts with bigger fonts.8514SYS.FON - 3KB - Don't delete if you need to use fonts for individuals who have low vision. They allow to change system fonts with bigger fonts.61883.INF - 1KB - Driver used by cameras. Don't delete this if you connect your camera thru firewire.61883.SYS - ...KB - Not present in I386 but is in TXTSETUP.txt... WTF?ACCESSOR.INF - 6KB - Deleting this file will prevent you from acessing the "Add/Remove Windows Components". See here.ACLEDIT.DLL - 45KB - Description: Access Control List Editor.ACLUI.DLL - 44KBACPI.INFACPI.SYSACPIEC.SYSACTIVEDS.DLL - 73KB - Don't delete if you use Active Directory Service Interfaces (ADSI).ACTMOVIE.EXE - 2KBADSLDPC.DLL - 67KBADVAPI32.DLLADVPACK.DLL - 42KBRandom files:LOGONUI.EXE - 125KB - Windows Logon User Interface. If you delete this file, Windows will display the classic logoff and logon prompts; however, you can reboot to Windows without it.MSHTA.EXE - 12KB - Non-essencial system process needed to execute HTA files. Don't delete if you use Windows Post-Installation Wizard (WPI).OEMBIOS.BIN - 12.5MBOEMBIOS.CAT - 4KBOEMBIOS.DAT - 4KBOEMBIOS.SIG - 3KBYAHOO.BMP - 1KB - No idea. But i suspect it isn't needed.Components that (i think) should be removed by nLite but aren't:BATMETER.DLL - 12KB - Don't remove this if your using a laptop.IMAPI.SYS - 59KB - Don't remove this if you want to use IMAPI burning.Next to be tested:AEC.SYSAFD.SYSAMDK6.SYSAMDK7.SYSHow to zero-byte files:If the file is cabbed, decompress it with WinRAR and delete the cabbed file. When replacing with 0-bit equivalents, you should rather have a .CAT extension (not .CA_)Open with NotepadSelect all (Ctrl+A) and deleteSave fileList of files that can be zero-byte'd:All CAT files inside ASMS can be "zero-byted" - 55KBSPx.CAT - 416KB (x beeing the Service Pack number)MSTSWEB.CAT - 5KBHPCRDP.CAT - 6KBOSCCAB.CAT - 7KBI could use a hand testing the txtsetup.txt files Last_Session.ini Edited August 16, 2007 by andregcasal
bledd Posted October 28, 2006 Posted October 28, 2006 windows throws a fit when you delete the oembios file, if you can find a way to avoid that, then major kudos!
minigun Posted October 28, 2006 Posted October 28, 2006 windows throws a fit when you delete the oembios file, if you can find a way to avoid that, then major kudos!its along time since i did it but...a hex edit to winlogon.exe can fix that
Madhits45 Posted October 28, 2006 Posted October 28, 2006 minigun can you provide your hex edited winlogon.exe here. I would like to play with it.
andregcasal Posted October 28, 2006 Author Posted October 28, 2006 (edited) People, please don't post comments without material and post OEMBIOS related material in the right post, this is not the right post to discuss OEMBIOS: http://www.msfn.org/board/index.php?showtopic=33591 Edited October 28, 2006 by andregcasal
Camarade_Tux Posted October 28, 2006 Posted October 28, 2006 (edited) I may be wrong but imapi.sys is not necessarilly only related to IMAPI Burning.Oh, and, see : ntprint.inf/.cat, spX.cat, 0-bit sfcfiles.dll, cab more i386 files Edited October 28, 2006 by Camarade_Tux
Inferi0r Posted October 28, 2006 Posted October 28, 2006 (edited) mshta.exe = 1,,,,,,,2,0,0 - Non-essencial system process needed to execute HTA files.The process name of WPI = mshta.exe So if you use WPI you can't remove this? Edited October 28, 2006 by arco
Camarade_Tux Posted October 28, 2006 Posted October 28, 2006 mshta.exe = 1,,,,,,,2,0,0 - Non-essencial system process needed to execute HTA files.The process name of WPI = mshta.exe So if you use WPI you can't remove this?Indeed.
andregcasal Posted October 28, 2006 Author Posted October 28, 2006 (edited) I may be wrong but imapi.sys is not necessarilly only related to IMAPI Burning.IMAPI.sys = IMAPI Kernel Driver, see http://www.dynamiclink.nl/htmfiles/rframes...s/info_i/40.htm . It looks like it is only used with IMAPI burning. I'll try burning a CD without this file asap.EDIT: Test successfully completed. imapi.sys CAN be deleted and it won't be needed for burning software. Edited October 28, 2006 by andregcasal
andregcasal Posted October 28, 2006 Author Posted October 28, 2006 (edited) logonui.exe = 100,,,,,,,2,0,0 - Windows Logon User Interface. If you delete this file, Windows will display the classic logoff and logon prompts; however, you can reboot to Windows without it. When we remove LogonUI.exe and reboot to Windows, it asks for an Administrator password, which is blank. Does anyone know how to bypass this so Windows log's on directly to the desktop? Edited October 28, 2006 by andregcasal
hulkviper Posted October 28, 2006 Posted October 28, 2006 (edited) IMAPI Kernel Driver c:\windows\system32\drivers\imapi.sysis it this one you guys mean?I have tried deleting this one before and also deleted the reg entry in Autorunshttp://www.sysinternals.com/Utilities/autoruns.htmlThen the CD/DVD drive wasn't shown in My Computer after reboot. Edited October 28, 2006 by hulkviper
andregcasal Posted October 28, 2006 Author Posted October 28, 2006 (edited) Hi hulkviper.Yeah, but we are talking about windows sources, not windows installations, so that doesn't apply here. Edited October 28, 2006 by andregcasal
andregcasal Posted October 28, 2006 Author Posted October 28, 2006 First 10 entries tested, with a total of 14 files that can be deleted from the Windows source, saving 274 KB of precious space. Now i'm going to do a break. Maybe tomorrow i test 10 more. If someone is interested in slimming down your source, feel free to test and report back to us See you around,André Casal
hulkviper Posted October 28, 2006 Posted October 28, 2006 Hi hulkviper.Yeah, but we are talking about windows sources, not windows installations, so that doesn't apply here.ok :SSo next time I can remove the driver from my windows xp source and everything will work?
minigun Posted October 29, 2006 Posted October 29, 2006 i cant remember what the edit is... and if i could i cant post it here
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now