Program Sederhana Mengamankan Regedit

March 27, 2008 at 6:47 pm | Posted in Komputer | 1 Comment

berikut merupakan program singkat untuk mendisable registri anda. program ini merupakan bahasa dari javascript. berikut contoh program nya :

var vbCancel = 2;
var vbYesNoCancel = 3;
var vbYes = 6;
var vbNo = 7;
var vbQuestion = 32;
var vbInformation = 64;
var natan = WScript.CreateObject(“WScript.Shell”);
var pesan1 = “Pilihan Pengaman Regedit:\n\n”+
“[Yes] untuk Nonaktifkan Regedit.\n”+
“[No] untuk Aktifkan Regedit.\n”+
“[Cancel] untuk Keluar.\n\n”+
“[Rental komputer Semanggi]\n\n”+
“-> Nonaktifkan Regedit sekarang?”
var tanya = natan.popup(pesan1,0,”Pengaman Regedit”,vbYesNoCancel+
vbQuestion);
if (tanya == vbYes)
{
natan.RegWrite(“HKCU\\Software\\Microsoft\\Windows\\CurrentVersion”+
“\\Policies\\System\\DisableRegistryTools”,1,”REG_DWORD”);
pesan2 = “Regedit Dinonaktifkan!”
natan.popup(pesan2,0,”Pengaman Regedit”,vbInformation);
}
else if (tanya == vbNo)
{
natan.RegWrite(“HKCU\\Software\\Microsoft\\Windows\\CurrentVersion”+
“\\Policies\\System\\DisableRegistryTools”,0,”REG_DWORD”);
pesan3 = “Regedit Diaktifkan!”
natan.popup(pesan3,0,”Pengaman Regedit”,vbInformation);
}
else
{
natan.popup(“Matur Nuwun.”,0,”Pengaman Regedit”,vbInformation);
}
copy kan sript di atas k dlam notepad kemudian save dengan nama regedit_java.js
setelah selesai double klik maka akan muncul menu ini:

contoh

pilih no untuk aktifkan registri dan yes untuk non aktifkan registri. selamat mencoba.

1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. thank


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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: