Windows XP registry tweaks – How to boost PC performance

Launch the Registry editor

Press the shortcut Windows]+[Rto open the Run dialog box. Enter “regedit” and click [Enter]. The Registry Editor appears.

Recommended settings (WARNING: Proceed at your own risk)

Improve the right-click menu response speed

HKEY_CURRENT_USER\Control Panel\desktop
Name [MenuShowDelay] Value [1]

Set the wait time for applications to be killed

HKEY_CURRENT_USER\Control Panel\desktop
Name [AutoEndTasks] Value [1]
Name [HungAppTimeout] Value [wait time for applications to be killed (second)x1000]
Name [WaitToKillAppTimeout] Value [wait time for applications to be killed (second)x1000]

Unload unused DDLs

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer
DWORD Value [AlwaysUnloadDLL] Value [1]

Enable automatic restart in the event of a BSOD

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl
DWORD Value AutoReboot] Value [1]

Change realtime clock priority

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\PriorityControl
DWORD Value [IRQ8Priority] Value [1]

Separate processes for the Desktop and Explorer

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
DWORD Value [DesktopProcess] Value [1]

Enable automatic defragmentation at startup

HKEY_LOCAL_MACHINE\Software\Microsoft\Dfrg\BootOptimizeFunction
Name [Enable] Value [Y]

Disable the Windows Messenger integration from Outlook Express.

HKEY_LOCAL_MACHINE\Software\Microsoft\OutlookExpless
DWORD Value [Hide Messenger] Value [2]

Reduce fragmentation of data files

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
DWORD Value [ContigFileAllocSize] Value [1000]

Free virtual memory at shutdown

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management
DWORD Value [ClearPageFileAtShutdown] Value [1]

Optimize Windows kernel memory

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management
DWORD Value [DisablePagingExecutive] Value [1]

Improve memory efficiency

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management
DWORD Value [IoPageLockLimit]
Value [(for PC with memory 128MB or more, less than 256MB) 4000,
(for PC with memory 256MB or more, less than 512MB)10000, (for PC with memory 512MB or more, less than 1024MB)20000]

Optimize nonpaged pool size

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management
DWORD Value [NonPagedPoolSize]
Value [(128MB)66666,(256MB)cccccc,(512M)1999998,
(640MB)1fffffe,(768M)2666664,(1GB)31ffffd]

Optimize the second cache (only if the CPU’s second cache is 512KB or more)

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management
DWORD Value [SecondLevelDataCache] Value [the value of the CPU’s second cache(decimal digit)]

Increase DNS cache

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Service\Dnscache\Parameters
DWORD Value [MaxCacheEntryTtlLimit] Value [93a80]

Set the priority and switch of process

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\PriorityControl
DWORD Value [Win32PrioritySeparation]
Value [Determined by the sum of the following three parameters (decimal digit)
(1. Priority ratio of foreground to background)
1=Twice (default), 2=Three times
#Process switch setting
0=None, 2=Variable, 4=Fixed
#Process switch time
0=None, 16=Long, 32=Short)]

The following two settings will not speed up performance or optimize your PC but still may help.

Hide PC information from other computers

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Service\lanmanserver\parameters
DWORD Value [hidden] Value [1]

Stop SYN flooding attacks

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Service\Tcpip
DWORD Value [SynAttackProtect] Value [2]

This post is also available in other languages.

Reaction on Twitter

  1. @fastpc says:

    Windows XP registry tweaks – How to boost PC performance: Launch the Registry editor. Press the shortcut [Window… http://t.co/Hp6Xmx5B