You can always make your updates to a copy of the configuration.mof and run 
mofcomp -check on it.

Dataldr.log may give details also (although you may have to quick up the 
logging level on it).

J

From: [email protected] [mailto:[email protected]] On 
Behalf Of Marcum, John
Sent: Thursday, April 10, 2014 11:15 AM
To: SMS List ([email protected])
Subject: [mssms] Configuration.mof Changes Rejected

I am trying to add the following edit, created with regkey-to-mof. It's getting 
rejected and the mof rolls back to the old version.  I can't figure out why. Is 
there not a mofcomp.log or similar that records why it's being rejected? I 
can't find it logged anywhere.





//**************************************************************************
//* CUSTOM: Disk Timeout  ---- BEGIN
//**************************************************************************


#pragma namespace ("\\\\.\\root\\cimv2<file:///\\\root\cimv2>")
#pragma deleteclass("Disk_Timeout", NOFAIL)
[DYNPROPS]
Class Disk_Timeout
{
[key] string KeyName;
String AutoRunAlwaysDisable[];
Uint32 TimeOutValue;
Uint32 Start;
Uint32 Type;
Uint32 ErrorControl;
String ImagePath;
String DisplayName;
};

[DYNPROPS]
Instance of Disk_Timeout
{
KeyName="Custom";
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Disk|AutoRunAlwaysDisable"),Dynamic,Provider("RegPropProv")]
 AutoRunAlwaysDisable;
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Disk|TimeOutValue"),Dynamic,Provider("RegPropProv")]
 TimeOutValue;
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Disk|Start"),Dynamic,Provider("RegPropProv")]
 Start;
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Disk|Type"),Dynamic,Provider("RegPropProv")]
 Type;
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Disk|ErrorControl"),Dynamic,Provider("RegPropProv")]
 ErrorControl;
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Disk|ImagePath"),Dynamic,Provider("RegPropProv")]
 ImagePath;
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Disk|DisplayName"),Dynamic,Provider("RegPropProv")]
 DisplayName;
};



//**************************************************************************
//* CUSTOM: Disk Timeout f---- END
//**************************************************************************

________________________________
        John Marcum
            MCITP, MCTS, MCSA
           Sr. Desktop Architect
   Bradley Arant Boult Cummings LLP
________________________________
      [H_Logo]


________________________________

Confidentiality Notice: This e-mail is from a law firm and may be protected by 
the attorney-client or work product privileges. If you have received this 
message in error, please notify the sender by replying to this e-mail and then 
delete it from your computer.




<<inline: image001.png>>

Reply via email to