Usually, there is a misunderstanding on the user’s side of how to properly add keys. If the key is not placed in a proper location, Windows will delete it after rebooting. In order to have a better understanding on how to create a registry key properly, check our guide.

Steps to keep Registry keys after reboot

When adding a custom key to the Windows Registry, some users mistakenly place it in a location similar to Computer\HKEY_LOCAL_MACHINE. Upon rebooting your computer, the system assembles the  HKLM (HKEY_LOCAL_MACHINE) hive, so the pre-reboot existing hive is not available anymore. Therefore, the custom added key disappears. A hive is known as a group of keys, subkeys, and values located in the Windows Registry and contains a set of supporting files providing backup for the system data. In order to have the system keep and recognize the key, you will need to create it in an existing subfolder of the HKLM. Rather than adding your custom key to a location like Computer\HKEY_LOCAL_MACHINE, place it in a location containing the HKLM Software folder. For example, add the key to a location similar to: HKEY_LOCAL_MACHINE\Software\CustomKeyFolder\CustomKey To perform this, follow these steps: We hope that our tutorial helped you to fix the issue. If you liked this article, leave a comment in the comment section below. READ ALSO:

12 of the best 2019 freeware for Windows 11 best Registry cleaners for Windows 10 to use in 2019

SPONSORED Name * Email * Commenting as . Not you? Save information for future comments
Comment

Δ