Sponsor

Wednesday, December 7, 2011

Lock Registry Windows (Cara Mencegah Virus Masuk PC)


TothePoint ajaaa :) 
cara ini ampuh mencegah virus masuk ke PC / Laptop kita tanpa harus menginstal Antivirus 
Salin script dibawah ini ke notepad

Option Explicit
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\"
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


Save dengan akhiran .vbs (dot vbs) contoh: lock.vbs
Lalu klik 2 kali file tersebut untuk mengaktifkan atau menonaktifkannya
Note: Pastikan windows anda sebelumnya belum terinfeksi virus. Saya sarankan lebih baik Windowsnya diinstal ulang saja untuk memastikan bersih dari virus, lalu instal program program yang perlu, dan kemudian lock registry windowsnya.
Tips ini hampir sama seperti program Deep Freeze tapi lebih simple dan mudah, ketimbang pake Deep Freeze yang agak ribet icon biggrin Mencegah Virus Dengan Cara Lock Registry Windows .

No comments:

Post a Comment