If you are running Windows XP on older hardware, you might wish to make some of the following adjustments. The optimizations below were gathered over the past decade. These modifications range from simple to dangerous, so proceed at your risk. (Some of these optimizations may be outdated.)
These changes are generally safe:
- Open up Internet Explorer fast:
- Edit the Internet Explorer shortcut.
- Add parameter “-nohome” to the shortcut command to force opening up IE with a blank page.
- Open up the C drive in Windows Explorer by default:
- Create or edit the Explorer shortcut.
- Use this path and arguments to open up the C drive by default: “C:\windows\explorer.exe /n,/e,c:\”
- Quickly open the Windows Search Results dialog:
- Go to menu Start->Search. The Search Results dialog will appear.
- Click on the “Turn off animated character” option on the left menu.
- Click on “Change Preferences”.
- Click on “Change files and folders search behavior”.
- Select “Advanced…” option.
- Hit OK
- Set a fixed size for the Virtual Paging File (potentially reduces hard drive usage):
- Open My Computer properties.
- Select “Advanced” tab.
- Click “Settings” button under “Performance”.
- Go to “Advanced”.
- Leave “Programs” and “Programs” selected.
- Under “Virtual Memory”, click “Change” button.
- Select “System managed size” and input the size of the paging file. The initial value is usually 1.5 times memory. Maximum value is 3 times memory. You have greater than 512MB, you can set to 0.5 times memory.
- Click OK.
- Disable Fast User Switching (if you only have one default user):
- Go to Control Panel->User Accounts.
- Click “Change the way users log on or off”.
- Leave the “Use the Welcome screen” check (this is required so Windows won’t prompt for password).
- Unselect “Use Fast User Switching”.
- Click “Apply Options”.
- Set DMA Mode on IDE Drives (for fast hard drive transfers):
- Open Device Manager (My Computer->Manage).
- Go to “IDE ATA/ATAPI controllers”.
- Double-click on “Primary IDE Channel”.
- Go to “Advanced Settings” tab.
- Make sure all “Transfer Mode” boxes have “DMA If Available”.
- Repeat for secondary IDE channel, etc.
- Turn off File Indexing (reduces hard drive usage):
- Go to Computer Management (My Computer->Manage).
- Go to Services and Applications->Indexing Service->System->Directories.
- Double-click on each directory (with yes in “Include in Catalog”):
- select “no” under “Include in Index?”
- click OK.
- Open My Computer.
- Right click on the Hard drive and choose properties.
- Uncheck the “Allow Indexing Service to index this disk for fast file searching”:
- A new window will pop up, choose include folder and subfolders.
- click OK.
- Remove built-in support for ZIP files and also prevents Search from looking into compressed files (very slow operation):
- Go to menu Start->Run
- Type “regsvr32 /u zipfldr.dll”
- Optionally, install another zip application like Winzip to take over the extension; otherwise, if you open a zip file, Windows XP will re-register the zipfldr.dll.
- Improve shutdown speed (by immediately killing applications at shutdown or reducing the wait to kill timeout):
- Go to Start->Run and type “regedit”.
- Go to “HKEY_CURRENT_USER\Control Panel\Desktop”.
- Set the key AutoEndTasks to value 1 to immediately kill applications (without giving time to save) at shutdown.
- To reduce wait to kill timeout, change the following:
- Set “HungAppTimeout” to 8000 (default is 5000).
- Set “WaitToKillAppTimeout” to 8000 (default is 20000; 4000 if you are brave).
- Also, go to “HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control” and set “WaitToKillServiceTimeout” to 8000 (default is 20000; 4000 if brave).
These changes can be dangerous:
- Increase System CMOS/realtime clock IRQ priority:
- Find out the interrupt that the System CMOS/realtime clock is using by opening Device Manager, System devices, and properties on “System CMOS/realtime clock”.
- Click on the “Resources” tab (usually the interrupt is IRQ 8).
- Increase the IRQ priority by running “regedit” and going to “HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\PriorityControl”.
- Create DWORD value named “IRQ#Priority” (where ’#’ is the IRQ number).
- Set the value to 1.
- Restart Windows.
- Ensure that L2 Cache is used (Windows XP sometimes doesn’t detect it so we must manually set it):
- Run “regedit”.
- Go to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management”.
- Adjust “SecondLevelDataCache” to your processor’s L2 cache size (aka 512 kilobytes). (Note: Make sure to use “Decimal” input!)
- Tweak Memory Performance by boosting the system cache (if you have 256MB memory or more):
- Run “regedit”.
- Go to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management”.
- Set “LargeSystemCache” to 1 (default is 0) to boost the system cache (only if you have tons of memory) by telling XP to allocate all but 4MB of system memory to the file system cache. (Note: This option can be accessed under “My Computer->Manage->Advanced->Performance Settings->Advanced->System Cache”.)
- Optionally, set “IOPageLockLimit” (create this DWORD value if necessary) to 8-16 MB (value in bytes; if exists, it is usually set to 512KB). This improves Input/Output performance for large file transfer operations (good if running a server).
- Restart Windows.
- Improve NTFS Performance:
- Run “regedit”.
- Go to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentContolSet\Control\Filesystem”.
- Create DWORD entry “NtfsDisableLastAccessUpdate” with value 1 to disable updating the last access time.
- Optionally, change “NtfsDisable8dot3NameCreation” DWORD entry to 1 to disable creation of short names (if not supporting MS-DOS or Win 3.x). (Note: If we disable this, some programs like PowerCD and games like Return/Revenge of Arcade will not work!)
- Optionally, add “NtfsMftZoneReservation” DWORD entry to reserve the appropriate space for the master file table. If your NTFS volumes generally contain relatively few files that are typically large, set value to 1 (the default). Use a value of 2 or 3 for moderate numbers of files, and 4 (the maximum) if your volumes tend to contain a relatively large number of files. (Note: be sure to test any settings greater than 2 because these higher values cause the system to reserve a much larger portion of the disk for the master file table.)
- Reboot Windows.
- Prevent QoS from reserving bandwidth (Not necessary because if QoS is not used, then bandwidth
is used by other applications):- Go to Start->Run and type “gpedit.msc”.
- Open Computer Configuration->Administrative Templates->Network->QoS Packet Scheduler.
- Double-click on “Limit reservable bandwidth”.
- Set it to Enabled and the Bandwidth Limit to 0%.
- Go to Network Connections.
- Right click on your connection and choose properties.
- Go to General or Networking tab.
- Make sure QoS packet scheduler is enabled.
- Reboot Windows.
- Enable UDMA66 (for faster hard drive I/O):
- Run “regedit”.
- Go to “HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10319}\0000”
- Create a DWORD named “EnableUDMA66”.
- Set value to 1 to enable (set to 0 to disable).
- Speed up Diskcache:
- Open “regedit”.
- Go to “HKEY_LOCAL_MACHINESYSTEM/CurrentControlSet/Control/Session Manager/Memory Management/IoPageLockLimit”
- Modify the value in Hex depending on the size of your RAM: For 64M, use 1000. For 128M, use 4000. For 256M, use 10000. For 512M or more, use 40000.
- Reboot Windows.
Good luck with turning your old Windows XP machine into a speed demon!