Restrict a User’s Access to the Local Registry in 10 Steps

Using a registry editor such as regedit32.exe, a local administrator can restrict a specific user from editing the registry on a machine running Windows XP Professional or Windows 2000. On the user's machine, log on under a Local Administrator account and follow these steps:

  1. Under the Start menu, click Run and type regedt32.exe to open the registry editor.
  2. Highlight HKEY_USERS, then select Registry. Select Load Hive from the Registry menu.
  3. Go to the Users Profile directory of the user you want to restrict. Select Ntuser.dat.
  4. When prompted for the Key Name, enter the username of the person you want to restrict, then click OK.
  5. Navigate to HKEY_USERS\<username>\Software\Microsoft\Windows\CurrentVersion\Policies, where <username> is the person's username. Add the System subkey if it doesn't already exist.
  6. Under the System subkey, add the value DisableRegistryTools.
  7. Make the value a REG-DWORD type, and set the value to 1.
  8. Select Unload Hive from the Registry menu.
  9. Close the registry editor, and restart the system.
  10. To make sure the restriction works, log on with the person's username (which must be restricted). Under the Start menu, click Run and type regedt32.exe. You should see the following error message: editing registry has been disabled by administrator.

Note that editing the registry is risky, so make sure that you have a backup of the registry before making any changes to it.

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.