SoFunction
Updated on 2025-04-14

WinXP Registry Application—The Eighth Guide to Use Registry


Win XP registry restore is simple

Win XP provides a new method to restore the registry, with the steps as follows:

l. Restart the computer, and after seeing the "Select to Start Operating System" message, press the "F8" key.

2. Use the arrow keys to highlight "Last correct configuration" and press Enter. NUM LOCK must be turned off for the arrow keys on the numeric keypad to work.

3. If you have a dual-boot or multi-boot system, use the arrow keys to highlight the operating system you want to start and press the "Enter" key.

After successfully starting Windows, the registry will return to the state it was when the computer was last successfully started. Selecting "Last Right Configuration" is a solution to recover your system from a problem (such as the newly added driver does not match the hardware), but it does not resolve issues caused by the driver or file being corrupted or lost. Moreover, Windows only restores the information in HKLM\System\CurrentControlset at the top of the registry, and any changes made in other registry keys remain unchanged.
1. Registry basics:

(I) ******* System folder: **********

Name Path Meaning
AppData C:\Windows\Application Data Application
Cache C:\Windows\Temporary Internet Files Browser Cache
Cookies C:\Windows\Cookies
Desktop Desktop Desktop
Favorites Favorites Favorites
Fonts Fonts
History History History folder
NetHood NetHood Online Neighbors
Personal C:\My Documents My Documents
PrintHood PrintHood PrintHood Print
Program Start Menu\Programs Program
Recent Recent Documentation
SendTo SendTo SendTo
Start Menu Start Menu
Startup Start Menu\Programs\Startup Startup group
Templates Temp Temp folder

*******When you need to modify the paths of these system folders, just enter HKEY_CURRENT_USER\Software in the registry
\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders .


(II) ******* Special folders in the system***************

There are some folders on our desktop or elsewhere that are not real folders. They are just OLE objects used to display the contents of window folders, such as "My Computer", "Control Panel", etc. They all have a system default class ID class identifier. Windows defines these folders under HKEY_CLASSES_ROOT \CLSID in the registry. Class ID Description

Control Panel {21EC2020-3AEA-1069-A2DD-08002B30309D} Control Panel
Dial-Up Networking {992CFFA0-F557-101A-88EC-00DD010CCC48} Dial-Up Networking
Internet Explorer {BFB23**2-E3F0-101B-8488-00AA003E56F8} Browser
My Computer {20D04FE0-3AEA-1069-A2D8-08002B30309D} My Computer
Network Neighborhood {208D2C60-3AEA-1069-A2D7-08002B30309D} Online Neighbor
Printers {2227A280-3AEA-1069-A2DE-08002B30309D} Printer
Recycle Bin {645FF040-5081-101B-9F08-00AA002F984E} Recycle Bin
Scheduled Tasks {D6277990-4C6A-11CF-8D87-00AA0060F5BF} Planned Tasks
My Documents {450D8FBA-AD25-11D0-98A8-0800361B1103} My Documents
URLHistory Folder {FF393560-C2A7-11CF-BFF4-444553540000} URL History

(III) ************* File or other object icon: ****************

The icon is the identity of a file or object. For an ICO file, there is only one unique icon, and the icon of the file can be indicated by "path\icon file name"; for EXE, DLL and other files, they may contain more than one icon, and at this time, there is an index flag to indicate which icon is the first, and the icon of the file can be indicated by "path\icon file name, index number".

If you want to modify the icon of the system folder, you just need to enter the HKEY_CLASSES_ROOT\CLSID in the registry, find the class ID of the system folder, and then modify the icon file path in the DefaultIcon; if you want to modify the default icon of other files, you need to modify the path of the icon file in HKEY_CLASSES_ROOT\CLSID\"File Type"\DefaultIcon.

(IV) **************** Automatic operation function of the drive ****************

When the CDROM's automatic running function is turned on and the CD can be put into an automatically running CD, the program on the CD will automatically run. So can other hard disks, mobile disks, etc. also run automatically? KEY_USERS \DEFAULT \Software in the registry
\Microsoft\Windows\CurrentVersion\Policies\Exploer
The value item of NoDriveTypeAutoRun, which indicates the drive that can run automatically. This value term is a 4-byte binary value. Each bit of the first byte corresponds to a different driver. If the corresponding position is "1", it means that the automatic operation function is turned off. If the corresponding position is "0", it means that the automatic operation function is turned on. The following table is the corresponding drive types
0th: Unknown Drive 2nd: Removable Drive 3rd: Hard Drive
4th bit: Remote drive 5th bit: CDROM drive 6th bit: RAM drive


2. WinXP system registry application

(I) ************* System************************

Function: Delete the system's useless dynamic link library (DLL file)
Path: HEKY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLL
Key value name:
Data Type:
Key Value: The key value of each DLL file indicates that this DLL is shared by several applications
Note: If it is "01 00 00 00", this DLL file is shared by an application. If it is "00 00 00 00", the DLL file is
Does not work for the system, it means it is a junk file, delete the key value, and note the DLL file name from
Delete the DLL file in the \windows\system folder.

Function: Put your name into the system taskbar
Path: HKEY_CURRENT_USER\Control Panel\International
Key value name: Key value: sTimeFormat="HH:mm:-Ss tt", s1159="CFAN", s2359="HELLO"
Data Type:
Key Value: Description: Before 12 o'clock, display CFAN in the system taskbar, and then display HELLO. You can set it at will to achieve your own
Effects


Function: Automatically clear history in the document menu every time you exit the system
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
\Explorer]
Key value name: "ClearRecentDocsonExit"
Data type: hexadecimal
Key Value: 01,00,00,00


Function: Forbid the "Device Manager" option in "System"
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
\System
Key value name:NoDevMgrPage
Data type: DWORD
Key Value: 1


Function: Forbid the "File System" option in "System" is not displayed
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
\System
Key value name:NoFileSysPage
Data type: DWORD
Key Value: 1


Function: Forbid the "Virtual Memory" option in "System"
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Key value name:NoVirtMemPage
Data type: DWORD
Key Value: 1


Function: Forbid the "Hardware Configuration File" option in "System" is not displayed
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Key value name:NoConfigPage
Data type: DWORD
Key Value: 1


Function: Forbid the menu of "Device Manager" in "System Properties"
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Key value name: Create new "NoDevMgrPage"
Data type: DWORD
Key Value: Let its value be "1"


Function: Forbid the "File System" menu in "System Properties"
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Key value name: Create new "NoFileSysPage"
Data type: DWORD
Key Value: Let its value be "1"


Function: Forbid the menu of "Virtual Memory" in "System Properties"
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Key value name: Create new "NoVirtMemPage"
Data type: DWORD
Key Value: Let its value be "1"


Function: Forbid the menu of "Hardware Configuration File" in "System Properties"
Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Key value name: Create new "NoConfigPage"
Data type: DWORD
Key Value: Let its value be "1"


Function: Change the font of the system
Path: HKEY_LOCAL_MACHINE\config\0001\Display\settings
Key value name:
Data Type:
Key Value: Default


Function: Set the function of quickly booting the system with floppy disk
Path: HKEY_LOCAL_MACHINE\Config\0001\Enum\Bios\*PNP0700\0B
Key value name:FloppyFastBoost
Data Type:
Key Value: The value is 01 00 00 00 You can quickly start the system with a floppy disk


Function: The system cannot access the hard disk
Path: HKEY_LOCAL_MACHINE\Enum\PCI
Key value name:ChannelOptions
Data type:hex
Key Value: 2


Function: View available disk letters assigned to the optical drive by the system
Path: HKEY_LOCAL_MACHINE\Enum\SCSI
Key value name: Find string UserDriveLetterAssignment
Data Type:
Key Value: Its value indicates the available disk letter assigned to the optical drive by the system. If it is HZ, it means that from H to Z can be used for the optical drive.


Function: Display more CPU information in system properties
Path: HKEY_LOCAL_MACHINE\Hardware\Description\System\CentralProcessor\0
Key value name: "VendorIdentifier"
Data Type:
Key Value: "Genuine Intel" (note the space)


Function: Add programs that are automatically loaded at startup to the system
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Key value name: Create a new primary key, name is customized
Data Type:
Key Value: Its value is "Path and file name to be executed"


Function: Modify system copyright information
Path: HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\DEVEOPER\SETUP
Key value name: The key name you want to modify
Data type: string
Key Value: Enter the modified value


Function: Find the system installation registration code
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
Key value name: ProductKey
Data Type:
Key Value: Value is an indispensable registration code for system installation.


Function: Let the system automatically run a program
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
Key value name: Create a new primary key
Data Type:
Key Value: Its value is "Path and file name to be executed"


Function: Locations of each directory of Windows system
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup
Key value name:
Data Type:
Key Value:


Function: The system can use disk letters
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Currentversion\setup
Key value name: lastdrive
Data Type:
Key Value:z


Function: Automatically log in to the system when powered on
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Winlogon
Key value name: New "AutoAdminLogon" "DefaultPassword" "DefaultUserName"
Data type: string
Key Value: Its value is set to "1", password when logging in, username when logging in


Function: Let the Windows 98 system automatically log in
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Winlogon
Key value name: Create new AutoAdminLogon DefaultUserName DefaultPassword
Data type: string
Key Value: Set the key value to 1, the default login name, the default password,
Function: Optimize file system
Path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
Key value name: Create new "ConfigFileAllocSize"
Data type: DWORD
Key Value: Set to "1f4"


Function: System language
Path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Nls\Locale
Key value name: default value
Data Type:
Key Value: "00000804" (simplified Chinese), "00000404" (traditional Chinese), "00000411" (Japanese), "00000412"
(Korean), "00000409" (American English)


Function: View 16-bit and 32-bit .dll files in the system
Path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager
Key value names: "Known16DLLs" and "KnownDLLs"
Data Type:
Key Value: includes 16-bit and 32-bit .dll files in the system respectively, and users can search for it accordingly.


Function: View 16-bit and 32-bit dll files in the system
Path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager
Key value names: "Known16DLLs" and "KnownDLLs" contain the 16-bit and 32-bit .dll files in the system, respectively.
Can search correspondingly
Data Type:
Key Value:


Function: Clear history in the document when the system is pushed out
Path: HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\
Key value name: Create a new ClearRecentDocsonExit
Data type: binary
Key Value: The value is "01 00 00 00"

(Source: Hot Network)