This tool is intended to simplify the redaction of MOF for extending SMS & SCCM hardware inventories with custom RegistryKeys.Browse registry- you can check "enable 64 bits" if needed.- check dynamic instances to query subkeys of the selection (only the properties of the first in

5 Star
6,873 times
Add to favorites
System Center
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Adds "KeyName"
    1 Posts | Last post October 14, 2019
    • I see that there always is this line when I create a MOF:
      [key] string KeyName;
      Will it be fine if I remove this as I do not want to have that to show as a selectable class in ConfigMgr?
  • Updating a Class
    2 Posts | Last post April 24, 2019
    • Awhile back I had used this tool to add my workstation tattoo information into Hardware Inventory.  Since then I've added a couple items to the registry tattoo and wanted to update the Hardware Inventory to capture these new items.  Unfortunetly when I try to import the updated MOF file I get an error:
      Failed to import inventory class:
      The following class definitions already exist and could not be modified by the imported file. Remove these classes or import modified classes and then try again.
      I confirmed that all the original items are still there so it is the exact same MOF file as before with just the new ones added.  Has anyone seen this error? what can I do to get the new items added?
    • Ah, should have Googled before asking.  I was trying to import the MOF from a custom client policy, not the Default.  Once I imported it using the Default Client Setting it went in no problem. :)
  • DO and Charater limit in SQL - From Editor
    1 Posts | Last post December 18, 2018
    • Thanks foir the tools works great. Did run into an issue with possibliy a max charater limit on a reg key when reportin into SQL. And was wondering if this code would work in it's place. 
      For DO - Trying to inventory - Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization
      But when SQL sips it back out is is truncated and only null values -> v_GS_DeliveryOptimization0.DODelayBackgroundDownloadFro0
      The other data is there just not for this, I thought it was a typo at frist.  
      If I edit the both mof when the value is declared toa  shorter name, would that work?
      I.e. [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\DeliveryOptimization|DODelayBackgroundDownloadFromHttp "),Dynamic,Provider("RegPropProv")] DODelayDownloadFromHttp; 
  • RegKeytoMOF
    1 Posts | Last post January 09, 2018
    • why and what is the purpose of the key being generated called RegKeytoMOF_32 or RegKeytoMOF_64. is this something new or is this a requirement. I see the entry being generated in the conf.mof for the entry KeyName = RegKeytoMOF_32. But would like to know why.
  • Group not reflected in SMS_Group_Name
    1 Posts | Last post November 30, 2017
    • For the past several versions, the Group field is not reflected in the SMS_GROUP_NAME for the Configmgr12 import mof or the sms_def.mof. Obviously it's easy to edit but thought you should know for the next version.  
  • about ClassName syntax
    1 Posts | Last post October 10, 2017
    • Hi, I tried last version to import a mof from an uninstall registry key which is under this format {32D55DE3_D364_45F4_98C4_22C339884351} so when i tried to compil i have : Syntax error 0x80044014 unattend char in name class, must be an identificator.
  • Keep getting error on mofcomp -Check
    4 Posts | Last post August 23, 2017
    • After copying/pasting my lines from this tool and append them to my configuration.mof file, I run mofcomp.exe -Check on it and get the following "error SYNTAX 0X80044003: Expected open brace"
    • Hi JT65
      Could you tell me what version of CM you're using ?
      If possible, reply enclosing the results of both panes ("config.mof" and "to import...")
    • Sorry MandG, I called you JT65.
      Anyway, the rest of my answer is valid :-)
    • I've seen that error when the registry key contains a period, such as ODBC.INI
  • Do I need both 32-bit & 64-bit if the key is always native?
    3 Posts | Last post December 14, 2016
    • I want to inventory some registry keys that I write during OS deployment.  These keys exist in HKLM\Software\ACME\OSDeployment in both the 32-bit & 64-bit deployments.
      Do I need both an OSDeployment and OSDeployment64 class?  Or can I just remove the 64-bit one form the import MOF file and use it that way?
    • Hi,
      Sitting next to Mark at the MVP 2016 Summit in Seattle.
      We say hi, and you rock for using this most awesome tool!
      There is a 64-bit only check box, have a look, selecting\ticking this will produce the result you are after. Come back and post here if it helps you move forward.
    • Hi, 
      How i can create mof file for HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\AutoUpdate?
      Programm write message - Special char found: At least....