XXCOPY
[ Back to Table of Contents ] [ << ] [ >> ]

XXCOPY TECHNICAL BULLETIN #80


From:    Kan Yabumoto           tech@xxcopy.com
To:      XXCOPY user
Subject: A minimum WinXP Install (work in progress)
Date:    2003-03-23
===============================================================================

In many occasions, it is very convenient to have a Windows XP
system with a minimum set of functionality.  

It is sometimes convenient to have a second set of Win XP
system installed on the same drive as what Microsoft calls 
"Parallel Install".  Although Microsoft discourages to use
the same volume for parallel install, there are also advantages
of doing so.  For one thing, the volume already has common
directories such as "\Program Files\" in place which are
readily available.  This is one of the situation that
knowing the minimum XP file set helps reducing the unnecessary
storage space.


  ------------------------------------------------------------
   When you use the same volume for second "Parallel Install",
   you need to take certain precaution in order to avoid
   possible collision of files that inadvertently "breaks"
   the working (main) Windows XP system.  So, don't try it
   at home --- not just yet.   Another technical bulletin
   with a full coverage on the subject is in order.
  ------------------------------------------------------------



The following is a list of files for the minimum XP.

C:\windows\
C:\windows\fonts\*.ttf   *.fon
C:\windows\resources\themes\luna\luna.msstyles
C:\windows\winsxs\manifests\*.manifest
C:\windows\winsxs\winsxs\*\comctl32.dll
C:\windows\system32\config\*.*
C:\windows\system32\drivers\*.sys
C:\windows\system32\*.dll     (less than half is all you need)


Here's what you don't need (You can safely delete)

  C:\windows\apppatch\
  C:\windows\inf\
  C:\windows\system\        (surprise!!!)
  C:\windows\msagent\
  C:\windows\help\
  C:\windows\ime\           (depending on the language)
  C:\windows\srchasst\
  C:\windows\mui\
  C:\windows\temp\
  C:\windows\debug\
  C:\windows\tasks\
  C:\windows\registration\
  C:\windows\pchealth\
  C:\windows\installer\
  C:\Windows\system32\catroot\
  C:\Windows\system32\catroot2\
  C:\Windows\system32\wbem\
  C:\Windows\system32\dllclache\
  C:\Windows\system32\setup\
  C:\Windows\system32\npp\
  C:\Windows\system32\spool\
  C:\Windows\system32\inetsrv\
  C:\Windows\system32\ime\
  C:\Windows\system32\com\
  C:\Windows\system32\1033\
  C:\Windows\system32\usmt\
  C:\Windows\system32\mui\
  C:\Windows\system32\oobe\
  C:\Windows\system32\xircom\
  C:\Windows\system32\restore\
  C:\Windows\system32\macromed\


Note that many of these directories will be created when
you boot up the system for the first time into the minimum XP
environment.  Typically the newly created directories remain
empty (you may delete them, but they will come back).


I haven't tried to find the minimum set for the font files
as well as most of the files listed as needed in here.  But,
the relatively small directories are not very relevant.
I'm concentrating on the total space occupied by unnecessary
files --- the goal for now is to reduce the storage requirement
more than the total number of files (but in a FAT volume),
many small files also contribute to a substantial waste.


So far, I have reduced the \Windows\ directory size from 650MB
down to 296 MB.  Still the largest section is by far the
C:\windows\system32\ directory which is a dumping ground for
any applications.  I have a hunch that once the essential
DLL files are identified, the total byte count will be less
than 200 MB.


Since this directory grows over time
(every time you add a new application, you may find lots of
files added into this directory), it is nice to know what
is the minimum requirement in this very important directory.

Here's a few tips to remove unnecessary files:


  *.nls     National Language support files.
            except for what aplly to your own language environment.

            In my (U.S. English) settings, I need only the
            following three:
                
            c_437.nls 
            c_1252.nls
            l_intl.nls
 
  kbd*.dll  Keyboard control library files.
            except for what applies to your own keyboard.

            In my (U.S. English) settings, I kept the following:

            kbdus.dll

	    The easiest way to find what is needed is to run the
	    following command:
	    
	    del c:\windows.alt\system32\kbd*.dll

	   (the one in use won't be deleted.)


  odbc*.dll   ODBC (Open Database Connectivity) related files

  
  avi*.dll    Vide Capture tools
 
 
Mmore study is needed to remove unnecessary files... 



If you know for sure a list of DLL files that are not needed,
please let me know.  Also, if you know certain files that
are needed in your system (especially for non-US environment,
please contact me.

Kan Yabumoto 
 

© Copyright 2016 Pixelab All rights reserved.

[ XXCOPY Home ] [ Table of Contents ] [ << ] [ >> ]

Join the XXCOPY group