It is possible to disable regedit in Windows by adding a DWORD value DisableRegistryTools in registry and setting the value data as 1. Obviously this restriction is meant for administrators to protect their computers in network from being messed around by the users but virus makers has used this feature to prevent the “not-so-leet” users from accessing the registry to possibly remove the virus from autorun. Normally you will see a message that says “Registry editing has been disabled by your administrator” if regedit has been disabled.

At first I thought I could easily restore the changes by creating a .reg file that changes the DisableRegistryTools value data to 0 and then import it to a computer that has regedit disabled but I was wrong. When regedit has been disabled, there is no way to import a .reg file when you double click on it. So I’ve been using Remove Restriction Tool or RRT in short to enable back registry. There are times when RRT couldn’t run on a virus infected computer and I had to use other method such as using vbscript. Here’s another solution which is to convert the REG file to EXE so that it can import itself to registry without regedit.exe.
Reg2exe is a free and small tool that creates an EXE file from a registration (.reg) file. By executing the exe file, all settings within the reg file will be imported to the the windows registry. There are advantages in using the built-in Windows reg files or the exe file created by reg2exe.

For a .reg file, you can check what you import and modify easily using notepad. It also warns before you can import, the reg file is smaller in size and can be imported from DOS mode. As for exe reg file created by reg2exe, there won’t be warning when you import, can’t be easily modified and doesn’t require windows built-in regedit.exe.
It’s very easy to use reg2exe to convert a reg file to an exe. Just download the archive package from the link at the end of this article, run Reg2exe.exe and click the Register button. Now, you can simply right click on a .reg file and select “convert to exe”.

Within seconds, a new EXE file will appear at the same location as the reg file. If you encounter a computer that has registry editing tools disabled, just run the EXE file that you converted from a reg file and the settings will be imported.
Like I said earlier, you can import a registry setting using vbscript (.vbs) but it requires a little programming knowledge in order to convert a reg file to vbs. If you don’t want to waste your time in learning vbscript or begging for help in programming forums, then just export the reg file and convert it to exe using reg2exe.
[ Download Reg2Exe ]
i can disable my monitor power by regedit.please tell me this procces.
For standalone Windows XP systems,This error is caused if the DisableTaskMgr restriction is enabled.
To enable Task Manager, try one of these methods:
Method 1: Using the REG.EXE console tool
1. Click Start, Run and type or copy this command:
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f
try tyiping
For standalone Windows XP systems, perform the steps below to remove the registry editing restrictions.
Method 1: Using the REG.EXE console tool
1. Click Start, Run and type this command:
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools /t REG_DWORD /d 0 /f
exit
This program may be usefull for beginners and people who have malware and cant get rid of it somehow and needs to urgently merge some registry scripts into the registry.
One can easily bypass this restriction by using a vbscript file (Wscript.Shell object has a method called RegWrite, in which u can edit the registry under the Wscript.exe program. other programs can instantiate activex such as IE, Windows Explorer, mshta, HTML Help, etc because they utilize the IE webbrowser control.
Also it is possible to edit the registry using an INF file. This type of script has among other features the ability to write to the windows registry under Rundll32.exe.
You can use the command line registry editor too, the comand line tool reg.exe, that comes on Windows 2000 and above.
Nice Hack! Thanks for the Excellent Idea!
Is there any possibility of guests changing the registry without administrator by using the
REGtoEXE?
@BillytheGreat:Thanks for the VBscript !!!
Thanks Raymond very useful for me im a software dev many thanks again
Another Nice tool Raymond :-)
With more and more programs mucking with permissions, this is a nice tool.
On another note – I wish there was a good alternative to RRT. That’s the most irritating program I think I’ve ever used.
gt8 tip.but i am too agree with ,razor.it will be much great if you can give even the .reg file that enables the registry……..
Sometimes when clicking on the reg the reg key is not imported and this tiny soft can come to help. Good soft did it again. Thanks.
Another great ans useful tip, thanks mate, cheers!
very nice ray! xD
Other mention to enable regedit back:
-open notepad
-write down this script :
**********************************************
Option Explicit
Dim WshShell, strUserName, strDomain, strSID
Dim objWMIService, colItems, objItem, arrName, objAccount
Set WshShell = WScript.CreateObject(“WScript.Shell”)
Set objWMIService = GetObject(“winmgmts:\\.\root\cimv2″)
Set colItems = objWMIService.ExecQuery(“Select * From Win32_ComputerSystem”)
For Each objItem in colItems
arrName = Split(objItem.UserName, “\”)
strDomain = arrName(0)
strUserName = arrName(1)
Next
Set objAccount = objWMIService.Get _
(“Win32_UserAccount.Name=’” & strUserName & “‘,Domain=’” & strDomain & “‘”)
strSID=objAccount.SID
If trim(strSID) “” then
WshShell.RegDelete (“HKEY_USERS\” & strSID & “\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools”)
Msgbox “Completed!”
End if
**********************************************
-save as regrepair.vbs
-double click the regrepair.vbs
-regedit.exe has been successfully enable
Why Unregister button doesn’t work?
Nice info. But it would be helpful for many users if you can give the converted exe reg for enabling regedit.