Free Tool: RegKeyToMOF

Here is a link to a free tool that automatically generates the MOF syntax for a given registry key. It has a nice, simple GUI that allows you to easily navigate down to the registry key you’re looking for. As soon as you click on the one you want, it generates the MOF syntax for the Configuration.mof and SMS_Def.mof files, as well as SMS_Def.mof for SMS 2003.

This makes it easy to extend ConfigMgr hardware inventory to include registry information!

http://myitforum.com/cs2/blogs/rtrent/archive/2009/04/13/regkey-to-mof-utility.aspx