Subscribe via RSS Feed
banner ad

Open Regedit Via Start Menu

There are other ways to open a regedit that would be easy, efficient and effective because it only requires two steps to open regedit and that’s it without touching the Windows Explorer. By using JavaScript, we can create a shortcut in the Start Menu. Shortcut will be created this time is very useful to open regedit in the Run menu to disable by system administrator. Learn More Script program try below.

By using Notepad type the following script and save with the name ShortcutRegedit.js and change Save as type Text that was from Documents (*. txt) to All Files. Do not forget to turn off Word Wrap in Notepad that at the time pengetikan script program.

// Program Sangat Sederhana Membuat Shortcut Regedit

// Nama Program: ShortcutRegedit.js

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 Shortcut Regedit:\n\n’+

‘[Yes] untuk Install.\n’+

‘[No] untuk UnInstall.\n’+

‘[Cancel] untuk Keluar.\n\n’+

‘[Program Bangsa Indonesia!]\n\n’+

‘-> Install sekarang?’

var tanya = natan.popup(pesan1,0,’Shortcut Regedit’,

vbYesNoCancel+vbQuestion);

if (tanya == vbYes)

{

natan.RegWrite( ‘HKCR\\Directory\\shell\\natan\\’,

‘-> Buka Regedit!’,'REG_SZ’);

natan.RegWrite( ‘HKCR\\Directory\\shell\\natan\\command\\’,

‘”regedit.exe”‘,’REG_SZ’);

natan.RegWrite( ‘HKCR\\Drive\\shell\\natan\\’,

‘-> Buka Regedit!’,'REG_SZ’);

natan.RegWrite( ‘HKCR\\Drive\\shell\\natan\\command\\’,

‘”regedit.exe”‘,’REG_SZ’);

pesan2 = ‘Shortcut Regedit Telah Di Install!’

natan.popup(pesan2,0,’Shortcut Regedit’,vbInformation);

}

else if (tanya == vbNo)

{

natan.RegDelete(‘HKCR\\Directory\\shell\\natan\\command\\’);

natan.RegDelete(‘HKCR\\Directory\\shell\\natan\\’);

natan.RegDelete(‘HKCR\\Drive\\shell\\natan\\command\\’);

natan.RegDelete(‘HKCR\\Drive\\shell\\natan\\’);

pesan3 = ‘Shortcut Regedit Telah Di UnInstall!’

natan.popup(pesan3,0,’Shortcut Regedit’,vbInformation);

}

else

{

natan.popup(‘Matur Nuwun.’,0,’Shortcut Regedit’,vbInformation);

}

Run the program via Windows Explorer. If the window was open regedit Shortcut select Yes to Install and Uninstall Select No to. Shortcut will appear when you right-click on the Start Menu or on the drive and folder in Windows Explorer. The program has been tested over the operating systems Windows 98, 2000 Professional and XP Professional SP2. Congratulations taste.

Tags: , , , , ,

Category: other, software, tip&trick

About the Author:

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.