Problem solve Get help with specific problems with your technologies, process and projects.

Secure the Windows registry

This tip shows step-by-step how to stop users from editing their Windows registry.

Here's how to automatically secure machines from crashes caused by overzealous users editing the registry.

All you have to do is go to System Policy Editor in Administrator Tools or run command poledit.exe.

  1. Choose File->New policy.
  2. Choose Edit-> New Group and select Domian Users. (This can be done to the deafult users icon also, but that will deny EVERYONE,including you the admininstrator, from accessing the registry.)
  3. Now double click Domain Users and drill down to System-> Restrictions.
  4. Here you will find two tabs: Disable Registry Editing Tools and Run Only Allowed Window Applications. Both of these tabs are greyed out (which means they are on default mode).
  5. Now Click on Disable Registry Editing Tools. You will notice a check mark appears. Now the registery editing is disabled.
  6. One more important step remains. After you click OK, choose File-> Save as.
  7. Browse to %windir%system32replImportScripts Directory (which is your Netlogon Directory).
  8. Save the file as NTconfig.pol and once more as config.pol. The first one is for all the NT based workstations and the config.pol is for Windows 95/98 based workstations.
  9. Now go to services and stop and start the Directory Replication Service.

That is all. Now when the users logon the policy will get replicated to their machines and the registery ediing on all the machines will be disabled for domain users.

This was last published in July 2001

Dig Deeper on Microsoft Group Policy Management

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.