Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

วิธีบีบอัด Bloated Registry Hives ใน Windows Server

Registry Hive คือชื่อเรียกส่วนหลักของ Windows Registry ที่มี registry keys, subkeys, และ values Registry hives อยู่ใน Registry Editor ใช้ Registry Editor สร้าง/แก้ไข keys, subkeys, values ให้ประโยชน์มาก: เพิ่มความปลอดภัย, ปรับปรุงประสิทธิภาพ, เปลี่ยน access เป็น Read-only ฯลฯ

วิธีบีบอัด Bloated Registry Hives ใน Windows Server

Registry hives ที่พบใน Windows:

  • HKEY_CLASSES_ROOT
  • HKEY_CURRENT_USER
  • HKEY_LOCAL_MACHINE
  • HKEY_USERS
  • HKEY_CURRENT_CONFIG

Bloated Registry Hives คืออะไร?

บางครั้งขนาด registry hives ใหญ่ผิดปกติ เรียกว่า bloated registry hives สาเหตุปัญหาประสิทธิภาพและ error ใน system log มีสาเหตุหลายอย่าง

Troubleshooting แท้ๆ ใช้เวลา ในสถานการณ์นี้ การบีบอัด registry hives เป็นทางออกดีกว่า การบีบอัดคืน bloated registry hives กลับสู่สถานะปกติ ทำงานได้ปกติ มาดูกระบวนการ

วิธีบีบอัด Bloated Registry Hives ใน Windows Server

ทำตามขั้นตอน:

  1. Boot คอมพิวเตอร์จาก WinPE disk บทความนี้สอนสร้าง Windows PE Rescue Disk
  2. เปิด Registry Editor พิมพ์ regedit ใน Run window ขณะ boot ใน Windows PE Load bloated registry hive Under:
    HKLM (HKEY_LOCAL_MACHINE)
    Load Hive อยู่ใน File menu
  3. Load registry hive ต้องตั้งชื่อ เช่น Bloated ชื่อนี้แสดงใน address HKLM\Bloated
  4. เมื่อ bloated hive load เสร็จ Export เป็น file Registry Hive ชื่อ unique เช่น:
    %windir%\system32\config\compressedhive
    windir คือ Windows directory เช่น Windows folder ใน C drive ใช้ DIR command ตรวจสอบขนาด old และ new registry hive
  5. Unload bloated registry hive จาก Registry Editor เลือก Bloated key ที่สร้างตอน load hive Unload Hive ใน File menu บางคนเจอ error "Access Denied" ขณะ unload ปิด registry editor แล้วเปิดใหม่ลองอีกครั้ง
  6. Boot ด้วย compressed hive ก่อนหน้านั้น rename registry hives เช่น:
    c:\windows\system32\config\ren software software.old
    c:\windows\system32\config\ren compressedhive software

หวังว่าช่วยแก้ปัญหา bloated registry hives

อ่านเพิ่ม:

  • How to edit the Registry using Command Prompt
  • Free Registry Defragmenter software
วิธีบีบอัด Bloated Registry Hives ใน Windows Server