Sunday 9 June 2013

HOW TO ENABLE REGISTRY EDITING (regedit) DISABLED BY ADMINISTRATOR

This is the common problem faced every PC user and many of you do you do not know how to re-enable it so now I am going to tell you how to do it please just follow the steps given below :-
Enable Registry Editor Using Group Policy Editor
1. Click on Start. Go to Run. Users running Windows 8, Windows 7 or Vista, go to Search.
2. Type gpedit.msc and press Enter.
3. Navigate to User Configuration/ Administrative Templates / System.
4. In the work area, double click on "Prevent Access to registry editing tools".


5. In the popup window, encircle Disabled and click on OK.
6. Normally, Registry Editor will be immediately accessible. If it is not, restart your PC.


Group Policy Editor is not available on home editions of Windows.


Enable Regedit by simply running a CMD Command
1.Open Notepad.
2.Copy the code given below and paste it.
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0
3.Save the file as EnableRegistry.bat. Run this file as Administrator if you use Windows 8, Windows 7 or Windows Vista. In Windows XP, simply open the file. CMD will flash for a second and then disappear. This indicates successful execution.
4.Log Off and Log Back On.

Visual Basic Script to Enable/ Disable Registry Editor
 Doug Knox has created a VBS Script which allows users  to easily enable and disable Registry Editor. Just download regedit tools.vbs and double click on it. This script reverses the current state of Registry Editor. If registry editing is set to enabled, this script will disable it and if it is disabled, it will enable it.
 If the above link does not work, copy the code given below in Notepad and save the file as *.vbs or Registry Editor.vbs.

Option Explicit
Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers
Dim enab, disab, jobfunc, itemtype
Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"
p = p & "DisableRegistryTools"
itemtype = "REG_DWORD"
mustboot = "Log off and back on, or restart your pc to" & vbCR & "effect the changes"
enab = "ENABLED"
disab = "DISABLED"
jobfunc = "Registry Editing Tools are now "
t = "Confirmation"
Err.Clear
On Error Resume Next
n = WSHShell.RegRead (p)
On Error Goto 0
errnum = Err.Number
if errnum <> 0 then
 WSHShell.RegWrite p, 0, itemtype
End If
If n = 0 Then
 n = 1
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & disab & vbCR & mustboot, 4096, t)
ElseIf n = 1 then
 n = 0
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & enab & vbCR & mustboot, 4096, t)
End If
 
After running the VBS file, if Registry Editing is not enabled, try restarting your PC.
BY :- Master AJ

1 comment:

  1. thanks for sharing, it's very useful, I will visit this blog again, permit bookmarks



    visit Hosting Palembang

    ReplyDelete