That was the bugger. Thanks!

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Sherry Kissinger
Sent: Monday, June 19, 2017 8:16 AM
To: [email protected]
Subject: Re: [mssms] RegKeyToMOF error

 

when I save that, and run mofcomp -check testnew.mof, it tells me:

 

C:\temp>mofcomp -check testnew.mof
Microsoft (R) MOF Compiler Version 10.0.10586.117
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: testnew.mof
testnew.mof (28): error SYNTAX 0X80044002: Expected semicolon or '='

Compiler returned error 0x80044002

 

since it's erroring at (28), I'm guessing it's whining about line 28.  Line 28 
is this:

[SMS_Report(TRUE)] String DellBIOSConfig3.2_Wed_LAN;

 

so my guess is that it hates something about that.  It could be the period.  It 
could be the multiple _  (I don't know.

 

Change it in your configuration.mof to be something else, like... 
DellBIOSConfig3  (just has to be different, and if YOU know what it is, it's 
easy enough in reports to say 

select DellBiosConfig30 as 'Dell Bios Config 3.2 Wed LAN' )

 

and then of course change it in the to-be-imported to match; and it'll probably 
work fine.

 

On Thu, Jun 15, 2017 at 6:43 PM, Mike Murray <[email protected] 
<mailto:[email protected]> > wrote:

Hi All,

 

I’m trying to import my custom registry settings via a MOF file into the client 
settings. When I go to import to the default client settings, I get the error 
below. No matter how many times I try this, or what system I use, I get this 
error. I’m attaching the MOF.

 



 

 

Best Regards,

 

Mike Murray

Desktop Engineer/IT Consultant - IT Support Services

California State University, Chico

530.898.4357 <tel:(530)%20898-4357> 
[email protected] <mailto:[email protected]> 

 

Remember, Chico State will NEVER ask you for your password via email!  

For more information about recognizing phishing scam emails go to:  
<http://www.csuchico.edu/isec/basics/spam-and-phishing.shtml> 
http://www.csuchico.edu/isec/basics/spam-and-phishing.shtml

 

 




-- 

Thank you,

Sherry Kissinger


My Parameters:  Standardize. Simplify. Automate
Blogs: http://www.mofmaster.com, http://mnscug.org/blogs/sherry-kissinger, 
http://www.smguru.org

 




Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to