Teach you the Notepad command method to quickly delete the specified registry key

  
                

Today, we are going to introduce you to how to quickly delete registry keys 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 the “-” number before the path. For example,

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

[HKEY_CURRENT_USER\\Software\\Vista123]

“Vista123”=dword:00000001< Br>

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

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\\Software\\Vista123] quo;Vista123”=dword:00000001

Suppose we only need to delete Vista123 from the above key values For this subkey value, just copy the following to Notepad and save it as a .reg file and double-click to import it.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\\Software\\Vista123]

 Vista123”=-

Whether it's for Vista or Windows 7 In other words, 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.

Copyright © Windows knowledge All Rights Reserved