How to enable/disable Registry Editor
Monday, December 1, 2008
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)
toggle=1
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)
Else
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.
- How to clean the registry in Windows
- Enable/ Disable Folder option in Windows XP
- How to Enable Task Manager in Vista
- Extreme XML processing with VTD-XML
- Dynamically loading the classes and jar file in Java Environment
- SUDO shell command and sudoers file
- First Day in Aeturnum 16.04.2009
- Project eID selected to ICAMES 2009
- Facebook Timeline - Overkilling feature.
- What is @SuppressWarnings Annotation in Java
- Connect to Internet with BlackBerry without Paying For Data Plan
- Sixth Sense Technology marvelous invention by Pranav
- Can we Embed the Facebook Videos in our Blogs?
- New Threat to Facebook - Koobface, Other Worms Target Facebook Friends
- How to Enable Task Manager in Windows XP
- How to enable/disable Registry Editor
This Articles was posted on 7:37 AMMonday, December 1, 2008
|
Labels:
Experiences,
Tech,
Virus,
Virus Removal
|
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment