Archive

Archive for December, 2008

Recovery Grub Menggunakan Live CD

December 19, 2008 2 comments

Berikut cara recovery Grub dengan Live CD Ubuntu
1. Booting dengan menggunakan Live CD
2. Buka Gnome-Terminal
3. Ketikkan perintah :

ubuntu@ubuntu :~$ sudo bash
root@ubuntu :~# grub
root@ubuntu :~# find /boot/grub/stage1
(hd0,7)
root@ubuntu :~# root (hd0,7)
root@ubuntu :~# setup (hd0)
root@ubuntu :~# quit

4. Restart Komputer

Mengubah view “My Computer” menjadi Folder View

December 17, 2008 Leave a comment

Kadang males juga kalo browsing direktori lokal pake klik “My Computer” trus klik lagi tombol Folder supaya bisa muncul directory tree disebelah kanan (dasar pemalas, kan bisa aja pake shortcut Win+e). Udah tahukan manfaatnya Folder View, biar kita gampang nyari folder-folder lokal 🙂 , liyat aja bedanya deh.
yang ini kalo pake “My Computer” yang default

mycomputer1

Trus kalo yang ini kalo kita pake “Folder” view
folderview

Buat ngganti View My Computer menjadi Folder View, caranya sebagai berikut :

  1. Buka Editor (Notepad)
  2. Tulis Copy Paste script berikut :
    @echo off
    setlocal
    if not exist c:\RestoreMyComputerView.reg goto begin
    @echo A c:\RestoreMyComputerView.reg file already exists.
    pause
    exit
    :begin
    regedit /a “%TEMP%\RestoreMyComputerView.reg” “HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell”
    set /a cnt=0
    for /f “Tokens=*” %%r in (‘type “%TEMP%\RestoreMyComputerView.reg”‘) do set line=%%r&call :parse
    @echo REGEDIT4>”%TEMP%\MyComputerFolderView.reg”
    @echo [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell]>>”%TEMP%\MyComputerFolderView.reg”
    @echo @=”explore”>>”%TEMP%\MyComputerFolderView.reg”
    @echo [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\explore]>>”%TEMP%\MyComputerFolderView.reg”
    @echo “BrowserFlags”=dword:00000022>>”%TEMP%\MyComputerFolderView.reg”
    @echo “ExplorerFlags”=dword:00000021>>”%TEMP%\MyComputerFolderView.reg”
    @echo [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\explore\command]>>”%TEMP%\MyComputerFolderView.reg”
    @echo  @=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,45,78,70,6c,6f,72,65,72,2e,65,\>>”%TEMP%\MyComputerFolderView.reg”
    @echo    78,65,20,2f,65,2c,2f,69,64,6c,69,73,74,2c,25,49,2c,25,4c,00>>”%TEMP%\MyComputerFolderView.reg”
    @echo [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\explore\ddeexec]>>”%TEMP%\MyComputerFolderView.reg”
    @echo @=”[ExploreFolder(\”%%l\”, %%I, %%S)]”>>”%TEMP%\MyComputerFolderView.reg”
    @echo “NoActivateHandler”=””>>”%TEMP%\MyComputerFolderView.reg”
    @echo [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\explore\ddeexec\application]>>”%TEMP%\MyComputerFolderView.reg”
    @echo @=”Folders”>>”%TEMP%\MyComputerFolderView.reg”
    @echo [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\explore\ddeexec\ifexec]>>”%TEMP%\MyComputerFolderView.reg”
    @echo @=”[]”>>”%TEMP%\MyComputerFolderView.reg”
    @echo [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\explore\ddeexec\topic]>>”%TEMP%\MyComputerFolderView.reg”
    @echo @=”AppProperties”>>”%TEMP%\MyComputerFolderView.reg”
    @echo.>>”%TEMP%\MyComputerFolderView.reg”
    regedit /s “%TEMP%\MyComputerFolderView.reg”
    endlocal
    goto :EOF
    :parse
    set /a cnt=%cnt% + 1
    if not %cnt% EQU 1 goto parse1
    @echo REGEDIT4>c:\RestoreMyComputerView.reg
    @echo [-HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell]>>c:\RestoreMyComputerView.reg
    goto :EOF
    :parse1
    @echo %line%>>c:\RestoreMyComputerView.reg
  3. Simpan File tersebut dengan nama MyComputerView.bat pada direktori c:\
  4. Kemudian tinggal jalankan file tersebut (dengan double click)

Apabila ingin mengembalikan ke keadaan semula tinggal klik c:\RestoreMyComputerView.reg

Categories: Windows