In Windows, the system uses INI files to log in to the hardware and initialize various software information, and thus establish a working environment that meets the requirements. In the Windows 9x era, Microsoft adopted the registry to manage software and hardware configurations uniformly, which greatly improved the stability and security of the system, and also made it easier for us to maintain and manage the system. In general, the registry is actually a huge database, which contains all configuration information of applications, system software and hardware, initialization information and other important data. The author will list some common techniques for registry, hoping to be helpful to everyone's daily use.
Main Menu Tips
When there are too many menus in the program using multiple pages, one page is often not displayed. At this time, use the following functions to achieve multiple pages of menus. Create a new string value "StartMenuScrollPrograms" in the window on the right under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\Advanced, and set the value to "false". To cancel this feature, just delete the string.
It is prohibited to display the "Windows Upgrade Menu" in the "Start" menu. Create a new binary value "NoWindowsUpdate" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer, and set the value to "1".
It is not allowed to change the startup menu. Create a new DWORD value "NoChangeStartMenu" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and set the value to "1".
Adjust the area with double-click sensitivity. Modify the values of "DoubleClickHeight" and "DoubleClickWidth" in the right window of HKEY_CURRENT_USER\Control Panel\Desktop to change the area size.
Change the display speed of the menu HKEY_CURRENT_USER\Control Panel\Desktop Create a new string value in the window on the right: "MenuShowDelay", its value range is 0-999, and 0 means the fastest.
Whether to display the animation process when the window is opened, reduced or closed HKEY_CURRENT_USER\Control Panel\Desktop Create a new string value in the window on the right: "MinAnimate". The data is "0" to indicate that the process is not displayed, and "1" to indicate that it is displayed.
The "Close System" menu is prohibited from creating a new DWORD value "NoClose" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer, and set the value to "1".
Windows is prohibited from smoothly scrolling HKEY_CURRENT_USER\Control Panel\Desktop is used to modify "SmoothScroll" in the window on the right, set its value to "0", and set its value to "1" if allowed.
The "Find" menu is prohibited. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer creates a new DWORD value "NoFind" in the window on the right and sets the value to "1".
The "Document" menu is prohibited from creating a new DWORD value "NoRecentDocsMenu" in the window on the right, and set the value to "1".
The "Run" menu is prohibited from creating a new DWORD value "NoRun" in the window on the right, and set the value to "1".
Create menus such as "Control Panel" in the Start Menu
Below is the corresponding name
Printer.{2227A280-3AEA-1069-A2DE-08002B30309D}
Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
My computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Recycling bin.{645FF040-5081-101B-9F08-00AA002F954E}
Remove the Login item in the Start menu
HKEY_CURRENT_USER\Software\Microsoft\Windwos\CurrnetVersion\Ploicies\Explorer creates a binary value in the right window: "NoLogOff" and set its value to "01 00 00 00".
Disable historical records to "documents" in "Start"
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Creates a DWORD value in the right window: "NoRecentDocsHistory" and set its value to "1".
Menu subdivision tips
Disable the Connection menu in IE "Internet Options"
Create a new DWORD value in the window on the right under HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel: "SecurityTab", and set its value to "1".
Disable the use of the "Security" menu in IE "Internet Options"
Create a new DWORD value in the window to the right of HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel: "SecurityTab", and set its value to "1".
Disable the Appearance tab in the Display settings item in the Control Panel
Create a new DWORD value in the window to the right of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System: "NoDispAppearancePage", and set its value to "1".
Disable the "Display" setting item in the control panel
Create a new DWORD value in the window to the right of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System and set its value to "1".
The "Screen Saver" sub-menu is prohibited from appearing in "Display Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoDispScrSavPage" and set its value to "1".
The three submenu "Effects, web, and settings" are prohibited in "Display Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoDispSettingsPage" and set its value to "1".
Disable modification of the Start menu
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explore Create a new DWORD value in the window on the right: "NoChangeStartMenu", and set its value to "1".
Prohibit the "File System" menu in "System Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoFileSysPage" and set its value to "1".
Disable the menu "Virtual Memory" in "System Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoVirtMemPage" and set its value to "1".
Disable the "Device Manager" menu in "System Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoDevMgrPage" and set its value to "1".
Disable the menu "Hardware Profile" in "System Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoConfigPage" and set its value to "1".
Prohibit the addition of printers
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Create a new DWORD value in the window on the right: "NoAddPrinter" and set its value to "1".
Disable printer deletion
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Create a new DWORD value in the window on the right: "NoDeletePrinter" and set its value to "1".
Change the list content in "Security/Uninstall" of "Add/Remove Programs" in "Control Panel"
There are many primary keys under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall. To delete a certain content in the "Safe/Uninstall" list, just delete the corresponding primary key.
Disable the display of the Network attribute in Control Panel
Create a new DWORD value "NoNetSetup" in the window to the right of HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and set its value to "1".
Disable the display of the "Identity" attribute in "Network"
Create a new DWORD value "NoNetSetupIDPage" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Network, and set its value to "1".
Disable the display of the "Enterprise" attribute in "Network"
Create a new DWORD value "NoEntireNetwork" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Network, and set its value to "1".
Mouse menu
Add the option to the right-click menu of the drive to "Sort Disk Fragment"
Create a primary key "Defrag" under HKEY_LOCAL_MACHINE\Software\CLASSES\Drive\shell, change the value of "default" to: "Correction disk fragmentation", and create a primary key "command" under this primary key "NewWindow", click "command", and change the value of "default" to "C:\WINDOWS\%1" in the right window. (Note: C:\WINDOWS is the directory of the operating system)
Reduce the length of the "New" menu in the right-click menu
When we have used the system for a period of time and installed many programs, it often increases the length of the "New" menu in the right-click menu. At this time, we want to reduce the burden on the "New" menu. We can modify the registry. If we want to delete some directories in the right-click menu, we need to know what type of file is created in the project we want to delete. For example, the extension of the newly created file in the "WinZip File" is .zip. To delete the "WinZip File" in the "New" menu, we can run the registry editor, then look for ".zip", and after finding the .zip primary key, we find that there is a primary key named "ShellNew" below it. After deleting this key, you can delete the "WinZip File" in the "New" menu
Add the command "Open in new window" to the right-click menu
We often choose to open a folder in the same window in the "Folder Options", but when we browse folders, we sometimes want to compare the differences between two folders, or want to open multiple windows to browse folder contents, so we can use the following method. Under HKEY_LOCAL_MACHINE\Software\CLASSES\Directory\shell, create a primary key “NewWindow”. In the right window, change the "default" value to: "Open in a new window", and create a primary key “command” under this primary key “NewWindow”. Click "command” and change the "default" value to "%1" in the right window.
Add "Delete" and "Rename" commands to the "Recycle Bin" right-click menu
Under HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder, modify the two-phase value "Attributes" in the right window, and set it to "70 01 00 20".
Add a command to run DOS to the right-click menu of the folder
Create a primary key "CommandPrompt" under HKEY_CLASSES_ROOT\Directory\shell, change the value of "default" to: "Command" in the right window and create a primary key "command" under this primary key, and change the value of "default" to "/k cd %1" in the right window.
Automatically add a space when entering Chinese characters
Under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion, you can see that there are full spelling, Microsoft Pinyin, English, Smart ABC and other input methods. Click the primary key of a certain input method, and we can see that there is the DWORD value "insert space" in the window on the right. When its value is "0", it means that no space is added. When it is "1", it means that a space is automatically added when entering Chinese characters.
Change the order of input methods
When we press Ctrl+Space to select the input method, we often have to switch several times before we can find the input method we need. Under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Keyboard Layouts, there are primary keys about keyboard and input method. The primary key and input method correspond to the following:
E00E0804 Microsoft Pinyin Input Method E0040804 Intelligent Pinyin Input Method E0050804 Area Code Input Method E0010804 Full Spoken Input Method 00000409 English Input Method E0030804 Zheng Code Input Method E0020804 Double Spoken Input Method
Under HKEY_USERS\.DEFAULT\keyboard layout\preload, there are 1, 2, 3, 4..., etc., which represents the sorting of the input method. Click 1, 2, 3, 4..., you can see the key value of the corresponding input method in the window on the right. Change the key value and change the order of the input method.
Added "Quick Start" option
Create a new primary key "Quick Start System" under HKEY_LOCAL_MACHINE\Software\CLASSES\Directory\shell, modify the "default" to "Quick Start System" in the window on the right, and create the new primary key "COMMAND" under HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\DIRECTORY\SHELL\Quick Start System. Create a new primary key "COMMAND" in the window on the right, modify the "default" to "C:\WINDOWS\,EXITWINDOWSEXEC".
Added option to shut down the system
Create a new primary key "Quick shutdown computer" under HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\DIRECTORY\SHELL, and in the window on the right, "Default" is "Quick shutdown computer". Under HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\DIRECTORY\SHELL\Quickly close the computer, create a new primary key "COMMAND", and modify the "default" to "C:\WINDOWS\,EXITWINDOWS” in the window on the right.
Main Menu Tips
When there are too many menus in the program using multiple pages, one page is often not displayed. At this time, use the following functions to achieve multiple pages of menus. Create a new string value "StartMenuScrollPrograms" in the window on the right under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\Advanced, and set the value to "false". To cancel this feature, just delete the string.
It is prohibited to display the "Windows Upgrade Menu" in the "Start" menu. Create a new binary value "NoWindowsUpdate" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer, and set the value to "1".
It is not allowed to change the startup menu. Create a new DWORD value "NoChangeStartMenu" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and set the value to "1".
Adjust the area with double-click sensitivity. Modify the values of "DoubleClickHeight" and "DoubleClickWidth" in the right window of HKEY_CURRENT_USER\Control Panel\Desktop to change the area size.
Change the display speed of the menu HKEY_CURRENT_USER\Control Panel\Desktop Create a new string value in the window on the right: "MenuShowDelay", its value range is 0-999, and 0 means the fastest.
Whether to display the animation process when the window is opened, reduced or closed HKEY_CURRENT_USER\Control Panel\Desktop Create a new string value in the window on the right: "MinAnimate". The data is "0" to indicate that the process is not displayed, and "1" to indicate that it is displayed.
The "Close System" menu is prohibited from creating a new DWORD value "NoClose" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer, and set the value to "1".
Windows is prohibited from smoothly scrolling HKEY_CURRENT_USER\Control Panel\Desktop is used to modify "SmoothScroll" in the window on the right, set its value to "0", and set its value to "1" if allowed.
The "Find" menu is prohibited. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer creates a new DWORD value "NoFind" in the window on the right and sets the value to "1".
The "Document" menu is prohibited from creating a new DWORD value "NoRecentDocsMenu" in the window on the right, and set the value to "1".
The "Run" menu is prohibited from creating a new DWORD value "NoRun" in the window on the right, and set the value to "1".
Create menus such as "Control Panel" in the Start Menu
Below is the corresponding name
Printer.{2227A280-3AEA-1069-A2DE-08002B30309D}
Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
My computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Recycling bin.{645FF040-5081-101B-9F08-00AA002F954E}
Remove the Login item in the Start menu
HKEY_CURRENT_USER\Software\Microsoft\Windwos\CurrnetVersion\Ploicies\Explorer creates a binary value in the right window: "NoLogOff" and set its value to "01 00 00 00".
Disable historical records to "documents" in "Start"
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Creates a DWORD value in the right window: "NoRecentDocsHistory" and set its value to "1".
Menu subdivision tips
Disable the Connection menu in IE "Internet Options"
Create a new DWORD value in the window on the right under HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel: "SecurityTab", and set its value to "1".
Disable the use of the "Security" menu in IE "Internet Options"
Create a new DWORD value in the window to the right of HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel: "SecurityTab", and set its value to "1".
Disable the Appearance tab in the Display settings item in the Control Panel
Create a new DWORD value in the window to the right of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System: "NoDispAppearancePage", and set its value to "1".
Disable the "Display" setting item in the control panel
Create a new DWORD value in the window to the right of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System and set its value to "1".
The "Screen Saver" sub-menu is prohibited from appearing in "Display Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoDispScrSavPage" and set its value to "1".
The three submenu "Effects, web, and settings" are prohibited in "Display Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoDispSettingsPage" and set its value to "1".
Disable modification of the Start menu
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explore Create a new DWORD value in the window on the right: "NoChangeStartMenu", and set its value to "1".
Prohibit the "File System" menu in "System Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoFileSysPage" and set its value to "1".
Disable the menu "Virtual Memory" in "System Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoVirtMemPage" and set its value to "1".
Disable the "Device Manager" menu in "System Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoDevMgrPage" and set its value to "1".
Disable the menu "Hardware Profile" in "System Properties"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Create a new DWORD value in the window on the right: "NoConfigPage" and set its value to "1".
Prohibit the addition of printers
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Create a new DWORD value in the window on the right: "NoAddPrinter" and set its value to "1".
Disable printer deletion
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Create a new DWORD value in the window on the right: "NoDeletePrinter" and set its value to "1".
Change the list content in "Security/Uninstall" of "Add/Remove Programs" in "Control Panel"
There are many primary keys under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall. To delete a certain content in the "Safe/Uninstall" list, just delete the corresponding primary key.
Disable the display of the Network attribute in Control Panel
Create a new DWORD value "NoNetSetup" in the window to the right of HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and set its value to "1".
Disable the display of the "Identity" attribute in "Network"
Create a new DWORD value "NoNetSetupIDPage" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Network, and set its value to "1".
Disable the display of the "Enterprise" attribute in "Network"
Create a new DWORD value "NoEntireNetwork" in the window on the right under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Network, and set its value to "1".
Mouse menu
Add the option to the right-click menu of the drive to "Sort Disk Fragment"
Create a primary key "Defrag" under HKEY_LOCAL_MACHINE\Software\CLASSES\Drive\shell, change the value of "default" to: "Correction disk fragmentation", and create a primary key "command" under this primary key "NewWindow", click "command", and change the value of "default" to "C:\WINDOWS\%1" in the right window. (Note: C:\WINDOWS is the directory of the operating system)
Reduce the length of the "New" menu in the right-click menu
When we have used the system for a period of time and installed many programs, it often increases the length of the "New" menu in the right-click menu. At this time, we want to reduce the burden on the "New" menu. We can modify the registry. If we want to delete some directories in the right-click menu, we need to know what type of file is created in the project we want to delete. For example, the extension of the newly created file in the "WinZip File" is .zip. To delete the "WinZip File" in the "New" menu, we can run the registry editor, then look for ".zip", and after finding the .zip primary key, we find that there is a primary key named "ShellNew" below it. After deleting this key, you can delete the "WinZip File" in the "New" menu
Add the command "Open in new window" to the right-click menu
We often choose to open a folder in the same window in the "Folder Options", but when we browse folders, we sometimes want to compare the differences between two folders, or want to open multiple windows to browse folder contents, so we can use the following method. Under HKEY_LOCAL_MACHINE\Software\CLASSES\Directory\shell, create a primary key “NewWindow”. In the right window, change the "default" value to: "Open in a new window", and create a primary key “command” under this primary key “NewWindow”. Click "command” and change the "default" value to "%1" in the right window.
Add "Delete" and "Rename" commands to the "Recycle Bin" right-click menu
Under HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder, modify the two-phase value "Attributes" in the right window, and set it to "70 01 00 20".
Add a command to run DOS to the right-click menu of the folder
Create a primary key "CommandPrompt" under HKEY_CLASSES_ROOT\Directory\shell, change the value of "default" to: "Command" in the right window and create a primary key "command" under this primary key, and change the value of "default" to "/k cd %1" in the right window.
Automatically add a space when entering Chinese characters
Under HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion, you can see that there are full spelling, Microsoft Pinyin, English, Smart ABC and other input methods. Click the primary key of a certain input method, and we can see that there is the DWORD value "insert space" in the window on the right. When its value is "0", it means that no space is added. When it is "1", it means that a space is automatically added when entering Chinese characters.
Change the order of input methods
When we press Ctrl+Space to select the input method, we often have to switch several times before we can find the input method we need. Under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Keyboard Layouts, there are primary keys about keyboard and input method. The primary key and input method correspond to the following:
E00E0804 Microsoft Pinyin Input Method E0040804 Intelligent Pinyin Input Method E0050804 Area Code Input Method E0010804 Full Spoken Input Method 00000409 English Input Method E0030804 Zheng Code Input Method E0020804 Double Spoken Input Method
Under HKEY_USERS\.DEFAULT\keyboard layout\preload, there are 1, 2, 3, 4..., etc., which represents the sorting of the input method. Click 1, 2, 3, 4..., you can see the key value of the corresponding input method in the window on the right. Change the key value and change the order of the input method.
Added "Quick Start" option
Create a new primary key "Quick Start System" under HKEY_LOCAL_MACHINE\Software\CLASSES\Directory\shell, modify the "default" to "Quick Start System" in the window on the right, and create the new primary key "COMMAND" under HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\DIRECTORY\SHELL\Quick Start System. Create a new primary key "COMMAND" in the window on the right, modify the "default" to "C:\WINDOWS\,EXITWINDOWSEXEC".
Added option to shut down the system
Create a new primary key "Quick shutdown computer" under HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\DIRECTORY\SHELL, and in the window on the right, "Default" is "Quick shutdown computer". Under HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\DIRECTORY\SHELL\Quickly close the computer, create a new primary key "COMMAND", and modify the "default" to "C:\WINDOWS\,EXITWINDOWS” in the window on the right.