There are several ways to prevent users from editing the registry.From the "Start" menu, choose the option "Run" and type in the command window gpedit.msc.The right side of the pop-window screen "Group Policy", double-click on the item "User Configuration".
in a new window by double-clicking, open the "Administrative Templates", and then click in the same way under the item "Cictema."In pravoy chacti new Joinery get "Make unavailable editing the registry."Call the pop-up menu by clicking the right mouse button and choose the option "Properties".Check "Enable".In the "Disable Startup regedit without warning?" Can choose from a list of "Yes" or "No".
there a way to disable the command regedit.exe.For the other teams
will be available for editing the registry.Vvedite regedit in the command line.Will open the Registry Editor.
Open the HKCurrentUser \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies.In "Edit" menu, choose the option "Create" and "Section".Enter the name of the section System.In "Edit" menu, create a "Parameter Dword» using the "New" and enter the name of the parameter DisableRegistryTools.Double-click on the name and assign it a value.If the value is 1, Registry editing disabled if 0 - allowed.

to better confirm the complete success of the ban through Group Policy, as described above.
From the "Start" menu, open the "All Programs", "Standard" and "Notepad."Record it in code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER \ SOFTWARE \ Microsoft \ Windows \ CurrentVerson \ Policies \ System]

"DisableRegistryTools" = dword: 00000001
Add a blank line.Save record as edit.reg.Close the "notepad" and double-click the file you created.A new option is added to the registry.If you need to lift the ban on editing, open the "Notepad" this file and change the value to 0:

dword: 00000000