if the registry has already us the key, or infected with a virus, how do we open it tomake modifications? Here is how to reactivate the regedit.
Open notepad, and write code like below.
'Enable Registry Editing'
'elyn - 4/7/2004
On Error Resume Next
Set wshSell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
Message = "opening regedit successfull"
X = MsgBox(Message,vboxonly, "WARNING!")
Set WshShell = Nothing
Set Fso = Nothing
Save the file, SaveAs: [openreg.vbs]
To open the registry editor that is locked, double-click double openreg.vbs savedpreviously. If you like article, please your comment in this blog.
Open notepad, and write code like below.
'Enable Registry Editing'
'elyn - 4/7/2004
On Error Resume Next
Set wshSell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
Message = "opening regedit successfull"
X = MsgBox(Message,vboxonly, "WARNING!")
Set WshShell = Nothing
Set Fso = Nothing
[/code] (Figure 1) enter the code vbs script
To open the registry editor that is locked, double-click double openreg.vbs savedpreviously. If you like article, please your comment in this blog.
No comments:
Post a Comment