Seems like this may be an out of the box class but I can't find what I need out of the box. I need the timout value;
* Windows: Set Windows disk timeout to 60 seconds by using the
TimeOutValue registry key located below:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Disk\TimeOutValue
Creating group Disk (Disk) with 8 properties. SMS_INVENTORY_DATA_LOADER
4/10/2014 1:54:47 PM 5504 (0x1580)
*** insert into GroupMap (ArchitectureKey, GroupKey, GroupName, GroupClass,
Flags, SpecificTableName, HistoryTableName) values (5, 456, 'Disk', 'Disk', 42,
'Disk_DATA', 'Disk_HIST') SMS_INVENTORY_DATA_LOADER
4/10/2014 1:54:47 PM 5504 (0x1580)
*** [23000][2627][Microsoft][SQL Server Native Client 11.0][SQL
Server]Violation of UNIQUE KEY constraint 'GroupMap_AK2'. Cannot insert
duplicate key in object 'dbo.GroupMap'. The duplicate key value is (Disk_DATA).
SMS_INVENTORY_DATA_LOADER 4/10/2014 1:54:47 PM 5504
(0x1580)
CDefinedArchitecture::InsertDefinedGroup - error in SQL command insert into
GroupMap (ArchitectureKey, GroupKey, GroupName, GroupClass, Flags,
SpecificTableName, HistoryTableName) values (5, 456, 'Disk', 'Disk', 42,
'Disk_DATA', 'Disk_HIST') SMS_INVENTORY_DATA_LOADER 4/10/2014
1:54:47 PM 5504 (0x1580)
ERROR: Failed creating inventory schema for Disk.
SMS_INVENTORY_DATA_LOADER 4/10/2014 1:54:47 PM 5504 (0x1580)
Clearing the group definition cache. SMS_INVENTORY_DATA_LOADER
4/10/2014 1:54:47 PM 5504 (0x1580)
Looking for inventory schema changes... SMS_INVENTORY_DATA_LOADER
4/10/2014 1:54:47 PM 5504 (0x1580)
...processing inventory schema changes. SMS_INVENTORY_DATA_LOADER
4/10/2014 1:54:47 PM 5504 (0x1580)
Loading architecture System from the database.
SMS_INVENTORY_DATA_LOADER 4/10/2014 1:54:47 PM 5504 (0x1580)
Stopping any inventory processing threads. SMS_INVENTORY_DATA_LOADER
4/10/2014 1:54:48 PM 5504 (0x1580)
...threads stopped. SMS_INVENTORY_DATA_LOADER 4/10/2014
1:54:48 PM 5504 (0x1580)
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>>

