Best view in Firefox and Chrome

About the Author

SubanuHi all.. Shayanthan (alias Subanu) is an Engineering student from University of Moratuwa, Sri Lanka, in the Department of Computer Science and Engineering more »

     Email me       Linkedin

Breeze on Facebook

How to enable/disable Registry Editor

Monday, December 1, 2008
Convert Article to PDFPrint ArticleEmail Article to FrinedBookmark this Article

Today I unfortunately affected by some unknown virus. My Windows XP's face a terrible problem. The "Folder Options" in "Tools" menu is not visible. Even It can't be accessed from Control Panel. Then I tried the Registry Editor to change the registry values which is assigned for enable/disable the Folder Options. But my fate, "Registry Editor" is also disabled. I screwed on that problem.
So I used the Googling to overcome my problem. I summarized all the steps that I tried for this enable/disable Registry Editor problem.
Step 1 :

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

Copy this codes and save it as a .vbs file.

Step 2 :
Now double click on that file. Now your registry can be editable. That is Registry Editor is enable.

So this is the simple step to enable/disable the registry editor.

Read these Articles :


Why Breeze

This is a new technological rhythm in the web. It blooms like a Breeze in your technological face with more than 75 technoligical atricles and guidences.

Contact Me
Contact Me Send an Email Facebook Account LinkedIn profile Twitter/Shayanth
Share And Save
Social Share with Twitter Facebook Share Add to Google Save on Delicious
Get Updates

The RSS will facilitate you to get the updates from Breeze. Click Here to redirect to the RSS link.

Designed by Posicionamiento Web | Bloggerized by GosuBlogger | Blue Business Blogger | Customized by SHAUOM