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")
#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>>

