Activating regedit

ref :

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



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
‘Edited by PatheticCockroach –
‘ Post here by Rathwjj

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)

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)
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_XP.exe (143 KiB, Win XP, English) … dit_XP.exe
Well, now you must have found your way to unlock your regedit, see you on other tweaks.