Jumat, 21 Desember 2007

Enable Disable Regedit

Registry Editor is a gate that can change the all your Windows registry value. It means if somebody want to destroy your Windows XP just open Registry Editor and change the important. So I want to share the trick to disable or enable Registry Editor with one click so many tricks to enable / disable Registry Editor in here 2 Method to enable or disable regedit :


1. Using reg file

Open Notepad to type the script via Start - Run menu and type notepad in textbox then click OK button or press Enter key and Paste bellow.

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

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=-
----------------------end above

After that click File - Save As Enable.reg and double click that file to run that aplication.

2. Using vbs


----------------------start bellow
Dim Registry
ManageRegedit()
Sub ManageRegedit()
Set Registry=WScript.CreateObject("wscript.shell")
describe="Type 0 or 1 : " & VbCrLf &_
"[0] -> Enable Regedit." & VbCrLf &_
"[1] -> Disable Regedit."

question=InputBox(describe, "Disable/Enable Regedit",0)

Registry.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion" &_
"\Policies\System\DisableRegistryTools",question,"REG_DWORD"

If question=1 Then
MsgBox "Registry is disabled.",VbInformation, "Disabled"
Else
If question=0 Then
Msgbox "Registry is enabled.",VbInformation, "Enabled"
Registry.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion" &_
"\Policies\System\DisableRegistryTools"
Else
Msgbox "Input 0 or 1 only !",VbInformation, "Wrong Input"
ManageRegedit()
End If
End If
End Sub

----------------------end above
After that save that with file name Enable.vbs and double click that file.

Related Post :



0 comments:

R