Senin, 24 Agustus 2009

Bagaimana membuka Flash Disk yang Terkena Write Protected

Masalah ini muncul karena flash disk langsung dicabut tanpa "savely removed hardware". Untuk mengatasinya ada beberapa cara, yang bisa berhasil untuk masing2 kasus (tidak untuk setiap kasus). Gak ada salahnya untuk mencoba :

Cara 1.

- Start > Run > type ‘regedit’ then hit 'OK'.
- Browse to the following key:
My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlS et\Control\StorageDevicePolicies
- Double click on the string ‘WriteProtect’ and change the ‘Value Data’ box to ‘0’
- You may also need to do this for the strings in any folders called ‘ControlSet***’ e.g.
My Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\C ontrol\StorageDevicePolicies

Cara 2.
I am running Windows XP Service Pack 2, so this description applies only in that environment.
Centon's tech support suggested doing the following...
Start->Settings->Control Panel
Administrative Tools
Computer Management
Under Storage in the left panel, click on Disk Management, wait a minute for Windows to do whatever it is doing,......
Locate the data stick/thumb drive/whatever-you-want-to-call it, in the right top windowand click on it.
Right click
in the popup, click on "Delete Partition" -- make darn sure you are doing this to the RIGHT drive!!!!!
Right click again, and choose "Create Partition" (or was it format, I forget maybe it was both).

Cara 3.
Pakai Rapair Utility dari si pembuat flashdisk. Dibawah ini ada link dari HP dan apacer yang banyak dipakai dan berhasil juga untuk berbagai merk.
Di sini :
Apacer = Handy Steno 2.0 Repair Tool
HP = HP Tools

Cara 4.
Perbaiki melalui Linux.. Tutorial langkah2 bisa dibaca disini (maaf panjang banget soalnya). dan mungkin membutuhkan pemahaman tentang perintah2 linux.
Link : linux-tip-resurrecting-broken-usb

Cara 5.
Pakai application OnBelay, disini : Powerful solution for Data Backup, Data Recovery & Formatting for Flash Media

Blokir copy data dari komputer ke flashdisk atau usbdisk

Cara mengamankan data dikomputer anda supaya tidak bisa dicopy ke flashdisk lakukan langkah sebagai berikut

1. open REGEDIT
2. HKEY_LOCALMACHINE\SYSTEM\CurrentControlSet\Control

3. Di folder CONTROL, ketik -> Edit>New>Key
folder baru tersebut beri nama —-> “StorageDevicePolicies”

4. “StorageDevicePolicies”, ketik Edit>New>Dword (32-bit)

5. key yang baru beri nama : “WriteProtect”

6. Klik 2x Key WriteProtect-nya, lalu ganti Value Data jadi 1

7. Restart

Untuk membuka proteksi agar data bisa dicopy ke flashdisk dengan mengganti value di key write protect menjadi 1.
sumber disini

Cara memperbaiki Windows XP tanpa instalasi ulang

1. Memperbaiki Instalasi (Repair Install)

Jika Windows XP Anda rusak (corrupted) dimana Anda tidak mempunyai sistem operasi lain untuk booting,
Anda dapat melakukan perbaikan instalasi (Repair Install) yang bekerja sebagaimana setting (pengaturan)
yang awal.

- Pastikan Anda mempunyai kunci (key) Windows XP yang valid.
- Keseluruhan proses akan memakan waktu kurang lebih 1/2 atau 1 jam, tergantung spek komputer Anda.
- Jika Anda dimintai password administrator, sebaiknya Anda memilih opsi perbaikan (repair) yang kedua,
bukan yang pertama.
- Masukkan CD Windows XP Anda dan lakukan booting dari CD tersebut.
- Ketika sudah muncul opsi perbaikan kedua R=Repair, tekan tombol R
Ini akan memulai perbaikan.
- Tekan tombol F8 untuk menyetujui proses selanjutnya "I Agree at the Licensing Agreement"
- Tekan tombol R saat direktori tempat Windows XP Anda terinstal. Biasanya C:\WINDOWS
Selanjutnya akan dilakukan pengecekan drive C: dan mulai menyalin file-file.
Dan secara otomatis restart jika diperlukan. Biarkan CD Anda dalam drivenya.
- Berikutnya Anda akan melihat sebuah gambar "progress bar" yang merupakan bagian dari perbaikan,
dia nampak seperti instalasi XP normal biasanya, meliputi "Collecting Information, Dynamic Update,
Preparing Installation, Installing Windows, Finalizing Installation".
- Ketika ditanya, klik tombol Next
- Ketika ditanya untuk memasukkan kunci, masukkan kunci (key) Windows XP Anda yang valid.
- Normalnya Anda menginginkan tetap berada dalam nama Domain atau Workgroup yang sama.
- Komputer akan restart.
- Kemudian Anda akan mempunyai layar yang sama sebagaimana pengaktifan sistem ketika instalasi normal.
- Register jika Anda menginginkannya (biasanya tidak diperlukan).
- Selesai

Sekarang Anda bisa log in dengan account Anda yang sudah ada.

__________________________________________________ __________________________________________________ ___


2. NTOSKRNL Rusak atau Hilang (Missing or Corrupt)

Jika Anda mendapati pesan error bahwa "NTOSKRNL not found" / NTOSKRNL tak ditemukan, lakukan:
- Masukkan CD Windows XP dan booting dari CD tersebut.
- Pada saat muncul opsi R=Repair yang pertama, tekan tombol R.
- Tekan angka sesuai dengan lokasi instalasi Windows yang ingin diperbaiki yang sesuai.
- Biasanya #1
- Pindahlah ke drive CD Drive Anda berada.
- Tulis: CD i386
- Tulis: expand ntkrnlmp.ex_ C:\Windows\System32\ntoskrnl.exe
- Jika Windows XP Anda terinstal di tempat lain, maka ubahlah sesuai dengan lokasinya.
- Keluarkan CD Anda dan ketikkan EXIT

__________________________________________________ __________________________________________________ ___


3. HAL.DLL Rusak atau Hilang (Missing or Corrupt)

Jika Anda mendapatkan error berkenaan dengan rusak atau hilangnya file hal.dll, ada kemungkinan
file BOOT.INI mengalami salah konfigurasi (misconfigured).

- Masukkan CD Windows XP dan booting dari CD tersebut.
- Pada saat muncul opsi R=Repair yang pertama, tekan tombol R.
- Tekan angka sesuai dengan lokasi instalasi Windows yang ingin diperbaiki yang sesuai.
- Biasanya #1
- Tulis: bootcfg /list
Menampilkan isi/masukan pada file BOOT.INI saat ini
- Tulis: bootcfg /rebuild
Memperbaiki konfigurasi dari file BOOT.INI
- Keluarkan CD Anda dan ketikkan EXIT

__________________________________________________ __________________________________________________ ___

4. Direktori \WINDOWS\SYSTEM32\CONFIG rusak atau hilang

Jika Anda mendapatkan error dengan tulisan:

"Windows could not start because the following files is missing or corrupt
\WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE"

- Masukkan CD Windows XP dan booting dari CD tersebut.
- Pada saat muncul opsi R=Repair yang pertama, tekan tombol R.
- Tekan angka sesuai dengan lokasi instalasi Windows yang ingin diperbaiki yang sesuai.
- Biasanya #1
- Masukkan password administrator jika diperlukan.
- Tulis: cd \windows\system32\config
- Berikutnya tergantung di bagian mana letak terjadinya kerusakan:
- Tulis: ren software software.rusak ATAU ren system system.rusak
- Berikutnya lagi juga tergantung di bagian mana letak terjadinya kerusakan:
- Tulis: copy \windows\repair\system
- Tulis: copy \windows\repair\software
- Keluarkan CD Anda dan ketikkan EXIT

__________________________________________________ __________________________________________________ ___

5. NTLDR atau NTDETECT.COM tak ditemukan (NTLDR or NTDETECT.COM Not Found)

Jika Anda mendapati error bahwa NTLDR tak ditemukan saat booting:

a. Untuk partisi tipe FAT
- Silakan Anda melakukan booting dari disket Win98 Anda dan salinlah file NTLDR atau NTDETECT.COM
dari direktori i386 ke drive induk/akar (root) C:\

b. Untuk partisi tipe NTFS
- Masukkan CD Windows XP dan booting dari CD tersebut.
- Pada saat muncul opsi R=Repair yang pertama, tekan tombol R.
- Tekan angka sesuai dengan lokasi instalasi Windows yang ingin diperbaiki yang sesuai.
- Biasanya #1
- Masukkan password administrator jika diperlukan.
- Masukkan perintah berikut, dimana X: adalah alamat drive dari CD ROM Anda (Sesuaikan!).
- Tulis: COPY X:\i386\NTLDR C\:
- Tulis: COPY X:\i386\NTDETECT.COM C:\
- Keluarkan CD Anda dan ketikkan EXIT

dikutip dari kaskus.us

Selasa, 04 Agustus 2009

Setting up Virtual Hosts with XAMPP running on Windows XP

virtual.gifSetting up virtual hosts with XAMPP is very straight forward and could be done in less than 5 minutes. Although, your local XAMPP server will still work even if virtual hosts are not configured. You might want to ask, is there a need for my local XAMPP setup to configure virtual hosts? Apparently, virtual hosts are needed when

  • your on multiple domains
  • your need to test your projects with same configuration with the server
  • test your projects without touching your public server
  • your just organizing your projects into groups
  • or setup a local copy of your blog or website
What do we need?
This document assumes that you are working with Windows XP with XAMPP. If you don't have XAMPP, get it at their XAMPP for Windows download page. Just execute the exe file and follow the onscreen instructions.

Configuring Windows XP to accept hosts
Hosts is a file under Windows XP that is used to map IP addresses to a custom list of hosts or maybe domain names. The IP address should be placed in one line. The first column should contain the IP address and on the second column its corresponding hostname. The IP address may be separated by a space or by a tab. You can place comments by prepending your line this symbol '#' (pound sign). Initially the first line is added. Now lets add our domain tildemark.com

127.0.0.1 localhost
127.0.0.1 www.tildemark.com
127.0.0.1 tildemark.com

you can check your work by doing a ping to your configured host.
pinging-tildemark.com.jpg

Configuring XAMPP to accecpt Virtual Hosts
  1. Got to your Apache folder in XAMPP and locate the conf files. The are usually located at <>\xampp\apache\conf\extra
  2. Open the file named httpd-vhosts.conf with a text editor
  3. If posible read the instructions so may have the idea on what you are doing
  4. Now paste the following code at the bottom of the file without touching the document.

    NameVirtualHost 127.0.0.1:80

    DocumentRoot E:/xampp/htdocs/ # change this line with your htdocs folder
    ServerName localhost


  5. Edit the line DocumentRoot with your own document root folder
  6. For each domain you are to configure paste the following lines below, just replace my domain name your corresponding domain:

DocumentRoot "E:\www\www.tildemark.com"
ServerName www.tildemark.com
ServerAlias www.tildemark.com

CustomLog "E:\www\www.tildemark.com\www.tildemark.com-access_log" combined
ErrorLog "E:\www\www.tildemark.com\www.tildemark.com-error_log"


Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all



di kutip dari tildermark