apabila komputer kita terkena virus, kebanyakan akibatnya seluruh settingan akan dikunci oleh virus tersebut. sehingga kita tidak bisa melakukan langkah2 untuk menghapus virus tersebut dengan cara merubah registry di komputer kita. maka dengan demikian diperlukan solusi mudah agar Registry kita statusnya Enable. langkah-langkahnya adalah sebagi berikut :
1. Buka Notepad
Cara nya Klik Start>Run.
Ketik notepad, tekan tombol enter.
2. Copy script dibawah ini di notepad
'Enable/Disable Registry Editing tools
Option Explicit
'Declare variables
Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers
Dim enab, disab, jobfunc, itemtype
Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"
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 "
'This section tries to read the registry key value. If not present an
'error is generated. Normal error return should be 0 if value is
'present
t = "Confirmation"
Err.Clear
On Error Resume Next
n = WSHShell.RegRead (p)
On Error Goto 0
errnum = Err.Number
if errnum <> 0 then
'Create the registry key value for DisableRegistryTools with value 0
WSHShell.RegWrite p, 0, itemtype
End If
'If the key is present, or was created, it is toggled
'Confirmations can be disabled by commenting out
'the two MyBox lines below
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
3. Save As dengan nama registryfix.vbs disalah satu di didirectory komputer anda.
4. jalankan file tersebut dengan cara mengklik 2 kali.
5. Registry anda sudah bisa di akses.
6. untuk enabled Task Manager, copy text dibawah ini :
Set WshShell = WScript.CreateObject("WScript.Shell")
With WScript.CreateObject("WScript.Shell")
On Error Resume Next
.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
.RegDelete "HKCU\Software\Policies\Microsoft\Windows\System\DisableCMD"
.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr"
.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\DisableTaskMgr"
End With
Mybox = MsgBox(jobfunc & enab & vbCR & "Finished!", 4096, t)
7. Simpan script tersebut dengan nama RegTmCmd.vbs
8. jalankan file tersebut dengan cara mengklik 2 kali.
9. Task Manager anda sudah bisa di akses,
selamat mencoba, semoga bermanfaat.
Jangan lupa tinggalkan komentar ya..
Tidak ada komentar:
Posting Komentar