Seems fine.
C:\Users\jmarcum_da>mofcomp -check F:\Temp\Test.mof Microsoft (R) MOF Compiler Version 6.2.9200.16398 Copyright (c) Microsoft Corp. 1997-2006. All rights reserved. Parsing MOF file: F:\Temp\Test.mof MOF file has been successfully parsed Syntax check complete. WARNING: File F:\Temp\Test.mof does not contain #PRAGMA AUTORECOVER. If the WMI repository is rebuilt in the future, the contents of this MOF file wi ll not be included in the new WMI repository. To include this MOF file when the WMI Repository is automatically reconstructed, place the #PRAGMA AUTORECOVER statement on the first line of the MOF file. Done! C:\Users\jmarcum_da> From: [email protected] [mailto:[email protected]] On Behalf Of Jason Sandys Sent: Thursday, April 10, 2014 1:37 PM To: [email protected] Subject: [mssms] RE: Configuration.mof Changes Rejected 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]> [mailto:[email protected]] On Behalf Of Marcum, John Sent: Thursday, April 10, 2014 11:15 AM To: SMS List ([email protected]<mailto:[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. ________________________________ 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. ________________________________ 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>>

