VirtualReg Manager

Download VirtualReg Manager
Current Version: 1.0.0.1

VirtualReg Manager is a utility which creates virtual registry files and is also able to edit them through a regedit-like interface. It provides command line support for automation. Feel free to include this application in your freeware. Since it’s a .NET assembly, it works on every Windows platform.

– VirtualReg Manager (Windows platforms)

The main form (VirtualReg Manager) of this tool provides the visual interface to create a virtual registry. This can also be achieved through command line, as we’ll see later. One can decide whether to virtualize a key along with its subkeys or not.

The virtual registry is an XML database. The format of this XML file looks like this:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<!--?xml version="1.0" encoding="utf-8"?-->
<virtualreg>
<key name="HKEY_LOCAL_MACHINE">
<subkeys>
<key name="SOFTWARE">
<subkeys>
<key name="Microsoft">
<subkeys>
<key name="Fusion">
<values>
<value name="ZapQuotaInKB" type="REG_DWORD">F4240</value>
<value name="DisableCacheViewer" type="REG_BINARY">AQAQAA==</value>
<value name="ForceLog" type="REG_DWORD">1</value>
<value name="LogPath" type="REG_SZ">YwA6AFwAAAA=</value>
</values>
<subkeys>
<key name="GACChangeNotification">
<subkeys>
<key name="Default">
<values>
<value name="Accessibility,1.0.5000.0,,b03f5f7f11d50a3a" type="REG_BINARY">yEWDMkwyxgE=</value>
<value name="cscompmgd,7.0.5000.0,,b03f5f7f11d50a3a" type="REG_BINARY">ROfXLkwyxgE=</value>
<value name="CustomMarshalers,1.0.5000.0,,b03f5f7f11d50a3a" type="REG_BINARY">yEWDMkwyxgE=</value></values></key></subkeys></key></subkeys></key></subkeys></key></subkeys></key></subkeys></key></virtualreg>
<!--?xml version="1.0" encoding="utf-8"?--> <virtualreg> <key name="HKEY_LOCAL_MACHINE"> <subkeys> <key name="SOFTWARE"> <subkeys> <key name="Microsoft"> <subkeys> <key name="Fusion"> <values> <value name="ZapQuotaInKB" type="REG_DWORD">F4240</value> <value name="DisableCacheViewer" type="REG_BINARY">AQAQAA==</value> <value name="ForceLog" type="REG_DWORD">1</value> <value name="LogPath" type="REG_SZ">YwA6AFwAAAA=</value> </values> <subkeys> <key name="GACChangeNotification"> <subkeys> <key name="Default"> <values> <value name="Accessibility,1.0.5000.0,,b03f5f7f11d50a3a" type="REG_BINARY">yEWDMkwyxgE=</value> <value name="cscompmgd,7.0.5000.0,,b03f5f7f11d50a3a" type="REG_BINARY">ROfXLkwyxgE=</value> <value name="CustomMarshalers,1.0.5000.0,,b03f5f7f11d50a3a" type="REG_BINARY">yEWDMkwyxgE=</value></values></key></subkeys></key></subkeys></key></subkeys></key></subkeys></key></subkeys></key></virtualreg>


  
    
      
        
          
            
              
                
                  F4240
                  AQAQAA==
                  1
                  YwA6AFwAAAA=
                
                
                  
                    
                      
                        
                          yEWDMkwyxgE=
                          ROfXLkwyxgE=
                          yEWDMkwyxgE=

Numbers are stored in hex format, whereas all other data is base64 encoded. The virtual registry file can be edited with VirtualReg Editor (vregedit), which is very user-friendly as its interface is identical to regedit’s one.

Creating a virtual registry from the GUI is okay for manual task, but tools can use the program’s command line to generate a virtual registry. In order to do that, a “.tovreg” file has to be passed as command line to the program. A tovreg file has this syntax:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
[OPTIONS]
output="c:\....\fusion.vreg"
[HKEY_CLASSES_ROOT\CLSID]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Fusion]
subkeys=true
[OPTIONS] output="c:\....\fusion.vreg" [HKEY_CLASSES_ROOT\CLSID] [HKEY_LOCAL_MACHINE\Software\Microsoft\Fusion] subkeys=true
[OPTIONS]
output="c:\....\fusion.vreg"

[HKEY_CLASSES_ROOT\CLSID]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Fusion]
subkeys=true

As you can see, it’s a simply ini file. If the “subkeys” parameter is missing, then subkeys are not virtualized.

Download VirtualReg Manager