The default install of Windows XP is pretty hefty, so I've done a few things to slim it down.

  1. Changing Virtual Memory
    The virtual memory in Windows XP is set to 1.5 - 3 times the amount of memory in the system. This is sufficient for most machines, but on a 4GB hard drive, we have no room to spare. Set this to 256MB or 512MB max. Keep it on your 4GB drive; do not move the pagefile to an external drive or SD Card. It simply won't perform fast enough. Go to Control Panel -> System -> Advanced Tab -> Settings -> Performance.
  2. Turn off System Restore
    This is dangerous, however if you know what you are doing (or are a sysadmin and don't care) go for it. Turning off system restore disables any restore files and points in the system history. If you get a virus, corrupt file, etc, you're out of luck. Go to Control Panel -> System -> System Restore ->Click Turn Off System Restore.
  3. Relocate My Documents to an SD Card
    Relocating the My Documents folder not only allows the shortcut to point to an SD Card, Windows and many programs will now store temporary documents and configuration files normally reserved for the My Documents folder on the external card. Go to Start -> Right-Click My Documents -> Select Properties -> Click Move.
  4. Reduce or Move Internet Explorer Temporary File Storage
    Reduce the amount of space IE temporary files use. In Internet Explorer go to Tools -> Internet Options -> General -> Click Settings under Temporary Internet Files. In the dialog box move the slider to the desired disk space and/or click Move Folder and place the temporary files on an SD Card or external drive.
  5. Delete Unnecessary Windows Components
    Go to Control Panel -> Add/Remove Programs -> Click Add/Remove Windows Components. Uncheck the components you do not want.
  6. Clear System Backup Data
    Go to Start -> Run -> Type CMD -> type: sfc.exe /purgecache
  7. Delete Windows Files
    Go to Start -> My Computer -> Tools Menu -> Folder Options -> Click the View Tab -> Click "Show hidden files and folders" and uncheck "Hide protected operating system files." This step needs to be done in order to see the files we wish to delete.
    1. Delete Windows Help Files. In Safe Mode go to C:\Windows and delete the "Help" Folder.
    2. Delete DLL Cache. In Safe Mode go to C:\Windows\System32\dllcache and delete files inside.
    3. In C:\Windows delete all KB*.txt files. These are SP2/Hotfix update readme files.
    4. In C:\Windows delete all SET*.tmp files.
    5. In C:\Windows delete \$hf_mig$ and \$NtUninstallKB*$ folders. These are SP2 and hotfix uninstall files. These are necessary for rolling back Windows.
    6. Delete everything inside C:\Windows\SoftwareDistribution\. This is a big space saver. It holds the install files for hotfixes, SP2, Windows Update files, etc.
    7. Delete everything inside C:\Windows\ie7updates\.
    8. Delete C:\MSOCache folder. This holds Office 2003/2007 install files.
  • No labels