Use the Notepad command - Quickly delete the specified Windows 7 registry key

  

Whether it's for Vista or Windows 7, the registry is the most common method for optimization and cracking. There are usually two ways to modify the registry. One is to run regedit to open the registry editor to find the corresponding key value and then modify it. The second is to save the file as a .reg file by writing the modified key value in the notebook. But whenever we encounter a key to delete, we often only use the first method.

Today, we want to introduce to you how to quickly delete the registry key value while knowing the key value path. In fact, very simple, just add two simple symbols to achieve the deletion of key values ​​and sub-key values.

For key and subkey values, simply add a "-" before the path. For example,

assumes that we want to delete the entire Vista123 key value in the following key values,

[HKEY_CURRENT_USER\\Software\\Vista123]
"Vista123"=dword:00000001

Then, just copy the following to Notepad and save as a .reg file and double-click to import.

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\\Software\\Vista123]"Vista123"=dword:00000001

Assuming we only need to delete Vista123 from the above key values Sub-key values, just copy the following to Notepad and save as a .reg file and double-click to import.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\\Software\\Vista123]
"Vista123"=-

Copyright © Windows knowledge All Rights Reserved