Preventing users from accessing RegEdit Registry Editor with GP-Editor

gpedit
  1. Click the Start button and select Run. Enter “gpedit.msc”.
  2. Go to User Configuration >> Administrative Templates >> System look for a setting named Prevent access to registry editing tools and double-click on it.
  3. Select “Enabled” then click OK.
  4. Done, you may need to restart the computer to make it works.