Tidbits - Fitting XP onto a 4GB drive
OVERVIEW
You have your new ultraportable laptop - in my case an Asus EeePC 900.  The primary solid
state drive that houses the operating system - Windows XP - is only 4GB in size.  You think
to yourself, what can I do with this given that my fully functional desktop/laptop uses 10GB+
for the C: drive !  Well if you manage it properly, you can get a good chunk of your desktop
functionality on just over 3GB of hard disk space.

WHAT DO I HAVE RUNNING ON 3GB OF DISK SPACE ?
Well actually, it's 3.2GB of C: drive + 605MB on D: drive, but the D: drive can take it.

- 3 Mobile Broadband - for wireless broadband using a 3G network
- Adabas D - a relational database that use to form part of Sun's StarOffice
- Adobe Flash Player & Plugin
- Adobe Reader 8.1
- MS Office 2003 (Excel, Word, Powerpoint and Outlook)
- MS Office 2007 Compatibility Pack
- Windows Media Player 9
-  Intervideo XPack
- Java Runtime 5
- MS .NET Framework 1.1
- FireFox Browser 3
- Internet Explorer 6
- QuickTime 7.5
- ThumbsPlus 7 - for viewing graphics
- ZoneAlarm Security Suite

WHAT DO I DO ?
a) Get rid of most of the pre-loaded software
Dump the stuff you are not going to use.  Open Control Panel - Add or Remove Programs
and remove Skype, Windows Live email, Windows Live Photo Gallery, Microsoft Works etc. -
but not any of the drivers like ETD Ware which is for the mouse pad.

b) Manage WinXP Settings
Right click on My Computer - Properties and:
1) Turn off System Restore (System Restore tab)

2) Adjust Virtual Memory (Advanced Tab - Virtual Memory Settings)
Set a custom initial and maximum size to either 256MB, 128MB or 0MB depending on your
situation.

3) Control Automatic Updates (Automatic Updates tab)
Check Notify me but don't automatically download or install them.  This is key.  Fitting WInXP
onto a 4GB primary drive is all about managing WinXP updates.  This is because the
system backs up all changes and keeps the download.  More about this later under
cleaning the C:\ WINDOWS directory.

4) Improve the way XP's Disk Cleanup function works
By default, WinXP Disk Cleanup function is designed to only delete temp files greater than 7
days old.  Make XP take them all out by:
- Click on Start - Run - regedit and go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeC
aches\Temporary Files
- Locate and double click the LastAcess value.
- Edit DWORD and change the value data from 07 to 00 and click OK.
- Close the Registry Editor and retart WinXP.

Also, when running disk cleanup, ensure the Compress Old Files is checked.  If you want to
go the whole hog, compress the whole drive.

5) Turn off disk indexing
Double click on My Computer and right click on the C: drive - Properties:
- Uncheck Allow Indexing Service to index this disk.

6) Turn hibernation off
Do this by going to Control Panel - Power Options - Hibernate

Once done delete the C:\HIBERFIL.SYS {hidden} file.

c) Keep as much stuff as you can on D: drive
1) Install programs onto the D: drive
When installing new software, always choose Customise.  This will allow you to set the
destination for new software to D:\Program Files, and keep C:\Program Files to a minimum.

2) Change all data and temp folders to D: drive
Change:
  • Outlook .pst file to D: (locate the file in C:\Documents and Settings - move the .pst file
    to the D: drive - use Control Panel - Mail - Data Files - Settings to tell Outlook where
    the .pst file is).
  • Temporary Internet Files folder in Internet Explorer to D: drive
  • Internet cache in FireFox to D: drive (type about:config in the location bar and press
    enter.  Right-click somewhere on the page and select New - String, name it
    browser.cache.disk.parent_directory and set its value to the directory name you have
    set for it on D: drive).
  • Cache in Java (Control Panel - Java) to D: drive.
  • Move My Documents to D:\ drive (right click on My Documents in the Start menu, and
    select Properties and change the target location of My Documents).

d) Keep C:\WINDOWS free of junk files
First, change your view settings in Explorer to see hidden files and folders and unchceck the
hide protected operating system files.

Now go and delete the contents of:

C:\WINDOWS\Prefetch
This folder contain prefetch files for preloading applications so that they load quicker. This
can get cuttered with junk.   Windows will rebuild this sub-diectory by itself, based on the
programs you run.

C:\WINDOWS\$NtUninstall... folders
C:\WINDOWS\$NTServicePackUninstall
Part of Windows Update.  These hidden folders contain the back ups that allow you to
uninstall window updates that corrupt your system.  Once an update has been successfully
installed you can delete these folders.

C:\I386
C:\WINDOWS\ServicePackFiles\I386
These contain Windows setup files.  Generally not needed once Windows is up and running
as these files are available on the setup DVD.

C:\WINDOWS\Downloaded Installations
C:\WINDOWS\SoftwareDistribution\Download
These folders contain the setup files of downloaded applications and Windows updates.  
Once Windows Update has installed the file, you may delete the contents of these folders.  
Deleting the contents of these folders before WIndows Update has done its job will result in
Windows Update re-downloading all the files.

Be aware to install WinXP SP3, you need 1GB of free disk space for Windows to keep all the
above backups and downloads.  You can recover most of that space once SP3 has been
installed.

GOOD LUCK !