To disable the built-in Registry Editor (regedit) from starting in Windows, do the following:
1) Open the Registry Editor itself.
2) Navigate to the following key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
3) Create a DWORD value named "DisableRegistryTools" and set it to "1".
4) Reboot.
As a result - regedit will refuse to launch.
But how do you undo this? Create a .reg file in advance, in which this value equals "0". Or use third-party editors or utilities.
Previously covered - how to manage the registry from the command line (using Windows' own built-in tools):
Comments