Registry Unlocker!

All,

Many Spywares and Adwares, infect your system and one of the things they do to your system is they limit your access to editing the registry by locking you out from REGEDIT, so it wont allow you access by throwing this Error:-

error:

Here is a bit of code which can help in unlocking your registry and gaining access into the Registry.

Just Copy and Paste the below Snippet in a notepad and save as .vbs file, remember to select all files, and NOT .txt.

————————-Start Here——————————-

‘Enable/Disable Registry Editing tools
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
—————————End———————————–

Hope this will come handy to many of u guys…

Nitin Kushwaha

Advertisements
Categories: Registry | Tags: , , , , , , , | Leave a comment

Post navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: