Windows XP tidak mau berjalan jika registry corrupt, tetapi Anda bisa memperbaikinya. Meskipun sistem belum tentu kembali seperti keadaan sebelumnya, paling tidak Anda bisa mengembalikan data. Anda cukup menjalankan Recovery Console, dan mengembalikan file registry dari folder perbaikan ke folder system32/config.
- 1. Menjalankan Recovery
Masukkan
startup disk Windows XP ke dalam CD-ROM , dan kemudian restart computer. Klik opsi yang diperlukan untuk menjalankan computer dari optical drive jika Anda diharuskan untuk itu. Pada waktu layar “Welcome to Setup” muncul, ada tiga pilihan. Pilih nomor 2 yaitu menjalankan Recovery Console dengan menekan tombol R.
- 2. Masuk Recover Console
Jika computer And menjalankan dual-boot atau multiple boot, maka And pilih instalasi yang And akses dari Recovery Console. Pada waktu diminta, masukkan password administrator. Jika tidak ada password, tekan saja. Pada command prompt, Anda ketikkan baris seperti pada langkah ke 3. Setiap baris And tekan tombol Enter. Begitu seterusnya hingga selesai.
- 3. Buat Direktori Temporer
md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak
- 4. Hapus Registry Eksisting
Anda hapus registry yang ada dengan mengetikkan:
delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default
- 5. Copy Registry Baru
copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\system c:\windows\system32\config\software
copy c:\windows\repair\system c:\windows\system32\config\sam
copy c:\windows\repair\system c:\windows\system32\config\security
copy c:\windows\repair\system c:\windows\system32\config\default
Selanjutnya ketik Exit dan restart PC Anda.
- 6. Safe Mode (XP Home Edition)
Anda harus masuk sebagai administrator, atau user administrative (user yang mempunyai account di group Administrator). Jika menggunakan Windows XP Home Edition, Anda harus menjalankan Safe Mode. Restart Komputer Anda, lalu tekan tombol F8 sehingga membuka Windows Advanced Options Menu. Gunakan tombol panah untuk memilih opsi Safe Mode, dan kemudian tekan Enter.
- 7. Tampilkan File Sistem
Copy file registry dari lokasi backup dengan menggunakan System Restore. Folder ini tidak tersedia di Recovery Console dan biasanya tidak terlihat pada waktu penggunaan biasa. Agar terlihat, jalankan Windows Explorer. Klik mneu Tools|Folder Options. Klik tab View. Di bawah Hidden files dan folder, centang Show hidden files dan folder dan hilangkan centang di Hide protected operating system files (Recommended).
- 8. System Volume Information
Klik double drive instalasi Windows XP agar tampil daftar foldernya. Buka folder System Volume Information yang ada di dalamnya. Folder hidden ini berisi satu atau beberapa folder_restore (={GUID} seperti “ _restore{FB85AEB7-2E8F-42A4-86AE-FA8CE6A2EC6E}”. Jika Anda menerima pesan C:\System Volume Information is not accessible. Access is denied. Lanjutkan ke langkah berikutnya.
- 9. Mengatur Akses
Jika Anda tidak bias mengakses folder System Volume Information, maka buka My Computer. Pada menu Tools, klik Folder Options. Hilangkan tanda centang pada kotak Use simple file sharing (Recommended) dan klik OK. Klik kanan folder System Volume Information, dan kemudian klik Properties. Klik tab Security. Klik Add dan masukkan nama user. Lalu klik OK dua kali. Klik-dobel folder System Volume Information.
- 10. Buka Folder Snapshot
Buka folder tertentu yang lama. Klik Detail pada menu View untuk melihat tanggal pembuatan folder. Terlihat satu atau beberapa folder yang diawali dengan “RPx di bawah folder ini yang merupakan titik restore. Buka salah satu folder untuk melihat folder Snapshot. Contoh folder Snapshot: C:\System Volume Information\_restore{D86480E3-73EF-47BC-AOEB-A81BE6EE3ED8}\RP1\Snapshot
- 11. Copy dari Folder Snapshot
Dari folder Snapshot, And copy file berikut ke folder C:\Windows\Tmp:
_REGISTRY_USER_.DEFAULT
_REGISTRY_MACHINE_SECURITY
_REGISTRY_MACHINE_SOFTWARE
_REGISTRY_MACHINE_SYSTEM
_REGISTRY_MACHINE_SAM
- 12. Ubah Nama Registry
Ubah nama file pada folder C:\Windows\Tmp sebagai berikut:
_REGISTRY_USER_.DEFAULT menjadi DEFAULT
_REGISTRY_MACHINE_SECURITY menjadi SECURITY
_REGISTRY_MACHINE_SOFTWARE menjadi SOFTWARE
_REGISTRY_MACHINE_SYSTEM menjadi SYSTEM
_REGISTRY_MACHINE_SAM menjadi SAM
- 13. Recovery Console
File registry di-copy ke folder C:\Windows\Tmp agar bias diakses dari Recovery Console. Gunakan file tersebut untuk menggantikan file registry di folder C:\Windows\system32\config. Secara default, Recovery Console mempunyai akses folder terbatas dan tidak bisa meng-copy file dari folder System Volume Information. Hapus file registry lama dan copy file registry baru dari System Restore.
- 14. Hapus Registry Eksisting
Pada command prompt, ketik baris berikut, tekan Enter pada setiap akhir baris:
del c:\windows\system32\config\sam
del c:\windows\system32\config\security
del c:\windows\system32\config\software
del c:\windows\system32\config\default
del c:\windows\system32\config\system
- 15. Copy dari System Restore
copy c:\windows\tmp\software c:\windows\system32\config\software
copy c:\windows\tmp\software c:\windows\system32\config\system
copy c:\windows\tmp\software c:\windows\system32\config\sam
copy c:\windows\tmp\software c:\windows\system32\config\security
copy c:\windows\tmp\software c:\windows\system32\config\default
Pesan Error
Pada waktu menjalankan atau me-restrat komputer, mungkin ada pesan error:
- Windows XP could not start because the following file is missing or corrupt:\WINDOWS\SYSTEM32\CONFIG\SYSTEM.
- Windows XP could not start because the following file is missing or corrupt:\WINDOWS\SYSTEM32\CONFIG\SOFTWARE.
- Stop: c0000218 {Registry File Failure} The registry cannot load the hive (file): \SystemRoot\System32\Config\SOFTWARE or its log or alternate.
- System error: Lsass.exe When trying to update a password the return status indicates that the value provided as the current password is not correct.
Ubah C:\WINDOWS ke folder windows yang sesuai jika anda di lokasi yang berbeda. Restart dan jalankan System Restore, kemudian klik Restore my computer to an earlier time.