System hacks: unravel the mystery of program entry and hiding in the control panel

We have noticed that after installing 360 Security Guard, a “360 Power Uninstall” tool is automatically added to the Windows 10 Control Panel. So, how did it get added? If we want to add our usual registry editor or other tools to the Control Panel, how do we do it? On the contrary, there are some system components that should exist in the Control Panel, but we can’t find them in the Control Panel of some computers, how are these items hidden? Here we demystify the process.

1. control panel program into any of my line

We know that a file type, object or system component to be “settled” in the Windows registry, must have a unique identification number corresponding to the item. the Windows registry is the use of CLSID items to define the uniqueness of the project (CLSID is the abbreviation of Class ID). Since Windows usually uses GUID codes instead of Class IDs, we simply assign a set of GUID codes to the “Registry Editor” to provide a unique identifier for that system component in the registry. The GUID is in the format of “xxxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx “, where each x is a hexadecimal number in the range 0-9 or a-f.

Since it is too complicated to compile the above code manually, we can use the Microsoft GuidGen tool web-based GUID online service site (https://www.guidgen.com/) to generate such code automatically. First visit the above site, click on the Generate new GUID button, and a set of GUID codes will be generated. In this case, we use its automatically generated set of codes e054cbd2-94e6-4564-a35b-29e29fb439d2, as the “Registry Editor” tool in the registry identification code (Figure 1).

1822A-TJZCB-1

Next, the above GUID code needs to be added to the relevant branch of the registry.

Right-click on the Start button and select Run, enter REGEDIT to start the Registry Editor. Locate “HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerControlPanelNameSpace” in order. Right-click on the NameSpace item, then select “New→Item”, create a new sub-item under it and name it {e054cbd2-94e6-4564-a35b-29e29fb439d2}, then set the “Default “The “numeric data” value under it is modified to “Registry Editor” (Figure 2).

1822A-TJZCB-2

After that, locate the “HKEY_CLASSES_ROOTCLSID” branch of the Registry Editor and also create a new {e054cbd2-94e6-4564-a35b-29e29fb439d2} sub-section. Double click “Default” and set its value data to “Registry Editor”. Create two new string items under CLSID: one is named InfoTip, set its numeric data to “Open Registry Editor”, which is the prompt message displayed when the mouse moves to the Control Panel item; the other is named System. Category, the numerical data is set to code 5, which means that the “Registry Editor” will be placed in the “System and Security” group (Figure 3).

1822A-TJZCB-3

If no code value is specified, the default is “All Control Panel Options”. The relationship between the specific categories and codes is shown in the table (Table).

表

The core of calling a program in the registry is to establish the association of registry entries with program paths. Specifically in this case, it is to establish the association of the regedit program with the aforementioned related registry entries.

First of all, under {e054cbd2-94e6-4564-a35b-29e29fb439d2}, create a new sub-section named DefaultIcon, the value of the sub-section “Default” is “Registry Editor “The DefaultIcon key value represents the program icon. Then, under the above item, create a new sub-item named Shell, under Shell, create a new Open sub-item, under Open, create a new command sub-item. command key value corresponds to the command regedit to open the Registry Editor. double-click the “default” value in the right pane, set its Double-click on the “default” value in the right pane and set its numeric data to “regedit” (Figure 4).

1822A-TJZCB-4

After doing the above, we can find the entrance to the “Registry Editor” in the Control Panel window. Click on the “Registry Editor” link text to launch the Registry Editor.

After understanding the above principle, if you want to include the tools in your computer that are not included in the Control Panel, or the third-party system maintenance tools installed by the user into the Control Panel to manage, just change the command corresponding to the above command value to the path of the third-party program, and modify the corresponding name and prompt message content.

2. System items can be shown or hidden as you like

Not only can you add any program to the Control Panel, but the items that exist in it can also be hidden. To hide an item from the Control Panel window, such as “Mouse”, “Personalization”, “System”, etc., open the Local Group Policy Editor and locate it in order to “User Configuration → Administrative Templates → Control Panel, and then double-click “Hide specified Control Panel items” in the right pane (Figure 5).

1822A-TJZCB-5

In the next configuration window, select “Enabled” and the “Show” option below will be activated, click on this button and fill in the code corresponding to the hidden item in the disallowed list, for example: “Mouse Mouse” for “Microsoft”, “System” for “Microsoft”, “Personalization” for “Microsoft. “Personalization” for “Microsoft” (Figure 6). This allows you to hide an item in the Control Panel.

1822A-TJZCB-6

Leave a Comment