Computer >> คอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยของเครือข่าย

วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี

Registry Editor เป็นแกนหลักของคอมพิวเตอร์ Windows ประกอบด้วยข้อมูล การตั้งค่า ตัวเลือก และค่าอื่นๆ สำหรับโปรแกรมและฮาร์ดแวร์ที่ติดตั้ง หากคุณเป็นผู้ใช้ปกติ คุณจะไม่ใช้ Registry Editor อย่างไรก็ตาม หากคุณเป็นมือโปรและรู้เกี่ยวกับการตั้งค่าขั้นสูงของ Windows คุณก็จะรู้วิธีใช้งาน

ในบางครั้ง ในการแก้ไขข้อผิดพลาด คุณต้องเพิ่มหรือลบคีย์ย่อยหรือค่าในตัวแก้ไขรีจิสทรี ไม่ว่าเราจะทำอะไร เมื่อใดก็ตามที่เราถูกขอให้เปลี่ยนแปลง Registry Editor เรามักจะรู้สึกหวาดกลัวเล็กน้อย ดังที่กล่าวไว้เสมอว่าข้อผิดพลาดเล็กน้อยใน Registry Editor อาจทำลายมันทั้งหมด และทำให้คอมพิวเตอร์ของคุณไร้ประโยชน์

ไม่ต้องกังวล หากคุณทำตามขั้นตอนอย่างระมัดระวังและรู้ว่ากำลังทำอะไรอยู่ คุณจะแก้ไขปัญหาทั่วไปบางอย่างในคอมพิวเตอร์ได้โดยไม่ต้องขอความช่วยเหลือจากผู้เชี่ยวชาญ

อ่านเพิ่มเติม:ทำความสะอาด Registry ของคุณด้วยซอฟต์แวร์ทำความสะอาดคอมพิวเตอร์ชั้นนำ

ในโพสต์นี้ เราจะแนะนำคุณผ่านขั้นตอนต่างๆ ในการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรีใน Registry Editor

หมายเหตุ: ขั้นตอนการเปลี่ยนแปลงใน Registry Editor จะเหมือนกันไม่ว่าคุณจะใช้ Windows รุ่นใด

สำรองข้อมูลไว้ก่อน

วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี

แม้ว่าคุณจะทำงานอย่างระมัดระวังและทำตามขั้นตอนทั้งหมดอย่างถูกต้อง ข้อผิดพลาดเล็กน้อยอาจทำให้คอมพิวเตอร์ของคุณไร้ประโยชน์ ดังนั้น การสำรองข้อมูลการตั้งค่ารีจิสทรีจึงเป็นตัวเลือกที่ดีที่สุดในการจัดการกับข้อผิดพลาดต่างๆ ในการสำรองไฟล์รีจิสตรี ให้ทำตามขั้นตอนเหล่านี้:

  • พิมพ์ Regedit ในแถบค้นหาข้างเมนู Start
  • คุณจะได้รับข้อความแจ้ง ให้คลิกที่ Yes เพื่อเปิด Registry Editor
  • ค้นหาเมนูไฟล์ที่มุมขวาบนของหน้าต่าง Registry Editor
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • คลิกที่ส่งออก
  • ระบบจะถามตำแหน่งที่คุณต้องการบันทึกไฟล์สำรอง
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • เลือกตำแหน่ง ป้อนชื่อไฟล์ แล้วคลิกบันทึก

ด้วยวิธีนี้ คุณสามารถบันทึกการตั้งค่ารีจิสทรีก่อนที่จะดำเนินการใดๆ ต่อ

หมายเหตุ: คุณไม่สามารถเปลี่ยนแปลงหรือลบกลุ่มรีจิสทรีได้ (กลุ่มรีจิสทรีในส่วนนี้เป็นส่วนหลักของตัวแก้ไขรีจิสทรีซึ่งประกอบด้วยคีย์รีจิสทรี คีย์ย่อย และค่าต่างๆ)

อ่านเพิ่มเติม: 10 ซอฟต์แวร์ Registry Cleaner ที่ดีที่สุดสำหรับ Windows

ขั้นตอนในการเพิ่มคีย์และค่ารีจิสทรี

การเพิ่มคีย์รีจิสทรีและค่าใหม่สามารถแก้ไขปัญหาหรืออาจเป็นวิธีแก้ปัญหาเพื่อให้บรรลุเป้าหมาย ต่อไปนี้เป็นขั้นตอนในการเพิ่มคีย์รีจิสทรีและค่าใหม่:

  • พิมพ์ Regedit ในแถบค้นหาข้างเมนู Start
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • You will get a prompt, click on Yes to open Registry Editor.
  • On the left-hand side panel of Registry Editor, steer to the registry key to which you want to add a key or subkey or a value
  • As you locate the registry key to which you can want to add a subkey, right click on the key. From the context menu, choose New-> Key. Name the registry key and hit Enter.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • To create a value, right click on the registry key and choose New-> choose the type of value you want to create. Name the value and hit Enter. Now double tap to open the created value and set the “Value data”.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี

วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี

  • Close the Registry Editor Windows, once the task is completed.
  • Restart your computer to let the changes effect.

หมายเหตุ: Creating a subkey or adding a value will not necessarily affect your computer but modifying one will, so you need to careful while following below mentioned steps.

Steps to Rename &Modify the Registry Keys &Values

You not only can add subkeys or values to a registry key, you can also rename or make other changes to a registry keys.

Here we have mentioned the modifications that could be done to existing keys and values in the Windows Registry:

  • Type Regedit in Search bar beside Start menu.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • You will get a prompt, click on Yes to open Registry Editor.
  • On the left-hand side panel of Registry Editor, steer to the registry key which you want to rename or make changes to.
  • Right-click on the key and select Rename to rename the key. Type the new name and hit Enter.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • If you want to rename registry value, right click on the value mentioned in the right-hand side panel and select Rename. Type a new name for the registry value and hit Enter.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • If you wish to change value data for a Registry value, then locate the value from the right-hand side and make a right click or double-click on it. Select Modify from the context menu. You will get a small window, under Value Data, assign a Value data, then hit OK.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • Close the Registry Editor Windows, once the task is completed.
  • Restart your computer to let the changes effect.

หมายเหตุ: Sometimes you don’t need to restart your computer to let the changes effect but it is better to restart your computer to be sure that the changes are applied.

Also Read: How to Fix Registry Errors in Windows 10, 8,7

Steps To Delete SubKeys &Registry Values

Sometimes to resolve an issue, you need to delete subkey or value. Before deleting the keys or values, it is must to check whether you have backed up the Registry settings or not.  Once you are sure that you have a backup, follow these steps to delete a subkey or value:

  • Type Regedit in Search bar beside Start menu.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • You will get a prompt, click on Yes to open Registry Editor.
  • On the left-hand side panel of Registry Editor, steer to the registry key->subkey which you want to delete.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • Right-click on the key and from the context menu, choose to Delete to delete the key.
  • If you want to delete a value, then look for the value on the right-hand side of the window, right click on it. Choose Delete from the drop-down menu.
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี
  • You will get a prompt with a warning, “Deleting certain registry values could cause system instability. Are you sure you want to permanently delete this value?” (Windows 10)
    วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี

หมายเหตุ: The language of the warning could be different in different versions of Windows.

  • Click Yes to delete the value.
  • Now, restart the computer to let the changes effect.

In this way, you can manually make changes, add, rename &delete registry subkeys or values to resolve some issues. However, if you don’t want to do it manually, you can use a third-party software to do it for you. One of the best software, Advanced PC Cleanup can reduce the hassle of carefully following the steps to work on Registry Editor and resolving the issue on your own. This software will optimize your PC’s performance by eliminating invalid registry errors in simple steps.  Let’s look at the features of the Advanced PC Cleanup:

วิธีการเพิ่ม แก้ไข และลบคีย์และค่ารีจิสทรี

  •  Advanced PC Cleanup deals with removing invalid registry by scanning the system and showing them in a scan result. You can clean them all in one click and improve your computer’s performance.
  • It fixes the error messages which could cause crashing and also deal with outdated information in Windows registry.

So, with Advanced PC Cleanup on your computer, dealing with registry issues could be a cakewalk. You can either use the steps to add, modify, delete and Registry keys &values or use registry cleaning software for your computer. Try it and let us know how it worked for you!

Download Advanced PC Cleanup Here-