Operating Registry With Regfind Command Line



With the registry you can do almost anything, but how to quickly find the right registry keys without a registry cleaner software.If you not only want to change the local machine's registry, but also modify remote machine. How to do? This article tells you a good tool Regfind. Regfind can be find from Windows 2000 Server's Resource Kit Supplement One, or downloaded from the Internet. Regfind applies to all versions of Windows, including Windows 9x series.

Regfind is a command line tool. With no option to perform Regfind, it will show help information.The simplest usage is the implementation of search, such as the implementation of Regfind 'QQ',Regfind will find all contain the string 'QQ' registration keys, as shown in Figure 1.

In addition to simply search, Regfind also been able to execute replace: Just add the-r option at the end of the command in Figure 1 and a replacement string. For example, suppose your company's name changed to BGroup from AGroup, now you want change all the products registration information on the registry, simply execute: Regfind 'AGroup'-r 'BGroup'. Note that if the search string contains spaces or punctuation marks, the string should be surrounded with quotation marks.

If you want to change a remote machine, just in front of the command with the-m option and specify the remote machine's UNC (Universal Naming Convention, Universal Naming Convention) path, such as: Regfind-m \ \ server03 'AGroup'-r 'BGroup'.

Search the entire registry is a very time-consuming thing. To improve efficiency, you can limit Regfind search operation to a branch or sub-registry key, just write the registry location you want to search behind the-p option. For example, suppose  you want to limit the search operation 'AGroup' to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft subkey, and replace the AGroup to the BGroup under sub-key, execute: Regfind 'AGroup'-r 'BGroup'-p 'HKEY_LOCAL_MACHINESOFTWARE \ Microsoft. '



Thanks For Reading.

0 comments:

Post a Comment