Computer step by step
 Make your Pc better
Description:  

Hides specified Control Panel items.

This setting removes Control Panel items (such as "Mouse", "System" or "Personalization") from the Control
Panel window and the Start menu.

To hide a Control Panel item, click Show. In the Show Contents dialog box in the Value column, enter the
Control Panel item's canonical name (e.g. "Microsoft.Mouse", "Microsoft.System" or
"Microsoft.Personalization").

Note: For Windows Vista, Windows Server 2008, and earlier versions of Windows, the module name (e.g.
"timedate.cpl" or "inetcpl.cpl") should be entered. If a Control Panel item does not have a CPL file, or the CPL
file contains multiple applets, then its module name and string resource identification number should be
entered (e.g. "@systemcpl.dll,-1" for System or "@themecpl.dll,-1" for Personalization).

A complete list of canonical and module names of Control Panel items can be found in MSDN at
http://go.microsoft.com/fwlink/?LinkId=122973.

This setting affects the Start menu and Control Panel window, as well as other ways to access Control Panel
items (such as shortcuts in Help and Support or command lines that use control.exe).

If both the "Hide specified Control Panel items" setting and the "Show only specified Control Panel items"
setting are enabled, the "Show only specified Control Panel items" setting is ignored.

Note: The Display Control Panel item cannot be hidden in the Desktop context menu by using this setting. To
hide the Display Control Panel item and prevent users from modifying the computer's display settings use the
"Disable Display Control Panel" setting instead.

Supported on: At least Windows 2000.
Hide specified Control Panel items
Description Gpedit Regedit CMD Back VBScript PowerShell Script
Gpedit:   

Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
Type gpedit.msc and press Enter
In the Group Policy window please navigate to User Configuration -> Administrative Templates ->
Control Panel and open Hide specified Control Panel items.
Not Configured -> is the Default state
Enabled -> apply this GPO
Disabled -> this GPO will not be applied

To finish press ok button and close Group Policy window.
Type regedit and press ok
Please confirm User Account Control pop-up
Microsoft official disclaimer

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by
using another method. These problems might require that you reinstall the operating system. Microsoft
cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Note: This registry key is created by Group Policy when this GPO is Enable. The GPO Default state is Not
Configured -> this registry entry is not present. For Disable this registry entry is not present.

Please navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
\Explorer
and locate DisallowCpl registry key
Regedit:          

Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
   
   
Double click on DisallowCpl and edit the value:

To Enable:
Change the data value with:
DisallowCpl = 1

In DisallowCpl folder specify what you want to hide from Control Panel.

To finish press ok button and close Registry Editor window

Note: Manual editing of this registry key will not be reflected in Group Policy. If you modify this GPO from
Group Policy this registry key will be rewritten.
Type cmd, right click on cmd icon under the Programs and click on Run as administrator
Please confirm User Account Control pop-up
Please select, right and copy a registry key from below, then right click on command prompt window
, select Paste and press Enter

Enabled:
REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v DisallowCpl /t REG_DWORD /d 1 /f
REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl" /v 1 /t REG_SZ /d Microsoft.Mouse /f
REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl" /v 2 /t REG_SZ /d Microsoft.System /f

Not Configured:
REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v DisallowCpl /f
REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl" /v 1 /f
REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl" /v 2 /f

Note: Manual editing of this registry key will not be reflected in Group Policy. If you modify this GPO from
Group Policy this registry key will be rewritten.
CMD:          

Please perform the following steps:

Please go to Pearl button (Start) and click on the Search programs and files
For more information about the change from Start to Pearl button click here
   
VBScript:          

Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")

strKeyPath1 = "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
strKeyPath2 = "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl"
oReg.CreateKey HKEY_CURRENT_USER,strKeyPath1
oReg.CreateKey HKEY_CURRENT_USER,strKeyPath2
strValueName1 = "DisallowCpl"
strValueName2 = "1"
strValueName3 = "2"
'Enabled
dwValue = 1
strValue1 = "Microsoft.Mouse"
strValue2 = "Microsoft.System"
oReg.SetDWORDValue HKEY_CURRENT_USER,strKeyPath1,strValueName1,dwValue
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath2,strValueName2,strValue1
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath2,strValueName3,strValue2
'Not Configured
'oReg.DeleteValue HKEY_CURRENT_USER,strKeyPath1,strValueName1
'oReg.DeleteValue HKEY_CURRENT_USER,strKeyPath2,strValueName2
'oReg.DeleteValue HKEY_CURRENT_USER,strKeyPath2,strValueName3
   
PowerShell Script :          

Enabled

$RegKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies"
If(Test-Path ($RegKey + "\Explorer"))
{
 $RegKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
  ##Enabled
  New-ItemProperty -path $RegKey -name DisallowCpl -value 1 -PropertyType DWord -Force
 If(Test-Path ($RegKey + "\DisallowCpl"))
 {
   $RegKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl"
   New-ItemProperty -path $RegKey -name 1 -value Microsoft.Mouse -PropertyType String -Force
   New-ItemProperty -path $RegKey -name 2 -value Microsoft.System -PropertyType String -Force
 }
 else
 {
   New-Item -path $RegKey -name DisallowCpl
   $RegKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl"
   New-ItemProperty -path $RegKey -name 1 -value Microsoft.Mouse -PropertyType String
   New-ItemProperty -path $RegKey -name 2 -value Microsoft.System -PropertyType String
 }
}
else
{
 New-Item -path $RegKey -name Explorer
 $RegKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
  ##Enabled
  New-ItemProperty -path $RegKey -name DisallowCpl -value 1 -PropertyType String
 New-Item -path $RegKey -name DisallowCpl
 $RegKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl"
 New-ItemProperty -path $RegKey -name 1 -value Microsoft.Mouse -PropertyType String
 New-ItemProperty -path $RegKey -name 2 -value Microsoft.System -PropertyType String
}

Not Configured\Disabled

$RegKey = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies"
Remove-ItemProperty -Path($RegKey + "\Explorer") -name DisallowCpl
Remove-ItemProperty -Path($RegKey + "\Explorer\DisallowCpl") -name 1
Remove-ItemProperty -Path($RegKey + "\Explorer\DisallowCpl") -name 2
If( (Get-Item -Path($RegKey + "\Explorer\DisallowCpl")).ValueCount -eq 0 -and (Get-Item -Path($RegKey + "\Explorer\DisallowCpl")).SubKeyCount -eq 0)
{
 Remove-Item -Path($RegKey + "\Explorer\DisallowCpl")
 If( (Get-Item -Path($RegKey + "\Explorer")).ValueCount -eq 0 -and (Get-Item -Path($RegKey + "\Explorer")).SubKeyCount -eq 0)
 {
   Remove-Item -Path($RegKey + "\Explorer")   
 }   
}
   
Up Back
   
Result

Control Panel items

Registry value

Administrative Tools

Microsoft.AdministrativeTools

AutoPlay

Microsoft.AutoPlay

Biometric Devices

Microsoft.BiometricDevices

BitLocker Drive Encryption

Microsoft.BitLockerDriveEncryption

Color Management

Microsoft.ColorManagement

Credential Manager

Microsoft.CredentialManager

Date and Time

Microsoft.DateAndTime

Default Programs

Microsoft.DefaultPrograms

Device Manager

Microsoft.DeviceManager

Devices and Printers

Microsoft.DevicesAndPrinters

Display

Microsoft.Display

Ease of Access Center

Microsoft.EaseOfAccessCenter

Family Safety

Microsoft.ParentalControls

File History

Microsoft.FileHistory

Folder Options

Microsoft.FolderOptions

Fonts

Microsoft.Fonts

HomeGroup

Microsoft.HomeGroup

Indexing Options

Microsoft.IndexingOptions

Infrared

Microsoft.Infrared

Internet Options

Microsoft.InternetOptions

iSCSI Initiator

Microsoft.iSCSIInitiator

iSNS Server

Microsoft.iSNSServer

Keyboard

Microsoft.Keyboard

Language

Microsoft.Language

Location Settings

Microsoft.LocationSettings

Mouse

Microsoft.Mouse

MPIOConfiguration

Microsoft.MPIOConfiguration

Network and Sharing Center

Microsoft.NetworkAndSharingCenter

Notification Area Icons

Microsoft.NotificationAreaIcons

Pen and Touch

Microsoft.PenAndTouch

Personalization

Microsoft.Personalization

Phone and Modem

Microsoft.PhoneAndModem

Power Options

Microsoft.PowerOptions

Programs and Features

Microsoft.ProgramsAndFeatures

Recovery

Microsoft.Recovery

Region

Microsoft.RegionAndLanguage

RemoteApp and Desktop Connections

Microsoft.RemoteAppAndDesktopConnections

Sound

Microsoft.Sound

Speech Recognition

Microsoft.SpeechRecognition

Storage Spaces

Microsoft.StorageSpaces

Sync Center

Microsoft.SyncCenter

System

Microsoft.System

Tablet PC Settings

Microsoft.TabletPCSettings

Taskbar and Navigation

Microsoft.Taskbar

Troubleshooting

Microsoft.Troubleshooting

TSAppInstall

Microsoft.TSAppInstall

User Accounts

Microsoft.UserAccounts

Windows Anytime Upgrade

Microsoft.WindowsAnytimeUpgrade

Windows Defender

Microsoft.WindowsDefender

Windows Firewall

Microsoft.WindowsFirewall

Windows Mobility Center

Microsoft.MobilityCenter

Windows To Go

Microsoft.PortableWorkspaceCreator

Windows Update

Microsoft.WindowsUpdate

Work Folders

Microsoft.WorkFolders

Control Panel items

Registry value

Administrative Tools

Microsoft.AdministrativeTools

AutoPlay

Microsoft.AutoPlay

Biometric Devices

Microsoft.BiometricDevices

BitLocker Drive Encryption

Microsoft.BitLockerDriveEncryption

Color Management

Microsoft.ColorManagement

Credential Manager

Microsoft.CredentialManager

Date and Time

Microsoft.DateAndTime

Default Programs

Microsoft.DefaultPrograms

Device Manager

Microsoft.DeviceManager

Devices and Printers

Microsoft.DevicesAndPrinters

Display

Microsoft.Display

Ease of Access Center

Microsoft.EaseOfAccessCenter

Family Safety

Microsoft.ParentalControls

File History

Microsoft.FileHistory

Folder Options

Microsoft.FolderOptions

Fonts

Microsoft.Fonts

HomeGroup

Microsoft.HomeGroup

Indexing Options

Microsoft.IndexingOptions

Infrared

Microsoft.Infrared

Internet Options

Microsoft.InternetOptions

iSCSI Initiator

Microsoft.iSCSIInitiator

iSNS Server

Microsoft.iSNSServer

Keyboard

Microsoft.Keyboard

Language

Microsoft.Language

Location Settings

Microsoft.LocationSettings

Mouse

Microsoft.Mouse

MPIOConfiguration

Microsoft.MPIOConfiguration

Network and Sharing Center

Microsoft.NetworkAndSharingCenter

Notification Area Icons

Microsoft.NotificationAreaIcons

Pen and Touch

Microsoft.PenAndTouch

Personalization

Microsoft.Personalization

Phone and Modem

Microsoft.PhoneAndModem

Power Options

Microsoft.PowerOptions

Programs and Features

Microsoft.ProgramsAndFeatures

Recovery

Microsoft.Recovery

Region

Microsoft.RegionAndLanguage

RemoteApp and Desktop Connections

Microsoft.RemoteAppAndDesktopConnections

Sound

Microsoft.Sound

Speech Recognition

Microsoft.SpeechRecognition

Storage Spaces

Microsoft.StorageSpaces

Sync Center

Microsoft.SyncCenter

System

Microsoft.System

Tablet PC Settings

Microsoft.TabletPCSettings

Taskbar and Navigation

Microsoft.Taskbar

Troubleshooting

Microsoft.Troubleshooting

TSAppInstall

Microsoft.TSAppInstall

User Accounts

Microsoft.UserAccounts

Windows Anytime Upgrade

Microsoft.WindowsAnytimeUpgrade

Windows Defender

Microsoft.WindowsDefender

Windows Firewall

Microsoft.WindowsFirewall

Windows Mobility Center

Microsoft.MobilityCenter

Windows To Go

Microsoft.PortableWorkspaceCreator

Windows Update

Microsoft.WindowsUpdate

Work Folders

Microsoft.WorkFolders

Control Panel items

Registry value

Administrative Tools

Microsoft.AdministrativeTools

AutoPlay

Microsoft.AutoPlay

Biometric Devices

Microsoft.BiometricDevices

BitLocker Drive Encryption

Microsoft.BitLockerDriveEncryption

Color Management

Microsoft.ColorManagement

Credential Manager

Microsoft.CredentialManager

Date and Time

Microsoft.DateAndTime

Default Programs

Microsoft.DefaultPrograms

Device Manager

Microsoft.DeviceManager

Devices and Printers

Microsoft.DevicesAndPrinters

Display

Microsoft.Display

Ease of Access Center

Microsoft.EaseOfAccessCenter

Family Safety

Microsoft.ParentalControls

File History

Microsoft.FileHistory

Folder Options

Microsoft.FolderOptions

Fonts

Microsoft.Fonts

HomeGroup

Microsoft.HomeGroup

Indexing Options

Microsoft.IndexingOptions

Infrared

Microsoft.Infrared

Internet Options

Microsoft.InternetOptions

iSCSI Initiator

Microsoft.iSCSIInitiator

iSNS Server

Microsoft.iSNSServer

Keyboard

Microsoft.Keyboard

Language

Microsoft.Language

Location Settings

Microsoft.LocationSettings

Mouse

Microsoft.Mouse

MPIOConfiguration

Microsoft.MPIOConfiguration

Network and Sharing Center

Microsoft.NetworkAndSharingCenter

Notification Area Icons

Microsoft.NotificationAreaIcons

Pen and Touch

Microsoft.PenAndTouch

Personalization

Microsoft.Personalization

Phone and Modem

Microsoft.PhoneAndModem

Power Options

Microsoft.PowerOptions

Programs and Features

Microsoft.ProgramsAndFeatures

Recovery

Microsoft.Recovery

Region

Microsoft.RegionAndLanguage

RemoteApp and Desktop Connections

Microsoft.RemoteAppAndDesktopConnections

Sound

Microsoft.Sound

Speech Recognition

Microsoft.SpeechRecognition

Storage Spaces

Microsoft.StorageSpaces

Sync Center

Microsoft.SyncCenter

System

Microsoft.System

Tablet PC Settings

Microsoft.TabletPCSettings

Taskbar and Navigation

Microsoft.Taskbar

Troubleshooting

Microsoft.Troubleshooting

TSAppInstall

Microsoft.TSAppInstall

User Accounts

Microsoft.UserAccounts

Windows Anytime Upgrade

Microsoft.WindowsAnytimeUpgrade

Windows Defender

Microsoft.WindowsDefender

Windows Firewall

Microsoft.WindowsFirewall

Windows Mobility Center

Microsoft.MobilityCenter

Windows To Go

Microsoft.PortableWorkspaceCreator

Windows Update

Microsoft.WindowsUpdate

Work Folders

Microsoft.WorkFolders

Control Panel items

Registry value

Administrative Tools

Microsoft.AdministrativeTools

AutoPlay

Microsoft.AutoPlay

Biometric Devices

Microsoft.BiometricDevices

BitLocker Drive Encryption

Microsoft.BitLockerDriveEncryption

Color Management

Microsoft.ColorManagement

Credential Manager

Microsoft.CredentialManager

Date and Time

Microsoft.DateAndTime

Default Programs

Microsoft.DefaultPrograms

Device Manager

Microsoft.DeviceManager

Devices and Printers

Microsoft.DevicesAndPrinters

Display

Microsoft.Display

Ease of Access Center

Microsoft.EaseOfAccessCenter

Family Safety

Microsoft.ParentalControls

File History

Microsoft.FileHistory

Folder Options

Microsoft.FolderOptions

Fonts

Microsoft.Fonts

HomeGroup

Microsoft.HomeGroup

Indexing Options

Microsoft.IndexingOptions

Infrared

Microsoft.Infrared

Internet Options

Microsoft.InternetOptions

iSCSI Initiator

Microsoft.iSCSIInitiator

iSNS Server

Microsoft.iSNSServer

Keyboard

Microsoft.Keyboard

Language

Microsoft.Language

Location Settings

Microsoft.LocationSettings

Mouse

Microsoft.Mouse

MPIOConfiguration

Microsoft.MPIOConfiguration

Network and Sharing Center

Microsoft.NetworkAndSharingCenter

Notification Area Icons

Microsoft.NotificationAreaIcons

Pen and Touch

Microsoft.PenAndTouch

Personalization

Microsoft.Personalization

Phone and Modem

Microsoft.PhoneAndModem

Power Options

Microsoft.PowerOptions

Programs and Features

Microsoft.ProgramsAndFeatures

Recovery

Microsoft.Recovery

Region

Microsoft.RegionAndLanguage

RemoteApp and Desktop Connections

Microsoft.RemoteAppAndDesktopConnections

Sound

Microsoft.Sound

Speech Recognition

Microsoft.SpeechRecognition

Storage Spaces

Microsoft.StorageSpaces

Sync Center

Microsoft.SyncCenter

System

Microsoft.System

Tablet PC Settings

Microsoft.TabletPCSettings

Taskbar and Navigation

Microsoft.Taskbar

Troubleshooting

Microsoft.Troubleshooting

TSAppInstall

Microsoft.TSAppInstall

User Accounts

Microsoft.UserAccounts

Windows Anytime Upgrade

Microsoft.WindowsAnytimeUpgrade

Windows Defender

Microsoft.WindowsDefender

Windows Firewall

Microsoft.WindowsFirewall

Windows Mobility Center

Microsoft.MobilityCenter

Windows To Go

Microsoft.PortableWorkspaceCreator

Windows Update

Microsoft.WindowsUpdate

Work Folders

Microsoft.WorkFolders

By Default you can see all the items under Start -> Control Panel.
You can remove "specific items" from Control Panel using Group Policy or modify the specific registry key.  

Note: If you want to remove "specified items" from Control Panel to a specific user you need to modify or
add the
registry key under his SID.