SoFunction
Updated on 2025-04-14

Performance optimization of XP registry—The 18th full guide to using the registry


Performance optimization of XP registry—The 18th full guide to using the registry

1. Speed ​​up the power on and off

In [Start]-->[Run]-->Type [Regedit]-->[HKEY_CURRENT_USER]-->[Control Panel]-->[Desktop], change the numerical data of the string value [HungAppTimeout] to [200], change the numerical data of the string value [WaitToKillAppTimeout] to 1000. In addition, in [HKEY_LOCAL_MACHINE]-->[System]-->[CurrentControlSet]-->[Control], change the numerical data of the string value [HungAppTimeout] to [200], change the numerical data of the string value [WaitToKillServiceTimeout] to 1000.

2. Automatically close the stop response program

In [Start]-->[Run]-->Type [Regedit]-->[HKEY_CURRENT_USER]-->[Control Panel]-->[Desktop], change the numerical data of the string value [AutoEndTasks] to 1, and restart.

3. Clear unused DLL files in memory

In [Start]-->[Run]-->Type [Regedit]-->[HKKEY_LOCAL_MACHINE]-->[SOFTWARE]-->[Microsoft]-->[Windows]-->[CurrentVersion], add an item [AlwaysUnloadDLL] to [Explorer], and set the default value to 1. Note: If the default value is set to [0], this function is disabled.

4. Accelerate broadband access speed

(1) Home version: In [Start]-->[Run]-->Type [regedit]-->In [HKEY_LOCAL_MACHINE]-->[SOFTWARE]-->[Policies]-->[Microsoft]-->[Windows], add an item named [Psched], and add a Dword value [NonBestEffortLimit] to the right window of [Psched] to 0.

(2) Commercial version: In [Start]-->[Run]-->Type [], open the local computer policy, select [Computer Configuration]-->[Administrative Templates]-->[Network]-->[QoS Packet Scheduler] in the left window, double-click "Limit the Retainable Bandwidth" in the right window, select "Enabled" and set "Bandwidth Limit (%)" to 0 Application-->OK, and restart.

5. Speed ​​up the menu display

In [Start]-->[Run]-->Type [Regedit]-->[HKEY_CURRENT_USER]-->[Control Panel]-->[Desktop], change the numerical data of the string value [MenuShowDelay] to [0]. After adjustment, if you think the menu displays too fast and you are not suitable, change the numerical data of [MenuShowDelay] to [200] and restart.

6. Accelerate the automatic refresh rate

In [Start]-->[Run]-->Type [Regedit]-->[HKEY_LOCAL_MACHINE]-->[System]-->[CurrentControlSet]-->[Control]-->[Update], change the numerical data of Dword[UpdateMode] to [0], and restart.

7. Speed ​​up the reading preview capability and improve the startup speed

Windows XP read-pre-setting can increase the system speed and speed up the startup speed. Press Modify to further make better use of the CPU efficiency: In [Start]-->[Run]-->Type [Regedit]-->[HKEY_LOCAL_MACHINE]-->[SYSTEM]-->[CurrentControlSet]-->[Control]-->[SessionManager]-->[MemoryManagement], in the right window of [PrefetchParameters], change the numerical data of [EnablePrefetcher] as follows. For example, if you use a PIII 800MHz CPU or above, change the numerical data to 4 or 5, otherwise it is recommended to keep the numerical data as the default value, that is, 3.

8. Use the CPU's L2 Cache to speed up overall performance

In [Start]-->[Run]-->Type [Regedit]-->[HKEY_LOCAL_MACHINE]-->[SYSTEM]-->[CurrentControlSet]-->[Control]-->[SessionManager], in the right window of [MemoryManagement], change the value data of [SecondLevelDataCache] to the same decimal value as CPU L2 Cache: For example: The L2 Cache of P4 1.6G A is 512Kb, and the value data is changed to the decimal value 512.

9. Run the Defrag program when starting the computer

In [Start]-->[Run]-->Type [Regedit]-->[HKEY_LOCAL_MACHINE]-->[SOFTWARE]-->[Microsoft]-->[Dfrg]-->[BootOptimizeFunction], set the string value [Enable] to: Y is equal to on and N is equal to off.

10. Automatically close the stop response program when shutting down

In [Start]-->[Run]-->Type [Regedit]-->[HKEY_USERS]-->[.DEFAULT]-->[Control Panel], then change the value data of [AutoEndTasks] to 1 in the right window of [Desktop], and log out or restart.

11. Run the program in different memory spaces

Find the HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer subkey, set MemCheckBoxInRunDlg to 1, and the "Run dialog" in the "Start" menu will add a "Run in separate memory space" option.

12. Modification of user folders is prohibited

Find HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer. If you want to lock the physical locations of user folders such as "Picture Collection", "My Documents", "Favorites", and "My Music", set the following keys to 1: DisableMyPicturesDirChange, DisablePersonalDirChange, DisableFavoritesDirChange, DisableMyMusicDirChange, respectively

13. Display buttons that map network drives

Find the HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced subkey and set MapNetDrvBtn to 1. The button that maps the network drive will appear on the Windows Explorer and My Computer toolbar.

14. Reduce the delay time of browsing LANs

Like Windows 2000, XP also has annoying latency issues when browsing LANs, but information about this problem is difficult to find. If you browse a Win 9x machine, for example, enter "\computername" in the address bar of your neighbor online, the XP machine will check the "task plan" on the machine it is connecting to. This search process can cause delays of up to 30 seconds. If you open a shared resource directly, for example, enter "\computernameshare" in the address bar of an online neighbor, there will be no delay process. To avoid XP search for "task plan" and improve the speed of browsing the network, you can delete the HKEY_LOCAL_MACHINESOFTWAREMicrosoft WindowsCurrentVersionExplorerRemoteComputerNameSpace{D6277990-4C6A-11CF-8D87-00AA0060F5BF} subkey. The type of this key is REG_SZ.

15. A new method to enable the program to run as soon as it is started in XP

Click "Run" in the "Start" menu, enter "Regedit" in the "Run" dialog box that opens to open the Registry Editor. Expand the registry in sequence to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows, and create a new string value here. The method is to right-click the primary key "Windows", select "New" → "String Value" in the pop-up menu, and name the string value "load". Then, double-click "load" and change its key value to the program path that you want to start the computer automatically. It should be noted that the short file name of the file should be used, that is, "C:\Program Files" should be written as "C:\Progra~1".

16. Block the hotkeys in the system

Click "Start" → "Run", enter Regedit, and open the Registry Editor. Then open it to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer in turn, create a new double-byte value, the key name is "NoWindows Keys" and the key value is "1". This will prohibit the user from using system hotkeys to execute some disabled commands. If you want to restore, just set the key value to 0 or delete this key.

17. Close unused sharing

Security issues have always been a concern for everyone. In order to ensure the security of your system, some unnecessary sharing should still be closed. Use Notepad to edit the registry file with the following content and save it as a .Reg file with any name. Double-click to close those unnecessary shares when using it:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]

"AutoShareServer"=dword:00000000

"AutoSharewks"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]

"restrictanonymous"=dword:00000001

18. Modify the service name and explanation

The secondary primary key under the registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services is the respective services. Select any secondary primary key. You can see the two strings DisplayName and Description on the right. DisplayName is the name displayed in "Administrative Tools → Services". Description is the description of the corresponding service. Both can be modified arbitrarily, but the secondary primary key names and other ones cannot be moved randomly.

19. Cancel the warning prompt for insufficient disk space

Windows XP will automatically monitor the remaining disk space. Once the disk space is insufficient, you will be prompted and the system restore function will be suspended. If you want to cancel, open the registry editor, find HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer, create a new Dword value NoLowDiskSpaceChecks, and then modify it to 1.

20. Automatically close the program that stops responding

In the Windows XP operating system, we can modify the registry to automatically close a certain application when it detects that it has stopped responding, so that manual intervention is not required. To implement this function, please click "Start" → "Run" to enter RegEdit, open the registry editor, display HKEY_CURRENT_USER\Control Panel\Desktop\Auto End Tasks, and change its key value to 1.

21. Let “My Computer” and “My Document” and “Giant Invert”

The charts of the "My Computer" of the Windows operating system below Win2000 are placed above "My Documents", but the opposite is true for Win2000 and later operating systems. In Windows XP, we can use the modification of the registry to place the "My Computer" icon on "My Documents". The specific operation steps are as follows: Find HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103} in the registry, and then create a new Dword value "SortOrderIndex" and modify its key value to "54" (hexadecimal). If you want to put "My Document" first, you only need to modify the key value of "SortOrderIndex" to 48 (hexadecimal).

22. Keep the desktop settings unchanged every time you start

We can protect our desktop settings by modifying the registry. No matter what modifications are made, the desktop will be restored to its original state after restarting. The steps are as follows: Open the registry editor, find the HKEY_CURRENT_USERS\Software\Microsoft\Windows\CurrentVersion\Polices\Explorer subkey branch, find NoSaveSettings below it, its type is REG_SZ, change its key value to "0", or directly delete the key value item, restart the system to make the settings take effect.

23. IE is prohibited from downloading files

Some public computers need to prohibit the downloading of file functions. Although some management software can do this, installing and debugging such software is really troublesome. In fact, a little modification in the registry can meet everyone's requirements. Open the registry editor, find HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3, and then find the DWORD value of 1803 on the right, and change its key value to 3. Restart IE and see if it can be downloaded? If you want to cancel the limit, you just need to restore the DWORD value to 0.

24. Let IE support multi-threaded downloads

Generally speaking, everyone uses multi-threaded download software such as Flashget to download files. In fact, IE can also support multi-threaded downloads, but Microsoft has hidden this function. We dug it out and it will be used. Open the registry editor and create a new double-byte value item "MaxConnectionsPerServer" under the registry HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings. It determines the maximum number of connections for synchronous downloads. It is generally better to set the number of connections to 5 to 8 connections. In addition, for HTTP 1.0 servers, a double-byte value term named "MaxConnectionsPer1_0Server" can be added. It is also used to set the maximum number of synchronous downloads, and can also be set to 5 to 8.

25. Let WINDOWS XP automatically log in

Open: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon, create a new string "AutoAdminlogon" in the window on the right, and set their key value to "1", and set the value of "DefaultUserName" to the user name, and create a new string value "DefaultPassword" and set its value to the user's password.

(Source: Hot Network)