hit counter Begin: 29.7.2010

04 August, 2010

Enable kembali Registry Editor(regedit)

Registry juga merupakan teras kepada sistem Windows.Registry ini lah yang diubah oleh virus atapun semasa anda meng-install software atau applikasi.

Seperti post yang sebelum ini,ini berlaku mungkin disebabkan sistem anda infected oleh virus atau pun sememangnya anda men-disable applikasi ini.

Bagi yang menghadapi masalah ini,disini saya nyatakan cara-caranya::


1-Buka notepad
2-Copy & paste script dibawah
3-save dengan cara "save as"
4-Namakan apa saja asalkan anda menulis .reg di belakang nama file tersebut
5-Contoh=recoverRE.reg
6-Seterusnya anda hanya perlu click file tersebut untuk ditambah ke dalam registry


'Enable/Disable Registry Editing tools
'© Doug Knox - rev 12/06/99
'This code may be freely distributed/modified as long as it remains free of charge
'http://www.icpug.org.uk/national/features/030607fe.htm
'Edited by PatheticCockroach - http://patheticcockroach.com

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
 

About Me

My photo
Masih menuntut di UITM.Mula mengenali dan berminat dengan internet pada umur 16 tahun.Menulis blog untuk mengisi masa lapang di samping membuka komuniti serta menyediakan kemudahan kepada semua.Terima Kasih kerana melawat blog ini.

IP Follower

Term of Use

>All post are free to copy or duplicate for any what content EXCEPT for post that have my trademark at the bottom.
>Please don't redirect download LINK/URL from this site without permission from author.
>Never use this site content for commercial purposes.
>Do not post comment with another language except for English & Bahasa.

You can help me by telling your friend, family and college members about this site.