The registry application is only within 3 seconds of the

  

1. Quickly delete the key value Usually, we want to delete a key or key value in the registry, all open “ Registry Editor & rdquo ;, then locate the relevant branch to delete. But what if we want to do the same for multiple computers? Or does this deletion need to be done often? This is inconvenient. In fact, you can delete the operation by making the delete operation into a *.reg file and double-clicking the *.reg file. Delete a registry branch: Open “ Registry Editor, and export the branch to be deleted as a *.reg file, open the file with “Notepad” will be shaped like "HKEY_LOCAL_MACHINESOFTWARE……] The field of ” is modified to <;[-HKEY_LOCAL_MACHINESOFTWARE……]” Delete a registry key: also export the key as a *.reg file, open the file with “Notepad”, change the key value of the key to be deleted to “-”, if you want to delete a name The key for “cfan” is modified to be like: "cfan"=-. 2. Fix the registry of the EXE file. After the Trojan, the most troublesome thing is not the killing, but the system setting recovery process after the killing. Because the Trojan is generally interested in the registry, and after the killing, the antivirus The software does not automatically repair the registry, so it often happens that the anti-virus can not be used normally. The registry association of the EXE file is the most typical example. How to fix it quickly? (1) Since the EXE file cannot be run, and Regedit.exe needs to be used to modify the registry, first rename the Regedit.exe file in the C:Windows directory to Regedit.com, run Regedit.com to start “ Table editor & rdquo;. (2) Locate [HKEY_CLASSES_ROOT.exe] and change the key value of the default ” in the right window to “exefile”. (3) Expand the [HKEY_CLASSES_ROOTexefileshellopencommand] branch, and then change the key value of “Default” in the right window to “"%1" %*” (do not use the outer quotes). (4) Close “ Registry Editor, run an EXE file to check whether it is normal, if not, you can click here to download an "EXE File Association Fix" file, extract the file and merge it into the registry. . 3. Self-made Net Transport 128 thread patch first step: Click "Start → Run", enter "Regedit.exe" (without quotes) Enter, open “ Registry Editor & rdquo;, go to [HKEY_CURRENT_USERSoftwareXiNetTransport 2Download]. Step 2: Create a new DWORD value in the edit box on the right and name it “Max Threads”. Double-click this value and enter 128 in the “Value” column. Select ““ System”.

Step 3: Select Menu “File →Export”,“Save Type"Set to "Win9x/NT4 Registration File" (Use the default save type in Windows 2000/XP The exported registry file could not be imported under Windows 9x and saved as 128threads.reg. Step 4: Copy a copy of 128threads.reg and name the new file uninstall128.reg. Open the file with “Notepad""Max Threads"=dworD: under the [HKEY_CURRENT_USERSoftwareXiNetTransport 2Download] subkey. 00000128” modified to “"MaxThreads"=-” (excluding the outer Chinese quotation marks), set the key value in the registry file to “-” that means delete the key value. Just double-click to import 128threads.reg to load a 128-thread patch, and double-click to import uninstall128.reg to restore the state before the patch is not installed. 4. Automatic backup of the registry [HKEY_CURRENT_USER] and [HKEY_LOCAL_MACHINE] these two branches are the most common targets of hackers, backdoors, viruses and malicious websites. Once the data under these two branches is modified by the virus, it is necessary to check them one by one. Modifying the data is a very difficult task, and manually entering the command backup is quite cumbersome. How to quickly back up and restore the system that was “hijacked”? Step 1: Open “Notepad”, enter the following and save as myregbak.bat: @echo off set mypath="C:myfolder"%date%"" if exist "%mypath%" ; rd /s /q "%mypath%" md "%mypath%" cd "%mypath%" reg export hkcu myreg.reg reg export hklm sysreg.reg The meaning of this script is: first define A variable is set to a directory named C:myfolder named after the date of the day, and if the directory does not exist, the directory is created based on the value of the variable. Then transfer the current directory to this directory, if the user's personal registry backup file myreg.reg already exists, delete it and re-export the user's personal registry data to the file. If the system's registry backup file sysreg.reg already exists, delete it and re-export the system's registry data to the file. Tip If you are not an administrator, you do not need to back up the system's registry data (do not enter line 7). The batch script provided above is tested under Windows XP, and the drive, path and file name can be customized. Step 2: Create a shortcut to the myregbak.bat batch file on the desktop, taskbar, and start menu, and manually back up at any time. Step 3: Click “ Control Panel & Rarr; Task Schedule & Rarr; Add Task Plan & rdquo;, select myregbak.bat batch file in the wizard, create “ backup registry & rdquo; task. Right-click the “Backup Registry” task icon and select “Attributes” to click on the “Schedule” tab to select a daily or regular backup to allow the computer to automatically back up the registry.

Copyright © Windows knowledge All Rights Reserved