Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers Dim enab, disab, jobfunc, itemtype Set WSHShell = WScript.CreateObject("WScript.Shell") p = "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem" 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
How to Enable Regedit Picture 43
Click File. It's in the top-left side of the Notepad window.
How to Enable Regedit Picture 44
Click Save As…. This option is near the top of the File drop-down menu.
How to Enable Regedit Picture 45
Select a save location. Click the Desktop folder on the left side of the Save As window.
How to Enable Regedit Picture 46
Enter Registry Editor.vbs as the file name. Do this in the "File name:" field.
How to Enable Regedit Picture 47
Select a file type. Click the drop-down box next to "Save as type:", then click All Files. This will save your document in the correct file format.
How to Enable Regedit Picture 48
Click Save. It's in the bottom-right corner of the Save As window. This will create your file.
How to Enable Regedit Picture 49
Close Notepad. Click the X in the top-right corner of Notepad to do so.
How to Enable Regedit Picture 50
Double-click the VBS file. Doing so will prompt the script to run.
This script will switch the registry editor's disabled/enabled setting. Do not run it a second time, or the registry editor will be disabled again.
How to Enable Regedit Picture 51
Try to open Registry Editor. Open Start, type in regedit, and press ↵ Enter. If the Registry Editor still won't open, you may need to take your computer into a tech department to have a professional look at it.