If you are concerned about the ever growing size of the Windows Registry files, then the DuReg tool is for you. The DuReg.exe is a Registry information tool that you can use to determine how much data is stored in the registry, or in any registry subtree, key, or subkey. You can also search for uninstalled software remains using this tool. Here is how :
Download and install DuReg.exe from http://www.microsoft.com/. The download is very small 645 KB and takes only fraction of a second to download. You can install it in any folder of your choice.
After the installation, open a command prompt window and change the path to the folder where you installed the DuReg.exe. To find the size of data used by the whole of the Windows Registry, give this command :
The size of the Registry data is shown in terms of bytes. For finding the size of only HKLM, use the switch /lm, for only HKCU use /cu and for only HKU use the switch /u.
If you want to find the size of data of a particular branch, then give the related branch as an argument too. For example, if you want to find the size of HKLM\Software\Microsoft, then give this command :
To search for a string in the Registry, use the /s switch followed by the search terms. If the search terms include one or more spaces, then enclose the search terms inside inverted commas. For example, if you want to search for TrishTech inside the HKLM branch, then give this command :