Thursday, June 17, 2010

Disable Registry Editing (regedit)

1. Open notepad
2. Copy below code in notepad:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

3. Save file as DisablrReg.Reg anywhere on your system
4. Double click on it to run it

This will disable registry editing. After doing this if you try to edit regisry, will show you something like 'Acess denied or You don't have permissions contact your administrator'.

No comments: