Quote of the day : "Rain Man was a retard!" Shibuki (Retard Girl voice pack)

Next quote in 3.2 hours. [suggest a quote]

Activating regedit (Enable/Disable registry tools)

This is the first registry tip we'll give, since you'll kinda need it if you want to use our other registry tweaks ;).

The value

The following values lock the registry editing tools when they are set to 1 (they are DWORD values) :
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools for the current user and
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools for all users (doesn't work on Windows XP though).
However, once one of them has been set to 1, you can't use regedit to simply remove them. So, here are 3 methods.

The methods

1. A reg file !

Tested and working on Win 2k, not working on Win XP.
You simply need to create and launch the following reg file :
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=-

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=-
But well, they finally blocked that in Windows XP ;)

2. A VBS (Visual Basic Script)

Tested and working on Win 2k and XP.
In notepad, copy/paste the following script, and save the file with a .vbs extension, then run it :
'Enable/Disable Registry Editing tools
' Doug Knox - rev 12/06/99
'This code may be freely distributed/modified as long as it remains free of charge
'http://www.icpug.org.uk/national/features/030607fe.htm
'Edited by PatheticCockroach - http://patheticcockroach.com

Option Explicit
'Declare variables
Dim WSHShell, rr, rr2, MyBox, val, val2, ttl, toggle
Dim jobfunc, itemtype

On Error Resume Next

Set WSHShell = WScript.CreateObject("WScript.Shell")
val = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
val2 = "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
itemtype = "REG_DWORD"
jobfunc = "Registry Editing Tools are now "
ttl = "Result"

'reads the registry key value.
rr = WSHShell.RegRead (val)
rr2 = WSHShell.RegRead (val2)

toggle=1
If (rr=1 or rr2=1) Then toggle=0

If toggle = 1 Then
	WSHShell.RegWrite val, 1, itemtype
	WSHShell.RegWrite val2, 1, itemtype
	Mybox = MsgBox(jobfunc & "disabled.", 4096, ttl)
Else
	WSHShell.RegDelete val
	WSHShell.RegDelete val2
	Mybox = MsgBox(jobfunc & "enabled.", 4096, ttl)
End If

3. Use a modified regedit

We created modified regedit.exe from Windows 2000 (French) and Windows XP (English). These cracked regedits are completely insensitive to any key trying to prevent them from running. You can have them here :
mpam4_regedit_2k.exe (35 KiB, Win 2k, French)
mpam4_regedit_XP.exe (143 KiB, Win XP, English)
Well, now you must have found your way to unlock your regedit, see you on other tweaks.
Comments :
Wonderful (ramssy, on Thu, 27 May 2010 07:30:37 +0200) Report Reply
Newcomer I didn't expect this.

Great Work. Finally i got my registry Editor
Thanx alot (abilash100, on Tue, 01 Sep 2009 19:48:17 +0200) Report Reply
Newcomer The above notepad file to enable & disable registry is really good. First of all a big thanks for that. However, please tell the METHOD to Enable/Disable registry.

With regards,
Abilash
Replies :
Show
Thank you very much (ddamle, on Tue, 21 Jul 2009 12:38:56 +0200) Report Reply
Newcomer My computer was infected by this "UjBtright_antvirus.vbs" I tried all sorts of things for last 10 days. Finally your Cracked Regedit did the job.

BTW is it not stupid for windows developers to put the setting of enabling or disabling registry editing within the registry itself. Beats common sense!
Thanks (muks, on Thu, 22 Jan 2009 16:36:18 +0100) Report Reply
Newcomer Thanks a lot.. The VBS solution worked for me..
Replies :
→ Re: its not working Show
→ its not workingShow
Great Help!!! (jefkeren, on Fri, 28 Nov 2008 10:37:58 +0100) Report Reply
Newcomer Thanks it works great....thanks :) :)
Replies :
→ Enable windows registryShow
Thanks.. (hardwheat, on Mon, 01 Sep 2008 05:08:14 +0200) Report Reply
Newcomer this is great, i was able to open my registry using your tweak.

thank you.
THANK YOU!! :D (Firefox, on Fri, 26 Oct 2007 02:24:19 +0200) Report Reply
Newcomer I haven't been able to unlock my regedit forever, either. THANKS! You made me create an account just to post my appreciation! :P

Edited on Fri, 26 Oct 2007 02:24:54 +0200
Replies :
Show
(ReyTech, on Thu, 05 Apr 2007 08:14:46 +0200) Report Reply
Newcomer Hi!
Im trying to use this .vbs solution and when ever i double click on this file my system restarts! and the registry editing is not enabled? its a single user on the system! can u pls tell me wht could be the problem?
WBR
ReyTech.
Replies :
→ Re : VBS does restartShow
Thanks for the vbs script (gl3nborj, on Sat, 09 Dec 2006 07:00:48 +0100) Report Reply
Newcomer Virus Brontox had disabled registry editing and now through your help, it is running again.

a million thanks

Enable windows Registry (ballistic, on Sun, 22 Oct 2006 00:10:16 +0200) Report Reply
Newcomer IS there a way to block the modifies regedit.exe from opening the registry ... you must have tested ways of preventing your tweak before you releast it. Im the local PC Admin at my work and it seems that my users have found your tweak and have been changing GPO policies with this utility, can you shed some light as to how I can protect against it.
Replies :
→ Re: Enable windows RegistryShow
→ ThanksShow
Show
Enable windows Registry (ak47oju, on Sun, 08 Oct 2006 18:03:40 +0200) Report Reply
Newcomer My PC contacted Trojan Virus which was removed later but in doing so it disabled my windows registry. When I tried the vb script in the note pad, it was like magic! Thanks
Thanks !! (blue45, on Mon, 25 Apr 2005 22:31:46 +0200) Report Reply
Private I'd been trying to unlock my regedit for ages. Thx !
The cracked exe is my favorite method btw :)
[Add a comment]