What should I do if the windows registry is accidentally deleted? Writing a registry document *.reg tutorial

  

Everyone knows that the windows system has a registry editor, which is the most important and core data of the windows system. You can do a lot of things by modifying the data. Of course, you can't just tamper with it. Today I share a tutorial on writing a *.reg registry run file.

1, we use the registry modification item that hides the shortcut small arrow in win XP as an example. The practice of removing the small arrow in win XP is to delete the "IsShortcut" key in the registry "HKEY_CLASSES_ROOT\\piffile" and "HKEY_CLASSES_ROOT\\lnkfile" in the HKEY_CLASSES_ROOT\\lnkfile” In fact, it can be manually deleted, but the manual is too much trouble, so we found the registry document that automatically modified the registry to help.

2. First, we create a Notepad document anywhere on the computer and change the extension to .reg.

3, open with Notepad, is a blank Notepad document.

4. First, we enter the standard format. In the first line, enter the text " Windows Registry Editor Version 5.00”".

5, the writing format is very important, you can not enter the directory again in the same directory, but remember to empty the middle row when changing the directory.

6. First delete the IsShortCut in HKEY_CLASSES_ROOT\\piffile. The first line is blank, that is, enter [HKEY_CLASSES_ROOT\\piffile] in the third line, indicating that it is in the directory.

7. In the fourth line, type "IsShortcut"=- (quote is required here).

8, and so on, we enter the code to delete the IsShortCut key value in HKEY_CLASSES_ROOT\\lnkfile, remember to wrap between directories. Close and save, we double-click the registry key and the skills are changed for the registry.


9, this is the easiest deletion function, I cite some common changes to the code:

1) Add a blank string value: “ ……”=“”

2)Add a Dword/QWord/binary with a value of 0...:“……”=“dword:0”( Others and so on)

3) Delete a value “……”=-.

Copyright © Windows knowledge All Rights Reserved