Recently had the occasion to modify the SMS_DEF.MOF and Configuration.MOF files to pull information from a native 64-bit registry. It’s a relatively simple process – there are even some classes, like addremove and virtual machines, that are default and give examples to do this. Below are the relevant sections from each file for my project.
From the above you notice that to pull both 32-bit and 64-bit information we need a section in the control files for each platform. Also notice the bolded text – this is the key to pulling data from 64-bit systems so make sure you include it. Using the example above works in my lab but there have been reports of problems so be aware. If you don’t want to worry about it just add your registry information under the wow6432node and use 32-bit MOF extensions to pull the data. A very cool GUI based utility to auto-build these extensions on 32-bit systems is in referenced in my previous post.