RestrictCpl

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\

Description

The RestrictCpl subkey stores a list of selected Control Panel items that are displayed while a policy hides all other Control Panel items. This list is used only when the value of the RestrictCpl entry is 1.

This subkey stores the setting of the Show Contents box in the Show only specified control panel applets Group Policy. Group Policy adds this subkey and its entries to the registry when you enable the policy. If you disable the policy or set it to Not configured, Group Policy deletes this subkey and its entries from the registry.

The Show only specified control panel applets policy hides all Control Panel items and folders except those represented by entries in this subkey. When hidden, the icons representing Control Panel programs and folders do not appear on the Start menu or in the Control Panel window.

Each entry in this subkey represents a Control Panel program, such as Display, or folder, such as Fonts. Entries are listed in alphabetical order of the program name. The number that names this entry only represents the order. It does not affect the feature.

The entries have the following format. Control Panel program names must end in the .cpl file name extension.

Item-number REG_SZ Control Panel item name

For example, the following entry displays the icon representing the Mouse program.

1 REG_SZ Main.cpl

The following entry displays the icon representing the Fonts folder.

1 REG_SZ Fonts

Change method

To change the value of the entries in this subkey, use Group Policy. These entries correspond to the Show Contents box in the Show only specified control panel applets policy (User Configuration\Administrative Templates\Control Panel).

Note Image Note

The Show only specified control panel applets policy only affects the display of icons. It does not prevent any Control Panel programs from running.

There is also a RestrictCpl entry which enables the Show only specified control panel applets policy. If the RestrictCpl entry is not in the registry, or if its value is 0, the policy is not enabled, and the system ignores the RestrictCpl subkey and its entries.

If the value of RestrictCpl is 1, but this subkey does not appear in the registry or contain valid entries, then the Control Panel window is empty.

The Hide specified control panel applets policy takes precedence over the Show only specified control panel applets policy. If the same Control Panel item appears in both the DisallowCpl subkey and the RestrictCpl subkey, the item is hidden, and the entry in the RestrictCpl subkey is ignored.

Tip Image Tip

To find the file name of a Control Panel item, search for files with the .cpl file name extension in the Systemroot\System32 directory.

For detailed information about particular Group Policy settings, see the Group Policy Reference (Gp.chm) on the Windows 2000 Resource Kit companion CD.

For general information about Group Policy, see Group Policy in Windows 2000 Help.

To see a table associating policies with their corresponding registry entries, see the Group Policy Reference Table.

Related Entries

Page Image

Page Image

Page Image