The following trick will show you to how to prohibit access to the control panel in Windows 7,
1. Press Windows logo button + R
2. Type "gpedit.msc" and press enter,
3. Navigate to user configuration > Administrative Templates > Control Panel and on the right pane double click on the second last option and click on enabled.
4. That's All.