Check on your server and see if you see the classes within the mof already exist within wmi on your cm server. It seems like I deleted them there and then reimported
From: listsadmin@lists.myitforum.com [mailto:listsadmin@lists.myitforum.com] On Behalf Of Schwan, Phil Sent: Monday, August 24, 2015 12:50 PM To: ms...@lists.myitforum.com Subject: RE: [mssms] adding the MBAM inventory classes to default client inventory classes Jimmy, did you ever get this resolved? I’m seeing the exact same issue with an MBAM integration. I’ve actually isolated it down to the section of the sms_def.mof file listed at the TechNet entry (https://technet.microsoft.com/en-us/library/dn656927.aspx). I’ve broken out the other three sections into their own files and imported them successfully, but no matter what I do to the formatting the Win32Reg_MBAMPolicy session continues to generate the same error. Mofcomp /check says the syntax is valid, but the HINV import in the Default Client Settings continues to puke every time. -Phil _________________________________________________________________ Phil Schwan | Technical Architect, Enterprise Windows Services Microsoft VTSP (b-phs...@microsoft.com<mailto:b-phs...@microsoft.com>) Project Leadership Associates | 2000 Town Center, Suite 1900, Southfield, MI 48075 Lync: 312.756.1626 Mobile: 419.262.5133 www.projectleadership.net<http://www.projectleadership.net/> [cid:image001.jpg@01D0DE6C.A72071E0] <http://www.linkedin.com/in/philschwan> [cid:image002.jpg@01D0DE6C.A72071E0] <https://twitter.com/philschwan> [cid:image003.jpg@01D0DE6C.A72071E0] <http://myitforum.com/myitforumwp/author/philschwan> [cid:image004.jpg@01D0DE6C.A72071E0]Lead with Strategy. Leverage Technology. Deliver Results. From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> [mailto:listsadmin@lists.myitforum.com] On Behalf Of Greg Thomas Sent: Monday, January 12, 2015 7:24 PM To: Jimmy Martin <jimmy.mar...@bmhcc.org<mailto:jimmy.mar...@bmhcc.org>> Cc: ms...@lists.myitforum.com<mailto:ms...@lists.myitforum.com> Subject: RE: [mssms] adding the MBAM inventory classes to default client inventory classes I'm sure we've all seen cases where copy/paste from a webpage has a special character or the quotes are wrong. Can you make sure you're pasting into notepad rather some other text editor and just verify that the single and double quotes look right. If it's working fine for Sherry (p.s. many thanks for RegToMof) but it's giving you a syntax error, there is likely something simple like that. Of course, Sherry is somewhat of a mof wizard, so it's possible there is some magic involved :) On Jan 12, 2015 2:15 PM, Jimmy Martin <jimmy.mar...@bmhcc.org<mailto:jimmy.mar...@bmhcc.org>> wrote: Well crap That doesn’t import either. I tried on the server as well as my 2 workstations with the same result. I went ahead and exported my hardware inventory classes to see if you could spot something there that was ill defined and blocking this. It has something to do with the sms_class_template definition as the file will not mofcomp successfully unless I add the definition to the top of the mof. Wont import either way From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> [mailto:listsadmin@lists.myitforum.com] On Behalf Of Sherry Kissinger Sent: Monday, January 12, 2015 1:05 PM To: ms...@lists.myitforum.com<mailto:ms...@lists.myitforum.com> Subject: Re: [mssms] adding the MBAM inventory classes to default client inventory classes well, I dunno what you're doing. But the attached works just fine for me in my lab; to import into default agent settings. that's just for importing; the configuration.mof changes still have to be done. On Monday, January 12, 2015 9:49 AM, Jimmy Martin <jimmy.mar...@bmhcc.org<mailto:jimmy.mar...@bmhcc.org>> wrote: http://technet.microsoft.com/en-us/library/dn237295.aspx Jimmy Martin (901) 227-8209 From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> [listsadmin@lists.myitforum.com] On Behalf Of Sherry Kissinger [slkissin...@sbcglobal.net] Sent: Monday, January 12, 2015 9:44 AM To: ms...@lists.myitforum.com<mailto:ms...@lists.myitforum.com> Subject: Re: [mssms] adding the MBAM inventory classes to default client inventory classes "but the mof data on the Microsoft site absolutely will not import. I am importing into the default settings…" what's the .mof on the Microsoft site? On Monday, January 12, 2015 9:36 AM, Jimmy Martin <jimmy.mar...@bmhcc.org<mailto:jimmy.mar...@bmhcc.org>> wrote: Hi Guys, From the documentation, this seems so simple… but the mof data on the Microsoft site absolutely will not import. I am importing into the default settings… [cid:image001.png@01D02E69.CF7B6A40] If I check the mof syntax, it does not know sms_class_template [cid:image002.png@01D02E69.CF7B6A40] If I add the sms_class_template information to the top of the mof, it will check out syntax wise but it still doesn’t import. I’m sure its something simple I am missing here Jimmy Martin | Engineer | Information Technology | BMHCC - CORPORATE Phone: (901) 227-8209 | jimmy.mar...@bmhcc.org<mailto:jimmy.mar...@bmhcc.org> Opinions expressed above are not necessarily those of Baptist. This message and any files transmitted with it may contain legally privileged, confidential, or proprietary information. If you are not the intended recipient of this message, you are not permitted to use, copy, or forward it, in whole or in part without the express consent of the sender. Please notify the sender of the error by reply email, disregard the foregoing messages, and delete it immediately. P Please consider the environment before printing this email... This message and any files transmitted with it may contain legally privileged, confidential, or proprietary information. If you are not the intended recipient of this message, you are not permitted to use, copy, or forward it, in whole or in part without the express consent of the sender. Please notify the sender of the error by reply email, disregard the foregoing messages, and delete it immediately. P Please consider the environment before printing this email... This message and any files transmitted with it may contain legally privileged, confidential, or proprietary information. If you are not the intended recipient of this message, you are not permitted to use, copy, or forward it, in whole or in part without the express consent of the sender. Please notify the sender of the error by reply email, disregard the foregoing messages, and delete it immediately. P Please consider the environment before printing this email... This message and any files transmitted with it may contain legally privileged, confidential, or proprietary information. If you are not the intended recipient of this message, you are not permitted to use, copy, or forward it, in whole or in part without the express consent of the sender. Please notify the sender of the error by reply email, disregard the foregoing messages, and delete it immediately. P Please consider the environment before printing this email...