trio.so
How-Tos

How to Disable Control Panel Using Group Policy

Disable Control Panel and Settings with Group Policy: the exact policy, its registry value, how to exempt admins and how to allow only some items.

Mountain landscape representing leadership perspective and vision
Written by
Atena Ladchartabi

Content writer, trio.so

Published on
Modified on

To disable Control Panel with Group Policy, enable Prohibit access to Control Panel and PC settings under User Configuration > Policies > Administrative Templates > Control Panel in a GPO linked to your users. It blocks both Control Panel and the Settings app on Windows 10 and Windows 11. It is a user policy, so link it to the organizational unit (OU) that holds the user accounts, and use security filtering to leave your administrators out.

Before you start

  • You need the Group Policy Management Console (gpmc.msc) and rights to create and link a GPO.
  • Decide who the policy is for. Blocking Control Panel for every account, including the help desk, makes support harder.
  • Test on one OU with a test user before you link it widely.

Step 1: Create the GPO

  1. Open Group Policy Management.
  2. Right-click the OU that contains the user accounts and choose Create a GPO in this domain, and Link it here.
  3. Give it a name that says what it does, such as Users - Block Control Panel.
  4. Right-click the GPO and choose Edit.

Step 2: Enable the policy

  1. Go to User Configuration > Policies > Administrative Templates > Control Panel.
  2. Open Prohibit access to Control Panel and PC settings.
  3. Select Enabled and click OK.

When a user tries to open Control Panel or Settings, Windows shows a message that the operation has been canceled because of restrictions on the computer.

Step 3: Leave administrators out

Because the policy follows the user, an admin who signs in under an account in that OU is blocked too. Exclude the admins with security filtering:

  1. Select the GPO in Group Policy Management and open the Delegation tab.
  2. Click Advanced, add your admin or help desk group, and set Apply group policy to Deny.

Deny overrides the allow that the rest of your users get, so the policy skips that group. Keep admin accounts in a separate OU as well, so they are not caught by user policies by accident.

Block Control Panel on certain computers instead

To block it on shared or kiosk PCs for everyone who signs in, link the GPO to the computers' OU and turn on loopback processing: Computer Configuration > Policies > Administrative Templates > System > Group Policy > Configure user Group Policy loopback processing mode, set to Merge or Replace. The user settings in that GPO then apply to anyone who signs in to those computers.

Step 4: Apply and check

gpupdate /force
gpresult /r /scope user

Run these on a test PC while signed in as a test user. gpresult lists the applied GPOs; yours should be there. Then try to open Control Panel and Settings.

Which registry value does it set?

The policy writes this value for the user:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
NoControlPanel  (REG_DWORD)  1

On a PC that is not in a domain, you can set the same value with the Local Group Policy Editor (gpedit.msc, not on Home editions) or in the registry. In a domain, use the GPO: a value set by hand is overwritten when Group Policy refreshes.

Allow some Control Panel items instead of blocking all

In the same Control Panel folder, two policies give finer control:

  • Show only specified Control Panel items: list the items users may open, and everything else is hidden.
  • Hide specified Control Panel items: list the items to hide, and everything else stays.

For the Settings app, Computer Configuration > Policies > Administrative Templates > Control Panel > Settings Page Visibility shows or hides individual Settings pages by their ms-settings: names. Do not combine these with the full block: the full block wins.

How to undo it

Set Prohibit access to Control Panel and PC settings to Not Configured or Disabled, or unlink the GPO, then run gpupdate /force on the PC or wait for the next refresh. The NoControlPanel value is removed and Control Panel opens again.

Related reading: enable Remote Desktop with Group Policy, how to disable a domain controller GPO and disable the Guest account on Windows 11.

Ready-to-use Templates

Must-have Template Toolkit for IT Admins

Explore All
Template Toolkit

Start your free trial

No credit card required
Full access to all features

Manage Every Device From One Console

trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.

14-day free trial. No credit card required.

trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.

Smiling womanAbstract geometric patternAbstract geometric patternSmiling womanSmiling woman

Frequently Asked Questions (FAQ)

Have questions? We've got answers. This section covers some of the most commonly asked questions related to this topic.

Enable Prohibit access to Control Panel and PC settings under User Configuration > Policies > Administrative Templates > Control Panel, in a GPO linked to the users' OU.

Link the GPO to the OU with standard users, then on the GPO's Delegation tab set Apply group policy to Deny for your admin group.

NoControlPanel, a REG_DWORD set to 1 under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.

Yes. On Windows 10 and 11 the same policy blocks Control Panel and the Settings app.

Related

From the blog

The related industry news, interviews, technologies, and resources.