Configuration Manager Inventory ForumDiscussion on the Inventory feature for System Center Configuration Manager© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 22:09:28 Zad88ee6b-8872-4527-9a36-bfb3f4310dd3http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/5726d525-0c80-4e77-bbbd-6b1d27a1741ehttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/5726d525-0c80-4e77-bbbd-6b1d27a1741eLatshttp://social.technet.microsoft.com/Profile/en-US/?user=LatsInformation from registry<p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Calibri">I need to pull some information from our Virtual host servers using SCCM. Information I require is under:<br/>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization] <br/>and I will require MinimumMacAddress as well as MaximumMacAddress.<br/><br/>I understand that I need to modify sms_def.mof file? Can anyone help me?</span></p>Tue, 24 Nov 2009 15:55:22 Z2009-11-25T22:09:28Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/9f6d4ff1-ceac-416e-a524-353b3b6cca65http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/9f6d4ff1-ceac-416e-a524-353b3b6cca65Pavlov Mihailhttp://social.technet.microsoft.com/Profile/en-US/?user=Pavlov%20MihailProblem with _hist tables, when creating new classes in sms_def.mof (SMS 2003).<p>Hi all!<br/>Sorry for my English :)<br/><br/><br/><br/><br/><strong>environment:</strong><br/>Sms 2003 sp3 (version 2.50.4253.3000)<br/><br/><br/><strong><br/><br/>situation:<br/></strong><br/><br/><br/><br/>1. Add to sms_def.mof new class. Anyone, for example:</p> <pre>#pragma namespace(&quot;<a>\\\\.\\ROOT\\CIMV2</a>&quot;)<br/>#pragma deleteclass(&quot;Win32_volume&quot;,NOFAIL)<br/><br/>#pragma namespace(&quot;<a>\\\\.\\ROOT\\CIMV2\\SMS</a>&quot;)<br/>#pragma deleteclass(&quot;Win32_volume&quot;,NOFAIL)<br/> [ SMS_Report (TRUE), SMS_Group_Name (&quot;Volume&quot;), SMS_Class_ID (&quot;MICROSOFT|Volume|1.0&quot;)] class WIN32_Volume : SMS_Class_Template { [SMS_Report (TRUE) ] uint64 Capacity; [SMS_Report (TRUE) ] string Caption; [SMS_Report (TRUE) ] boolean Compressed; [SMS_Report (TRUE) ] string Description; [SMS_Report (TRUE),KEY ] string DeviceID; [SMS_Report (TRUE) ] string DriveLetter; [SMS_Report (TRUE) ] uint32 DriveType; [SMS_Report (TRUE) ] string FileSystem; [SMS_Report (TRUE) ] uint64 FreeSpace; [SMS_Report (TRUE) ] boolean IndexingEnabled; [SMS_Report (TRUE) ] string Label; [SMS_Report (TRUE) ] string Name; [SMS_Report (TRUE) ] string PNPDeviceID; [SMS_Report (TRUE) ] string SystemName; };<br/></pre> 2) Push hardware Inventory on clients<br/><br/><br/>3) new tables in sms database<br/>Volume_DATA<br/>Volume_HIST<br/><br/><br/>4) But<br/>When PC got &gt;1 Volumes<br/>a. first inventored volume inserts in Volume_DATA<br/>b. second inventored volume inserts in Volume_DATA<br/>c. first inventored volume inserts in Volume_HIST<br/>d. first inventored volume deletes from Volume_DATA<br/>...<br/><br/>for example, I have now:<br/><br/><a href="http://s52.radikal.ru/i135/0911/50/711470deb9e8.jpg">http://s52.radikal.ru/i135/0911/50/711470deb9e8.jpg</a><br/><br/><br/>It seems like SMS don`t see &quot;<strong>KEY&quot; </strong>in new class.<br/><br/><br/><br/><br/><br/><br/><br/><br/>it happens when I add any other class, where one pc have values &gt;1<br/><br/><br/><br/>autocreated procedures in sql db for &quot;Volume example&quot;:<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>  <pre>pVolume_DATA <br/><br/><br/><br/><br/><br/><br/> CREATE PROCEDURE dbo.pVolume_DATA @Pragma int ,@MachineID int ,@TimeKey datetime ,@AgentID int ,@Capacity00 int =NULL,@Caption00 varchar(255) =NULL,@DeviceID00 varchar(255) =NULL,@DriveLetter00 varchar(255) =NULL,@DriveType00 varchar(255) =NULL,@FreeSpace00 int =NULL,@Label00 varchar(255) =NULL,@Name00 varchar(255) =NULL,@QuotasEnabled00 int =NULL,@SystemName00 varchar(255) =NULL AS BEGIN declare @RevisionID int, @InstanceKey int, @ExTimeKey datetime, @Deleted int select @Deleted = 0 select @InstanceKey = InstanceKey, @RevisionID = RevisionID, @ExTimeKey = TimeKey from Volume_DATA where MachineID = @MachineID IF (isnull(@InstanceKey,0) != 0) BEGIN IF EXISTS ( select MachineID from Volume_DATA where InstanceKey = @InstanceKey and MachineID = @MachineID and Capacity00 = @Capacity00 and Caption00 = @Caption00 and DeviceID00 = @DeviceID00 and DriveLetter00 = @DriveLetter00 and DriveType00 = @DriveType00 and FreeSpace00 = @FreeSpace00 and Label00 = @Label00 and Name00 = @Name00 and QuotasEnabled00 = @QuotasEnabled00 and SystemName00 = @SystemName00 ) return ELSE IF (@ExTimeKey &gt; @TimeKey) return END IF (isnull(@InstanceKey,0) = 0 ) BEGIN select @InstanceKey = InstanceKey from Volume_HIST where MachineID = @MachineID IF (isnull(@InstanceKey, 0) != 0) BEGIN select @Deleted = 1 select @RevisionID = max(RevisionID) from Volume_HIST where MachineID = @MachineID and InstanceKey = @InstanceKey END END IF (isnull(@InstanceKey,0) != 0 and @Deleted = 0) BEGIN insert into Volume_HIST(MachineID, InstanceKey, RevisionID, TimeKey, AgentID, Capacity00, Caption00, DeviceID00, DriveLetter00, DriveType00, FreeSpace00, Label00, Name00, QuotasEnabled00, SystemName00) select MachineID, InstanceKey, RevisionID, TimeKey, AgentID , Capacity00, Caption00, DeviceID00, DriveLetter00, DriveType00, FreeSpace00, Label00, Name00, QuotasEnabled00, SystemName00 from Volume_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey select @RevisionID = RevisionID from Volume_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey END IF (@RevisionID IS NULL) select @RevisionID = 0 select @RevisionID = @RevisionID + 1 IF (isnull(@InstanceKey,0) = 0) BEGIN exec @InstanceKey = sp_GetNextInstanceKey_Internal 5, 'MICROSOFT|VOLUME|1.0' END IF EXISTS (select MachineID from Volume_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey) BEGIN UPDATE Volume_DATA set RevisionID = @RevisionID, AgentID = @AgentID, TimeKey = @TimeKey , Capacity00 = @Capacity00, Caption00 = @Caption00, DeviceID00 = @DeviceID00, DriveLetter00 = @DriveLetter00, DriveType00 = @DriveType00, FreeSpace00 = @FreeSpace00, Label00 = @Label00, Name00 = @Name00, QuotasEnabled00 = @QuotasEnabled00, SystemName00 = @SystemName00 WHERE MachineID = @MachineID and InstanceKey = @InstanceKey END ELSE BEGIN IF (@Pragma = 1) BEGIN select 2 return END ELSE INSERT into Volume_DATA (MachineID, InstanceKey, RevisionID, TimeKey, AgentID, Capacity00, Caption00, DeviceID00, DriveLetter00, DriveType00, FreeSpace00, Label00, Name00, QuotasEnabled00, SystemName00) values (@MachineID, @InstanceKey, @RevisionID, @TimeKey, @AgentID , @Capacity00, @Caption00, @DeviceID00, @DriveLetter00, @DriveType00, @FreeSpace00, @Label00, @Name00, @QuotasEnabled00, @SystemName00) END END GO </pre> <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> <pre>dVolume_DATA CREATE PROCEDURE dbo.dVolume_DATA @Pragma int ,@MachineID int ,@TimeKey datetime ,@AgentID int ,@Capacity00 int =NULL,@Caption00 varchar(255) =NULL,@DeviceID00 varchar(255) =NULL,@DriveLetter00 varchar(255) =NULL,@DriveType00 varchar(255) =NULL,@FreeSpace00 int =NULL,@Label00 varchar(255) =NULL,@Name00 varchar(255) =NULL,@QuotasEnabled00 int =NULL,@SystemName00 varchar(255) =NULL AS BEGIN declare @RevisionID int, @InstanceKey int select @InstanceKey = InstanceKey, @RevisionID = RevisionID from Volume_DATA where MachineID = @MachineID BEGIN IF (isnull(@InstanceKey,0) != 0) BEGIN insert into Volume_HIST(MachineID, InstanceKey, RevisionID, TimeKey, AgentID, Capacity00, Caption00, DeviceID00, DriveLetter00, DriveType00, FreeSpace00, Label00, Name00, QuotasEnabled00, SystemName00) select MachineID, InstanceKey, RevisionID, TimeKey, AgentID , Capacity00, Caption00, DeviceID00, DriveLetter00, DriveType00, FreeSpace00, Label00, Name00, QuotasEnabled00, SystemName00 from Volume_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey select @RevisionID = max(RevisionID) + 1 from Volume_HIST where MachineID = @MachineID and InstanceKey = @InstanceKey IF (@RevisionID = NULL) select @RevisionID = 1 insert into Volume_HIST (MachineID, InstanceKey, TimeKey, RevisionID) select @MachineID, @InstanceKey, @TimeKey, @RevisionID delete from Volume_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey END return END END GO </pre> <p><br/><br/><br/><br/><br/>for example &quot;Disk procedures&quot; where deviceid is a key parameter too in sms_def.mof<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>PDisk</p> <pre>CREATE PROCEDURE dbo.pDisk_DATA @Pragma int ,@MachineID int ,@TimeKey datetime ,@AgentID int ,@Availability0 int  =NULL,@Caption00 varchar(255)  =NULL,@Description0 varchar(255)  =NULL,@DeviceID0 varchar(255)  =NULL,@Index0 int  =NULL,@InterfaceType0 varchar(255)  =NULL,@Manufacturer00 varchar(255)  =NULL,@MediaType0 varchar(255)  =NULL,@Model00 varchar(255)  =NULL,@Name0 varchar(255)  =NULL,@PNPDeviceID00 varchar(255)  =NULL,@Partitions0 int  =NULL,@SCSIBus0 int  =NULL,@SCSILogicalUnit0 int  =NULL,@SCSIPort0 int  =NULL,@SCSITargetId0 int  =NULL,@Size0 int  =NULL,@Status00 varchar(255)  =NULL,@SystemName0 varchar(255)  =NULL,@TotalCylinders00 varchar(255)  =NULL,@TotalSectors00 varchar(255)  =NULL,@TotalTracks00 varchar(255)  =NULL AS <br/> BEGIN <br/>    declare @RevisionID int, @InstanceKey int, @ExTimeKey datetime, @Deleted int <br/>   select @Deleted = 0 <br/>   select @InstanceKey = InstanceKey, @RevisionID = RevisionID, @ExTimeKey = TimeKey <br/>   from Disk_DATA <br/>   where MachineID = @MachineID  and DeviceID0 = @DeviceID0<br/> IF (isnull(@InstanceKey,0) != 0) <br/>  BEGIN <br/>   IF EXISTS <br/>    ( <br/>     select MachineID from Disk_DATA<br/>    where InstanceKey = @InstanceKey and MachineID = @MachineID  and Availability0 = @Availability0 and Caption00 = @Caption00 and Description0 = @Description0 and DeviceID0 = @DeviceID0 and Index0 = @Index0 and InterfaceType0 = @InterfaceType0 and Manufacturer00 = @Manufacturer00 and MediaType0 = @MediaType0 and Model00 = @Model00 and Name0 = @Name0 and PNPDeviceID00 = @PNPDeviceID00 and Partitions0 = @Partitions0 and SCSIBus0 = @SCSIBus0 and SCSILogicalUnit0 = @SCSILogicalUnit0 and SCSIPort0 = @SCSIPort0 and SCSITargetId0 = @SCSITargetId0 and Size0 = @Size0 and Status00 = @Status00 and SystemName0 = @SystemName0 and TotalCylinders00 = @TotalCylinders00 and TotalSectors00 = @TotalSectors00 and TotalTracks00 = @TotalTracks00<br/>    ) <br/>      return <br/> ELSE <br/>   IF (@ExTimeKey &gt; @TimeKey) <br/>      return <br/>  END <br/> IF (isnull(@InstanceKey,0) = 0 ) <br/> BEGIN <br/>    select @InstanceKey = InstanceKey  from Disk_HIST<br/> where MachineID = @MachineID  and DeviceID0 = @DeviceID0<br/> IF (isnull(@InstanceKey, 0) != 0) <br/> BEGIN <br/>   select @Deleted = 1 <br/>    select @RevisionID = max(RevisionID) from Disk_HIST where MachineID = @MachineID and InstanceKey = @InstanceKey <br/> END <br/> END </pre> <pre> IF (isnull(@InstanceKey,0) != 0 and @Deleted = 0) <br/>   BEGIN <br/>     insert into Disk_HIST(MachineID, InstanceKey, RevisionID, TimeKey, AgentID, Availability0, Caption00, Description0, DeviceID0, Index0, InterfaceType0, Manufacturer00, MediaType0, Model00, Name0, PNPDeviceID00, Partitions0, SCSIBus0, SCSILogicalUnit0, SCSIPort0, SCSITargetId0, Size0, Status00, SystemName0, TotalCylinders00, TotalSectors00, TotalTracks00)<br/>     select MachineID, InstanceKey, RevisionID, TimeKey, AgentID , Availability0, Caption00, Description0, DeviceID0, Index0, InterfaceType0, Manufacturer00, MediaType0, Model00, Name0, PNPDeviceID00, Partitions0, SCSIBus0, SCSILogicalUnit0, SCSIPort0, SCSITargetId0, Size0, Status00, SystemName0, TotalCylinders00, TotalSectors00, TotalTracks00<br/> from Disk_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey <br/>     select @RevisionID = RevisionID from Disk_DATA     where MachineID = @MachineID and InstanceKey = @InstanceKey <br/>   END  <br/> IF (@RevisionID IS NULL) <br/>    select @RevisionID = 0 <br/> select @RevisionID = @RevisionID + 1 <br/> IF (isnull(@InstanceKey,0) = 0) <br/>   BEGIN <br/>      exec @InstanceKey = sp_GetNextInstanceKey_Internal 5, 'MICROSOFT|DISK|1.0' <br/>   END <br/>IF EXISTS (select MachineID from Disk_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey) <br/> BEGIN <br/>     UPDATE Disk_DATA<br/>     set  RevisionID = @RevisionID,  AgentID = @AgentID,  TimeKey = @TimeKey , Availability0 = @Availability0, Caption00 = @Caption00, Description0 = @Description0, DeviceID0 = @DeviceID0, Index0 = @Index0, InterfaceType0 = @InterfaceType0, Manufacturer00 = @Manufacturer00, MediaType0 = @MediaType0, Model00 = @Model00, Name0 = @Name0, PNPDeviceID00 = @PNPDeviceID00, Partitions0 = @Partitions0, SCSIBus0 = @SCSIBus0, SCSILogicalUnit0 = @SCSILogicalUnit0, SCSIPort0 = @SCSIPort0, SCSITargetId0 = @SCSITargetId0, Size0 = @Size0, Status00 = @Status00, SystemName0 = @SystemName0, TotalCylinders00 = @TotalCylinders00, TotalSectors00 = @TotalSectors00, TotalTracks00 = @TotalTracks00<br/>     WHERE MachineID = @MachineID and InstanceKey = @InstanceKey <br/>   END <br/> ELSE <br/>   BEGIN <br/>     IF (@Pragma = 1) <br/>        BEGIN <br/>          select 2 <br/>          return <br/>        END <br/>     ELSE  <br/>         INSERT into Disk_DATA (MachineID, InstanceKey, RevisionID, TimeKey, AgentID, Availability0, Caption00, Description0, DeviceID0, Index0, InterfaceType0, Manufacturer00, MediaType0, Model00, Name0, PNPDeviceID00, Partitions0, SCSIBus0, SCSILogicalUnit0, SCSIPort0, SCSITargetId0, Size0, Status00, SystemName0, TotalCylinders00, TotalSectors00, TotalTracks00) <br/>         values  (@MachineID, @InstanceKey, @RevisionID, @TimeKey, @AgentID , @Availability0, @Caption00, @Description0, @DeviceID0, @Index0, @InterfaceType0, @Manufacturer00, @MediaType0, @Model00, @Name0, @PNPDeviceID00, @Partitions0, @SCSIBus0, @SCSILogicalUnit0, @SCSIPort0, @SCSITargetId0, @Size0, @Status00, @SystemName0, @TotalCylinders00, @TotalSectors00, @TotalTracks00) <br/>   END <br/>END <br/>GO <br/><br/><br/><br/><br/><br/></pre> <p> <br/><br/><br/><br/><br/><br/><br/><br/><br/></p> <pre><br/><br/><br/><br/><p><br/><br/>DDISK</p><br/><br/>CREATE PROCEDURE dbo.dDisk_DATA @Pragma int ,@MachineID int ,@TimeKey datetime ,@AgentID int ,@Availability0 int  =NULL,@Caption00 varchar(255)  =NULL,@Description0 varchar(255)  =NULL,@DeviceID0 varchar(255)  =NULL,@Index0 int  =NULL,@InterfaceType0 varchar(255)  =NULL,@Manufacturer00 varchar(255)  =NULL,@MediaType0 varchar(255)  =NULL,@Model00 varchar(255)  =NULL,@Name0 varchar(255)  =NULL,@PNPDeviceID00 varchar(255)  =NULL,@Partitions0 int  =NULL,@SCSIBus0 int  =NULL,@SCSILogicalUnit0 int  =NULL,@SCSIPort0 int  =NULL,@SCSITargetId0 int  =NULL,@Size0 int  =NULL,@Status00 varchar(255)  =NULL,@SystemName0 varchar(255)  =NULL,@TotalCylinders00 varchar(255)  =NULL,@TotalSectors00 varchar(255)  =NULL,@TotalTracks00 varchar(255)  =NULL AS <br/> BEGIN <br/>  declare @RevisionID int, @InstanceKey int <br/> select @InstanceKey = InstanceKey, @RevisionID = RevisionID  from Disk_DATA<br/> where MachineID = @MachineID  and DeviceID0 = @DeviceID0<br/>   BEGIN<br/>  IF (isnull(@InstanceKey,0) != 0) <br/> BEGIN <br/>   insert into Disk_HIST(MachineID, InstanceKey, RevisionID, TimeKey, AgentID, Availability0, Caption00, Description0, DeviceID0, Index0, InterfaceType0, Manufacturer00, MediaType0, Model00, Name0, PNPDeviceID00, Partitions0, SCSIBus0, SCSILogicalUnit0, SCSIPort0, SCSITargetId0, Size0, Status00, SystemName0, TotalCylinders00, TotalSectors00, TotalTracks00)<br/>     select MachineID, InstanceKey, RevisionID, TimeKey, AgentID , Availability0, Caption00, Description0, DeviceID0, Index0, InterfaceType0, Manufacturer00, MediaType0, Model00, Name0, PNPDeviceID00, Partitions0, SCSIBus0, SCSILogicalUnit0, SCSIPort0, SCSITargetId0, Size0, Status00, SystemName0, TotalCylinders00, TotalSectors00, TotalTracks00<br/> from Disk_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey <br/> select @RevisionID = max(RevisionID) + 1 from Disk_HIST<br/> where MachineID = @MachineID and InstanceKey = @InstanceKey IF (@RevisionID = NULL) <br/> select @RevisionID = 1 <br/> insert into Disk_HIST (MachineID, InstanceKey, TimeKey, RevisionID) <br/> select @MachineID, @InstanceKey, @TimeKey, @RevisionID <br/>   delete from Disk_DATA where MachineID = @MachineID and InstanceKey = @InstanceKey <br/>   END <br/> return <br/>  END <br/> END <br/>GO<br/><br/><br/></pre> <p> </p> <p> </p> <p><br/><br/><br/><br/><br/><br/><br/><br/><br/>Help me, please</p>Wed, 25 Nov 2009 06:28:30 Z2009-11-25T21:40:40Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/29376d8b-da59-4fa5-affc-dc9c46cd67cbhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/29376d8b-da59-4fa5-affc-dc9c46cd67cbrsmccallhttp://social.technet.microsoft.com/Profile/en-US/?user=rsmccallCustom MOF entry for single reg key value; IEMy initial goal was to tap into the below reg key to determine the installed IE version: <div>Local\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Exploer\Version</div> <div><br/></div> <div>But instead,</div> <div><br/></div> <div>I used Sherry Kissinger's Mini Monster MOF Builder (extremely useful tool!) to build the language.  I just have a few questions as how to go about doing this properly.  </div> <div><br/></div> <div>1st off here is the code for <span style="font-weight:bold">sms_def.mof</span>:</div> <div><br/></div> <div> <div>[SMS_Report(TRUE), SMS_Group_Name(&quot;Internet_Explorer&quot;), SMS_Class_ID(&quot;SMSExpert|Internet_Explorer|1.0&quot;)]</div> <div>Class Internet_Explorer : SMS_Class_Template</div> <div><br/></div> <div>{</div> <div>  [SMS_Report(TRUE), KEY]<span style="white-space:pre"> </span>string   MachineName;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   ActivePrinter;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>uint32   CipherStrength;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   ContentAdvisor;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   IEAKInstall;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   IEName;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   Language;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   Path;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   ProductID;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   Version;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   AutoProxyDetectMode;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   AutoConfigURL;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   Proxy;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   ProxyOverride;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   ProxyServer;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   ConnectionPreference;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>uint32   EnableHttp11;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>uint32   ProxyHttp11;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   TempInternetFilesFolder;</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   PageRefreshType;</div> <div>};</div> <div><br/></div> <div><br/></div> <div>And here is the code for <span style="font-weight:bold">Configuration.mof</span>:</div> <div><br/></div> <div> <div>[JoinOn(&quot;MicrosoftIE_Summary.__Server = MicrosoftIE_LanSettings.__Server AND MicrosoftIE_Summary.__Server = MicrosoftIE_ConnectionSummary.__Server AND MicrosoftIE_Summary.__Server = MicrosoftIE_Cache.__Server&quot;), </div> <div>  ViewSources{&quot;SELECT __Server, ActivePrinter, CipherStrength, ContentAdvisor, IEAKInstall, Name, Language, Path, ProductID, Version FROM MicrosoftIE_Summary&quot;,</div> <div>&quot;SELECT __Server, AutoProxyDetectMode, AutoConfigURL, Proxy, ProxyOverride, ProxyServer FROM MicrosoftIE_LanSettings&quot;,</div> <div>&quot;SELECT __Server, ConnectionPreference, EnableHttp11, ProxyHttp11 FROM MicrosoftIE_ConnectionSummary&quot;,</div> <div>&quot;SELECT __Server, TempInternetFilesFolder, PageRefreshType FROM MicrosoftIE_Cache&quot;},</div> <div>ViewSpaces{&quot;\\\\.\\root\\CIMV2\\Applications\\MicrosoftIE&quot;, &quot;\\\\.\\root\\CIMV2\\Applications\\MicrosoftIE&quot;,</div> <div>&quot;\\\\.\\root\\CIMV2\\Applications\\MicrosoftIE&quot;, &quot;\\\\.\\root\\CIMV2\\Applications\\MicrosoftIE&quot;}, Dynamic : ToInstance, provider(&quot;MS_VIEW_INSTANCE_PROVIDER&quot;)]</div> <div><br/></div> <div>Class Internet_Explorer</div> <div><br/></div> <div>{</div> <div>  [PropertySources{&quot;__Server&quot;, &quot;__Server&quot;, &quot;__Server&quot;, &quot;__Server&quot;}, key ] string MachineName;</div> <div>  [PropertySources{&quot;ActivePrinter&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string ActivePrinter;</div> <div>  [PropertySources{&quot;CipherStrength&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] uint32 CipherStrength;</div> <div>  [PropertySources{&quot;ContentAdvisor&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string ContentAdvisor;</div> <div>  [PropertySources{&quot;IEAKInstall&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string IEAKInstall;</div> <div>  [PropertySources{&quot;Name&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string IEName;</div> <div>  [PropertySources{&quot;Language&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string Language;</div> <div>  [PropertySources{&quot;Path&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string Path;</div> <div>  [PropertySources{&quot;ProductID&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string ProductID;</div> <div>  [PropertySources{&quot;Version&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string Version;</div> <div>  [PropertySources{&quot;&quot;, &quot;AutoProxyDetectMode&quot;, &quot;&quot;, &quot;&quot;} ] string AutoProxyDetectMode;</div> <div>  [PropertySources{&quot;&quot;, &quot;AutoConfigURL&quot;, &quot;&quot;, &quot;&quot;} ] string AutoConfigURL;</div> <div>  [PropertySources{&quot;&quot;, &quot;Proxy&quot;, &quot;&quot;, &quot;&quot;} ] string Proxy;</div> <div>  [PropertySources{&quot;&quot;, &quot;ProxyOverride&quot;, &quot;&quot;, &quot;&quot;} ] string ProxyOverride;</div> <div>  [PropertySources{&quot;&quot;, &quot;ProxyServer&quot;, &quot;&quot;, &quot;&quot;} ] string ProxyServer;</div> <div>  [PropertySources{&quot;&quot;, &quot;&quot;, &quot;ConnectionPreference&quot;, &quot;&quot;} ] string ConnectionPreference;</div> <div>  [PropertySources{&quot;&quot;, &quot;&quot;, &quot;EnableHttp11&quot;, &quot;&quot;} ] uint32 EnableHttp11;</div> <div>  [PropertySources{&quot;&quot;, &quot;&quot;, &quot;ProxyHttp11&quot;, &quot;&quot;} ] uint32 ProxyHttp11;</div> <div>  [PropertySources{&quot;&quot;, &quot;&quot;, &quot;&quot;, &quot;TempInternetFilesFolder&quot;} ] string TempInternetFilesFolder;</div> <div>  [PropertySources{&quot;&quot;, &quot;&quot;, &quot;&quot;, &quot;PageRefreshType&quot;} ] string PageRefreshType;</div> <div>};</div> <div><br/></div> <div><br/></div> <div>My thought process tells me to paste the above code in their respective *.mof files on the site server and follow the procedures for &quot;Monitoring Changes&quot; on Sherry's blog site <a href="http://www.myitforum.com/myITWiki/SCCMINV.ashx">http://www.myitforum.com/myITWiki/SCCMINV.ashx</a> and these changes will be adopted by clients.  </div> <div><br/></div> <div>All I really need is the version of IE so will the below code work?  I edited the above code so God knows if it'll work :)</div> <div><br/></div> <div> <div><span style="font-weight:bold">sms_def.mo</span><span style="font-weight:bold">f</span>:</div> <div><br/></div> <div>[SMS_Report(TRUE), SMS_Group_Name(&quot;Internet_Explorer&quot;), SMS_Class_ID(&quot;SMSExpert|Internet_Explorer|1.0&quot;)]</div> <div>Class Internet_Explorer : SMS_Class_Template</div> <div><br/></div> <div>{</div> <div>  [SMS_Report(TRUE) ]<span style="white-space:pre"> </span>string   Version;</div> <div>};</div> <div><br/></div> <div><br/></div> <div> <div><span style="font-weight:bold">Configuration.mo</span><span style="font-weight:bold">f</span>:</div> <div><br/></div> <div>[JoinOn(&quot;MicrosoftIE_Summary.__Server = MicrosoftIE_LanSettings.__Server AND MicrosoftIE_Summary.__Server = MicrosoftIE_ConnectionSummary.__Server AND MicrosoftIE_Summary.__Server = MicrosoftIE_Cache.__Server&quot;), </div> <div>  ViewSources{&quot;SELECT __Server, Version FROM MicrosoftIE_Summary&quot;},</div> <div>ViewSpaces{&quot;\\\\.\\root\\CIMV2\\Applications\\MicrosoftIE&quot;, &quot;\\\\.\\root\\CIMV2\\Applications\\MicrosoftIE&quot;,</div> <div>&quot;\\\\.\\root\\CIMV2\\Applications\\MicrosoftIE&quot;, &quot;\\\\.\\root\\CIMV2\\Applications\\MicrosoftIE&quot;}, Dynamic : ToInstance, provider(&quot;MS_VIEW_INSTANCE_PROVIDER&quot;)]</div> <div><br/></div> <div>Class Internet_Explorer</div> <div><br/></div> <div>{</div> <div>  [PropertySources{&quot;Version&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;} ] string Version;</div> <div>};</div> </div> <div><br/></div> </div> </div> </div>Thu, 07 May 2009 20:35:18 Z2009-11-24T18:07:04Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/1852935a-5007-4c2a-a66c-bebd52d65ce5http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/1852935a-5007-4c2a-a66c-bebd52d65ce5rocco123http://social.technet.microsoft.com/Profile/en-US/?user=rocco123OSArchitecture captured in SCCM?Hello,<br/><br/>I noticed that SCCM is not collection inventory information for OSArchitecture (W32_OperatingSystem).  In previous versions of Windows, the version of the OS was captured completely in the Caption (x86 or x64), but this is not true with Vista and Windows 2008.  We are linking our CMDB to SQL data in the SCCM database, but it's making it difficult to determine the Architecture of the OS using this method.<br/><br/>Thanks!Mon, 23 Nov 2009 17:37:41 Z2009-11-23T22:42:27Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/947144b2-c3dd-49e0-85a0-bd0673154e23http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/947144b2-c3dd-49e0-85a0-bd0673154e23s10xtremenlowhttp://social.technet.microsoft.com/Profile/en-US/?user=s10xtremenlowSoftware Metering Report - Specific CopmuterI don't see this report built in and I am wondering if anyone has created one.<br/> <br/> I want to be able to have a specific computer report that will give me all the usernames, usages, times for a specific metered application that was run only on a specific computer.<br/> <br/> Any ideas?Fri, 20 Nov 2009 18:44:14 Z2009-11-23T22:43:19Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/eb41c4ad-d29e-45d8-8a77-7823741e8ef6http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/eb41c4ad-d29e-45d8-8a77-7823741e8ef6Kumar Rakeshhttp://social.technet.microsoft.com/Profile/en-US/?user=Kumar%20RakeshEditing mof file in SCCMDear All,<br/><br/>I have a question that how i can edit mof file in SCCM.<br/>Is there any tool available.<hr class="sig">Rakesh KumarMon, 23 Nov 2009 12:37:06 Z2009-11-23T14:34:57Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/d4bc7c97-0eac-4916-b443-58132f9a7306http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/d4bc7c97-0eac-4916-b443-58132f9a7306phildibhttp://social.technet.microsoft.com/Profile/en-US/?user=phildibSoftware Inventory frequencyI am sure this spans a few different topic areas but I figured I'd ask first here.  <br/> <br/> What is a recommended frequency to run Software Inventories on my client agents?  Right now the SCCM Site is still in a dev state, but will grow to have about 500 clients.  <br/> <br/> I have collections setup for each software package that we deploy and support.  Under each of these we have a sub collection that is used to apply mandatory assignments to.  We push out the advertisements both using AD security groups and by manually adding SCCM Systems to the collection (Via right click tools).  This works great.  The problem that I am facing is that it takes way to long for the system to then show up in the top level software collection as having the software installed.  What I have done to get around this is to use the right click tools after a successful deployment and I execute a manual software inventory.  <br/> <br/> The software collection are membership based on Software Products.Product name.<br/> <br/> My three thoughts were:  <br/> 1. Do I increase the frequency that we run Software inventories?<br/> 2. Can I add a command line execution of the software inventory to run as part of the deployment command line?<br/> 3. Setup collections without using Software Products.Product name?<br/> <br/> Thanks in advance<br/> <br/> PhilTue, 03 Nov 2009 16:23:56 Z2009-11-23T22:48:38Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/1ee788e8-43b1-4644-88c1-e2ee93f5f37ehttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/1ee788e8-43b1-4644-88c1-e2ee93f5f37eMicrosoft Galhttp://social.technet.microsoft.com/Profile/en-US/?user=Microsoft%20Galhardware inventory empty on resource explorerHi, <br/> <br/> <br/> 1 of the SCCM client's hardware inventory is not shown on Resource Explorer. I checked the Inventoryagent.log, some of the collection failed as below. The client name is not exist in MP_hinv.log. What is the problem? Any idea? <br/> <br/> InventoryAgent.log<br/> Collection: Class &quot;Win32_Vulnerability&quot; does not exist out.    InventoryAgent    19/11/2009 9:52:49 AM    2172 (0x087C)<br/> Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout = 600 secs.    InventoryAgent    19/11/2009 9:52:49 AM    2172 (0x087C)<br/> Collection: 39/53 inventory data items successfully inventoried.    InventoryAgent    19/11/2009 9:52:49 AM    2172 (0x087C)<br/> Inventory: Collection Task completed in 9.657 seconds    InventoryAgent    19/11/2009 9:52:49 AM    2172 (0x087C)<br/> Inventory: 14 Collection Task(s) failed.    InventoryAgent    19/11/2009 9:52:49 AM    2172 (0x087C)<br/> Inventory: Temp report = C:\Windows\SysWOW64\CCM\Inventory\Temp\0535f160-9cbf-43a8-9dce-24d7c43e782c.xml    InventoryAgent    19/11/2009 9:52:49 AM    2172 (0x087C)<br/> Inventory: Starting reporting task.    InventoryAgent    19/11/2009 9:52:49 AM    4752 (0x1290)<br/> Reporting: 50 report entries created.    InventoryAgent    19/11/2009 9:52:50 AM    4752 (0x1290)<br/> Inventory: Reporting Task completed in 0.375 seconds    InventoryAgent    19/11/2009 9:52:50 AM    4752 (0x1290)<br/> Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {E5677EE7-FC6E-4D71-ABA0-9D8DCFAE58D7}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted    InventoryAgent    19/11/2009 9:52:50 AM    4752 (0x1290)<br/> Inventory: Cycle completed in 21.029 seconds    InventoryAgent    19/11/2009 9:52:56 AM    4752 (0x1290)<br/> Inventory: Action completed.    InventoryAgent    19/11/2009 9:52:56 AM    4752 (0x1290)<br/> <br/>Thu, 19 Nov 2009 03:59:26 Z2009-11-23T22:47:04Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/5329bea9-5d33-4f31-9182-525b82c0ba83http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/5329bea9-5d33-4f31-9182-525b82c0ba83Johnny_Vhttp://social.technet.microsoft.com/Profile/en-US/?user=Johnny_VQuery IE6 computers for SP1 and SP2?Hi all,<br/><br/>I received a request to show a list of all computers still using IE6 in SCCM2007 divided into a sub-list for 'No SP', SP1 and SP2, but after hours of searching I still haven't found a way to do this.<br/><br/>Can anyone help me with this? Point me in the right direction?<br/><br/>Thanks in advance,<br/><br/>JohnTue, 10 Nov 2009 10:48:17 Z2009-11-23T11:08:33Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/1ec14cd6-dad9-426d-934e-d09394097b9ahttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/1ec14cd6-dad9-426d-934e-d09394097b9aMicrosoft Galhttp://social.technet.microsoft.com/Profile/en-US/?user=Microsoft%20GalCapturing Virtual Machine (Hyper-V) for OSDHi, <br/> <br/> If I were to capture a Virtual Machine as reference computer for Windows server 2008. Then I would like to use the OS image to deploy to a physical server. Is that alright? What else I need to do? import the drivers of the physical server to a driver package? <br/>Fri, 20 Nov 2009 00:02:20 Z2009-11-20T14:05:51Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/04dce698-4df9-44a0-bb14-756b883170c7http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/04dce698-4df9-44a0-bb14-756b883170c7sarahwongynhttp://social.technet.microsoft.com/Profile/en-US/?user=sarahwongynSCCM inventory for product keyCan SCCM be customized to collect product key for software installed in every machine?<br><br>Understand that <span id="_ctl0_MainContent_PostFlatView"><span>product keys are something sensitive and it would be risky to capture and export it to a report. However, this is also very important for one of my customer to be able to track who is using what license key to install their software as users in their environment are sharing their license key whereby user A is using user B license key to install the OS. There are also users who are using fake license key. The IT administrator needs to do a manual check of the registry for every PC in order to identify who is using the fake / incorrect product key.<br><br>Hope you can help. Thanks.<br></span></span>Sat, 24 May 2008 08:23:13 Z2009-11-18T19:51:24Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/87c6be9f-2954-4893-8873-46ba3305f776http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/87c6be9f-2954-4893-8873-46ba3305f776Blokushttp://social.technet.microsoft.com/Profile/en-US/?user=BlokusCapturing Printer Serial NumbersDoes anyone know of any edit to the mof files or scripts for effectively capture printer serial numbers?  I know the information is available from HPJet Direct web software so it has to be stored somewhere.Tue, 17 Nov 2009 22:09:49 Z2009-11-20T16:25:30Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/766ca145-e90e-49fd-9b26-55de971cb352http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/766ca145-e90e-49fd-9b26-55de971cb352Bud dyhttp://social.technet.microsoft.com/Profile/en-US/?user=Bud%20dyMOF change not reporting but the WMI class is created...<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:black;font-family:Verdana">I am looking to report on the members of a local group. I took the MOF we used in SMS and tested in a lab and worked perfect, reports generate fine. This is only applicable for our XP machines, no vista or W3K.<br/><br/>In my production environment I am having problems however.<br/><br/>I compile the MOF on a pilot machine and initially the Win32_LocalGroup class was inventoried, as I could verify in inventory. log, <span style=""> </span>but no data every appeared in the DB. The tables and views are created in the DB but there is no data. I thought it would just take some time.<br/><br/>I see the change in WMI using WBEMTEST, the Win32_localgroup is created, and i can see the instances or members.<br style=""><br style=""></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:black;font-family:Verdana">This morning when i run hardware inventory, delta or full, the Win32_LocalGroup class is no longer inventoried now.<br/>I’ve recompiled the MOF but the class is not being inventoried any longer. </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:black;font-family:Verdana"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:8pt;color:black;font-family:Verdana">Not sure what I am missing here, any ideas folks?</span><span style="font-size:10pt;font-family:Arial"></span></p>Tue, 17 Nov 2009 15:28:33 Z2009-11-17T18:58:55Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/4c78befc-9d29-4cbc-8015-0bffc0df6753http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/4c78befc-9d29-4cbc-8015-0bffc0df6753CosmicStormhttp://social.technet.microsoft.com/Profile/en-US/?user=CosmicStormFinding Serial Keys used to install a software<p><br/>There is a Internet based company where every user has local admin rights on his desktop system. These user require such free hand to carry out their day to day work, but the company also wishes to do a software audit from time to time. <br/><br/>Using Software inventory in SCCM 2007, is it possible to discover the product/serial keys used to install a particular software on the SCCM clients?</p>Fri, 13 Nov 2009 03:35:39 Z2009-11-15T02:19:26Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/7d2c7816-6885-4a20-94cb-f0b449930adfhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/7d2c7816-6885-4a20-94cb-f0b449930adfBlokushttp://social.technet.microsoft.com/Profile/en-US/?user=BlokusBAD_DDRs caused by SMS_AD_USER_DISCOVERY_AGENTI have several Bad DDRs under my ddm.box.  When I open them up with a text editor, I discovered they came from the SMS_AD_USER_Discovery_Agent.  In the MP_RegistrationManager.log, I see multiple errors stating A client is trying to re-register with an administrator revoked certificate SMSID=GUID:&lt;GUID NAME&gt;  Please help.Tue, 07 Apr 2009 18:43:39 Z2009-11-13T22:43:04Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/83f5e9ed-1840-484c-af8e-819450d9ecbfhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/83f5e9ed-1840-484c-af8e-819450d9ecbfJedDunnhttp://social.technet.microsoft.com/Profile/en-US/?user=JedDunnSCCM Report #65Having a problem with report #65. When looking for a specific program, it brings back 204 machines however, there are duplicate machine names in the list. How can I avoid seeing the duplicates?<br/><br/>JedMon, 09 Nov 2009 16:50:03 Z2009-11-10T09:20:40Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/7de16ed9-687b-4ae7-94f8-3a18043416f2http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/7de16ed9-687b-4ae7-94f8-3a18043416f2Mayur Kirtihttp://social.technet.microsoft.com/Profile/en-US/?user=Mayur%20KirtiWake on LAN Part 2 Does anyone already have an SMS query to populate all clients with wake on LAN enabled? There are views in the SQL database which you can use to retrieve this data. I am trying to build a query based collection.<br/> <br/> Thanks!<hr class="sig">MayurMon, 09 Nov 2009 20:11:41 Z2009-11-09T21:19:21Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/f12db035-8b4d-417b-9f11-8d8f896ca9d1http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/f12db035-8b4d-417b-9f11-8d8f896ca9d1cjkettshttp://social.technet.microsoft.com/Profile/en-US/?user=cjkettsSMS Mof editing<p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">This is my first attempt at extending hw inventory for custom registry keys. <span style=""> </span>We are using SMS 2003. I am trying to determine which machines were incorrectly imaged using a single processor hal image. I have found the key for this at: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\ACPI_HAL\0000. The values I am interested in are either the hardware id or device description. I have used M. Cochranes’ simple mof extensions for registry keys tool and have come up with the following mof extension:</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">#pragma namespace (&quot;\\\\.\\root\\cimv2&quot;)</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">#pragma deleteclass(&quot;HALType&quot;, NOFAIL)</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[DYNPROPS]</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">Class HALType</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">{</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[key] string KeyName;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">Uint32 ConfigFlags;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">Uint32 Legacy;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">Uint32 DeviceReported;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">String Service;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">String HardwareID;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">String CompatibleIDs;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">Uint32 Capabilities;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">String ClassGUID;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">String Class;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">String Driver;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">String Mfg;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">String DeviceDesc;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">};</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[DYNPROPS]</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">Instance of HALType</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">{</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">keyname=&quot;SystemCenter.fr&quot;;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|ConfigFlags&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] ConfigFlags;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|Legacy&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] Legacy;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|DeviceReported&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] DeviceReported;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|Service&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] Service;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|HardwareID&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] HardwareID;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|CompatibleIDs&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] CompatibleIDs;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|Capabilities&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] Capabilities;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|ClassGUID&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] ClassGUID;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|Class&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] Class;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|Driver&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] Driver;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|Mfg&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] Mfg;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[PropertyContext(&quot;Local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\Root\\ACPI_HAL\\0000|DeviceDesc&quot;),Dynamic,Provider(&quot;RegPropProv&quot;)] DeviceDesc;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">};</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">#pragma namespace (&quot;\\\\.\\root\\cimv2\\SMS&quot;)</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">#pragma deleteclass(&quot;HALType&quot;, NOFAIL)</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(TRUE),SMS_Group_Name(&quot;HALType&quot;),SMS_Class_ID(&quot;Custom|HALType|1.0&quot;)]</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">Class HALType: SMS_Class_Template</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">{</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false),key] string KeyName;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] Uint32 ConfigFlags;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] Uint32 Legacy;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] Uint32 DeviceReported;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] String Service;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(true)] String HardwareID;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] String CompatibleIDs;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] Uint32 Capabilities;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] String ClassGUID;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] String Class;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] String Driver;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(false)] String Mfg;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">[SMS_Report(TRUE)] String DeviceDesc;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">};</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">After I run mofcomp, I receive the error : test.mof (15): error SYNTAX 0X8004400c: Expected property or method name.</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'">I know I’m missing something, and am thinking maybe this key can’t be used in this way?</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:8pt;line-height:115%;font-family:'Arial','sans-serif'"> Any help would be appreciated.</span></p>Mon, 02 Nov 2009 01:23:32 Z2009-11-08T15:23:37Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/1f81c5a0-f54f-4d11-bee3-cd8a04ba9bcbhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/1f81c5a0-f54f-4d11-bee3-cd8a04ba9bcbKuipiehttp://social.technet.microsoft.com/Profile/en-US/?user=KuipieResource Explorer Software emptyHi all,<br/><br/>Got the following problem. When I start Resource explorer of a client than the software part is empty. This happens for all the clients.<br/>The Hardware part is fine and it shows everything. <br/><br/>SCCM 2007 and all the rules are installed on one windows 2008 R2 server in mixed mode. SQL 2005 is installed on an other windows 2003 server.<br/><br/>Can anyone help me to get the software part working?Thu, 05 Nov 2009 11:03:31 Z2009-11-06T11:00:43Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/914a066e-6dad-471a-80f5-570e39375398http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/914a066e-6dad-471a-80f5-570e39375398NetAdmin_UKhttp://social.technet.microsoft.com/Profile/en-US/?user=NetAdmin_UKHow can I compare the software inventory for a client on two datesHi,<br/> <br/> I'm trying to track the software my users are installing. Quite often when a user has a problem, after troubleshooting for many hours, you find out it was caused by some random application they have installed in the last week.<br/> I would like to be able to use SCCM Software Inventory to run a report of current software, and the same report as of the week before. I could then complare the two reports to see what's changed. I can't see an easy way to view a historical software inventory report.<br/> Is this possible in SCCM and if so how? Also, if anyone has a better idea on how to achieve the result with a different product please let me know your thoughts.<br/> <br/> ThanksWed, 04 Nov 2009 15:31:48 Z2009-11-10T10:10:55Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/b8bebdc8-c31c-4994-b697-3ce612aec328http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/b8bebdc8-c31c-4994-b697-3ce612aec328Mayur Kirtihttp://social.technet.microsoft.com/Profile/en-US/?user=Mayur%20KirtiWake on LAN report?Does anyone know if its possible to create a SMS query to get the wake on LAN status on the client? The setting can be usually found either in BIOS or on the advanced settings of the NIC. <hr class=sig> MayurWed, 04 Nov 2009 20:54:05 Z2009-11-05T16:51:28Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/20917dd8-aeb2-4b39-acbc-1c7dc7fd76a2http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/20917dd8-aeb2-4b39-acbc-1c7dc7fd76a2.Tim Harrisonhttp://social.technet.microsoft.com/Profile/en-US/?user=.Tim%20HarrisonOld Machine QueryI'm trying to figure out how to write two queries:<br/> <br/> 1.) Return all machines that have not been discovered in X amount of days by the SMS_AD_SYSTEM_DISCOVERY_AGENT.  <br/> 2.) Return all machines in collection x and the last heartbeat received from them.<br/> <br/> Thanks<br/> <br/> **EDIT**<br/> <br/> So apparently the SMS_R_System.AgentTime field contains the last heartbeat discovery time, but when I select it, I get a bunch of other times as well.  How can I isolate the heartbeat time from the AD discovery time or client registration time?Thu, 24 Sep 2009 15:12:15 Z2009-11-05T13:29:23Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/c0b09fa6-f576-430d-b4a2-d7a9d4797fd8http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/c0b09fa6-f576-430d-b4a2-d7a9d4797fd8pepschmirhttp://social.technet.microsoft.com/Profile/en-US/?user=pepschmirReport 64bitHi,<br/><br/>im trying to find out which Computers in our environment can manage 64-Operating Systems. My query is following:<br/><br/>SELECT DISTINCT SYS.Netbios_Name0 FROM v_R_System SYS, v_GS_PROCESSOR PRO<br/>WHERE<br/>PRO.ResourceID = SYS.ResourceID AND PRO.AddressWidth0 = '64'<br/>ORDER BY SYS.Netbios_Name0<br/><br/>But instead of a list of all Computers with AddressWidth0=64 i get all Computers with an existing installation of a 64 Bit Operating System. <br/><br/>I have to say that im not really familiar with SQL. Maybe one of the Gurus out there see what i am doing wrong.<br/><br/>Please advice<br/><br/>TyWed, 04 Nov 2009 14:44:30 Z2009-11-05T07:43:32Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/473d8bf0-caef-4c1c-a0e0-801a4952e1c8http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/473d8bf0-caef-4c1c-a0e0-801a4952e1c8nickmohttp://social.technet.microsoft.com/Profile/en-US/?user=nickmoChange to SQL view v_R_System?In my SMS days, I found that I always had better reporting for the last logged on user from our discovery cycles using the view - as opposed to using v_GS_ComputerSystem, which only had information obtained during a HINV cycle, which if no user was logged into Windows, then no inventory would be gathered.<br/><br/>However, now with SCCM, we're finding that the view is getting last logged on user from the same table that the view v_GS_ComputerSystem does.  Was there a change to the SQL view v_R_System from SMS 2003 to SCCM 2007?  Or am I just mis-remembering?<hr class="sig">Nick Moseley - SCCM Admin http://t3chn1ck.wordpress.comWed, 04 Nov 2009 18:30:33 Z2009-11-05T19:13:14Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/878fcc9a-278c-4885-a49a-b6538fa6da56http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/878fcc9a-278c-4885-a49a-b6538fa6da56_AdrianH_http://social.technet.microsoft.com/Profile/en-US/?user=_AdrianH_CPU Sockets versus CPU CoresCurrently SCCM reports the processor count based on the number of cores found.<br>Some software products (like SQL) are licensed based on the physical CPU sockets in a system.<br>Is there a way to show the physical CPU sockets per computer using AI or standard SCCM reports?Thu, 12 Mar 2009 18:15:51 Z2009-11-04T00:59:23Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/cad61103-c1a9-4bde-a273-47cf47c4d759http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/cad61103-c1a9-4bde-a273-47cf47c4d759Microsoft Galhttp://social.technet.microsoft.com/Profile/en-US/?user=Microsoft%20GalConflict GUID recordsHi, <br /><br />I have rename all the client computer name recently, I realize that in the collection, I could see both entries for new and old computer name. But it's only old computer name acts as sccm client, the new computer name isn't sccm client. I tried to look for the conflict record, I click to merge the record, at the end I still see 2 entries but now it''s&nbsp;two new computer name entries! How could I do the clean up work. Should I enable the maintenance tasks such as delete inactive client, clear install flag? Anyway none of the client computer has inactive/obselete status. Please help to advice what I can do now. Thanks <br /><br />Tue, 13 Oct 2009 16:11:20 Z2009-11-01T06:08:46Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/ad3304ca-8f2f-4013-885d-8b3d3267fe52http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/ad3304ca-8f2f-4013-885d-8b3d3267fe52Peter Kavelaarshttp://social.technet.microsoft.com/Profile/en-US/?user=Peter%20KavelaarsClient does not report Windows updates statusI have a couple of servers, they do not report their software updates list to the SCCM Site. It looks like a WMI problem, because when installing the SCCM client, I get a number of WMI warnings in the Event Viewer, see below:<br/><br/>Event ID: 63<br/><br/><span style="font-size:xx-small"> <p>A provider, SMSDiskInstProvider, has been registered in the WMI namespace, root\cimv2\sms, to use the LocalSystem account. This account is privileged and the provider may cause a security violation if it does not correctly impersonate user requests.</p> </span>Event ID: 5603<br/><br/><span style="font-size:xx-small"> <p>A provider, BcdProv, has been registered in the WMI namespace, root\wmi, but did not specify the HostingModel property. This provider will be run using the LocalSystem account. This account is privileged and the provider may cause a security violation if it does not correctly impersonate user requests. Ensure that provider has been reviewed for security behavior and update the HostingModel property of the provider registration to an account with the least privileges possible for the required functionality.</p> </span>When I searching the SCCM client logs, I found the next messages:<br/><br/>Execmgr.log:<br/><br/>Software Distribution Site Settings for the client are missing from WMI.<br/><br/>InventoryAgent.log:<br/><br/>Collection: Class &quot;Win32_PatchState_Extended&quot; does not exist out.<br/><br/>I rebuild WMI but it did not help. Please help<br/><br/>Fri, 30 Oct 2009 14:15:12 Z2009-10-30T15:48:38Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/b0174a32-a953-4c80-a83e-3137c3b092a7http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/b0174a32-a953-4c80-a83e-3137c3b092a7al corsihttp://social.technet.microsoft.com/Profile/en-US/?user=al%20corsiIsolate the cause of dataldr error "attempt to update non-existent row. Invalid command: exec pWorkstationStatus_DATA"<p>ConfigMgr SP1 with R2... all XP SP2 and SP3 advanced clients. We're collecting a few custom classes, and while monitoring the dataldr.log we're regularly seeing &quot;rollbacks&quot; with the error &quot;attempt to update non-existent row&quot; so I'm interested in narrowing the cause for this error.<br/><br/>In that case a given delta gets rejected and moved to badmifs folder, we inspect the serial number (Last Report Version) and the Last Hardware Scan (date/time) in the badmif and compare to the client record that’s in the database. 90% of the time, the last report version (serial number) and the last hardware scan date/time of the badmif are in sequence and logically follows what’s in the database (in other words, it seems that no inventory was missed).</p> <p>The reason I ask is that *most* of the rejected delta MIFs have little more than Workstation_Status getting updated. The client is clearly in the database and an active client. Anyone have an idea on what’s causing the reject/rollback in this scenario? thank you, Al</p>Fri, 30 Oct 2009 15:18:25 Z2009-10-30T15:18:28Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/92a0bf19-42b7-496b-97a8-8e15adc1cccchttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/92a0bf19-42b7-496b-97a8-8e15adc1ccccScottY_Ehttp://social.technet.microsoft.com/Profile/en-US/?user=ScottY_ESCCM AD System Discovery and Delete Aged RecordsI am in the process of deploying our SCCM Clients out to our Servers and Workstations. I have chosen the AD system Discovery + Client Push method. I pointed the discovery at the OU's where our Workstations and Servers are, it created records in the SCCM Database, and the clients have started to deploy.<br/> As it is early days in our deployment, I have set the AD system discovery to run every three days to ensure that it detects all of our machines.<br/> <br/> I am now faced with a bit of a mess in my All Systems Collection. I have a whole bunch of duplicate Computer Names, some with the agent = Yes and some without. <br/> <br/> I had hoped that SCCM when running AD system discovery, would be able to match the computername and other attributes to the machines with agents already in the database, and be smart enough to not add these again to the database. This doesnt appear to be the case.<br/> <br/> I am trying to find a happy medium between the AD System Discovery, and running the 'Delete Aged Discovery Data' task. If I have my AD system discovery set to run every 7 days, what would you recommend to set the Delete Aged Discovery Data task to? I am worried that the task will remove alot of valid information from my database based on what Technet mentions in this link <a title="http://technet.microsoft.com/en-us/library/bb693856.aspx" href="http://technet.microsoft.com/en-us/library/bb693856.aspx" title="http://technet.microsoft.com/en-us/library/bb693856.aspx">http://technet.microsoft.com/en-us/library/bb693856.aspx</a> <br/> <br/> Anyone managed to find a happy medium?<br/> <br/> Thanks,<br/> <br/> - Scott.<br/>Tue, 20 Oct 2009 13:02:14 Z2009-10-29T22:33:43Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/97787fe4-35a5-4318-a016-ed532db1644ahttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/97787fe4-35a5-4318-a016-ed532db1644aPeter M. Smithhttp://social.technet.microsoft.com/Profile/en-US/?user=Peter%20M.%20SmithLooking to see if there is a way to pull a history of hardware plugged into a PC<p>To be specific I am not looking for the history of hardware inventories, I can pull those up in Resource Explorer for individual workstations. What I am looking for is to see if there is a way to pull a list of hardware that has been plugged into a PC, in this case USB drives.</p> <p>Thanks.</p>Wed, 21 Oct 2009 21:56:19 Z2009-10-29T10:39:56Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/d2bb5b1b-0f79-444a-9ac4-19d3c28789d3http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/d2bb5b1b-0f79-444a-9ac4-19d3c28789d3brothahttp://social.technet.microsoft.com/Profile/en-US/?user=brothaSMS_SOFTWARE_INVENTORY_PROCESSOR 3701<p align=left>experts, I need you to help me, I get the following error .... </p> <p align=left> </p> <p align=left><strong>SMS Software Inventory Processor failed to process software inventory file &quot;C:\Program Files\Microsoft Configuration Manager\inboxes\auth\sinv.box\ZTBT7G0B.SID,&quot; and has moved it to &quot;C:\Program Files\Microsoft Configuration Manager\inboxes\sinv.box\BADSinv\pf10s1qd.SID.&quot;</strong></p> <p align=left><strong>Possible cause: The file attempted to update inventory information in the SMS site database that does not already exist, or the file contains invalid syntax.<br>Solution: The client inventory needs to be resynchronized, which will be done automatically. Look for the subsequent message 3703, which indicates the resynchronization has begun.</strong></p> <p align=left><br>my English is not very good, hopefully I understand and can help me. </p> <p><br>thanks.</p>Thu, 06 Nov 2008 18:19:19 Z2009-10-28T06:16:42Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/f1c9564b-1c5d-40dc-9d37-6266a02b322chttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/f1c9564b-1c5d-40dc-9d37-6266a02b322cMeFromIThttp://social.technet.microsoft.com/Profile/en-US/?user=MeFromITClients Approved N/A<p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt">Hello All,<br/><br/>We have SCCM clients reporting Client: NO Approved: N/A and the site code is correct. The client property value is NULL. We've noticed that the property of machines with client value null….discovery data window has a grey background. Clients where the client property value is 0 have a white discovery data background.<br style=""><br style=""></span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt">Not sure if that matters. <br style=""><br style=""></span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt">Clients with N/A and client property value null can use remote tools just fine but are not updating their inventory data.<span style="">  </span>I’ve check the few entries on this issue listed on this forum but I am not having any luck. The machines I’ve check are aware of their MP and are registered. Any help will be greatly appreciated.</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt"> </span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt">Thanks</span></p> <p> </p>Mon, 19 Oct 2009 20:35:25 Z2009-10-26T15:40:11Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/37414cbf-dd94-4c31-8934-8c630fbb783dhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/37414cbf-dd94-4c31-8934-8c630fbb783dsveskehttp://social.technet.microsoft.com/Profile/en-US/?user=sveskeSoftware Metering - Custom Report<p>Hi<br/>I'm trying to add some extra infoemations to one of the standard Software Metering Reports.<br/><br/>declare @TimeKey int<br/>declare @days float</p> <p>set @TimeKey=100*@Year+@Month</p> <p>select @days=DATEDIFF(day,IntervalStart,DATEADD(month,1,IntervalStart))<br/>from v_SummarizationInterval where <a href="mailto:TimeKey=@TimeKey">TimeKey=@TimeKey</a></p> <p>if IsNull(@days,0) &gt; 0<br/>  select mu.FullName, <br/>       DATEADD(ss,@__timezoneoffset,MAX(mus.LastUsage)) as LastUsage,<br/>       SUM(UsageCount) + SUM(TSUsageCount) as C021,<br/>       ROUND((SUM(UsageCount) + SUM(TSUsageCount))/@days,2) as C022,<br/>       ROUND(SUM(UsageTime)/60.0,2) as C023,<br/>       ROUND(SUM(UsageTime)/60.0/(SUM(UsageCount) + SUM(TSUsageCount)),2) as C024,<br/>       ROUND(SUM(UsageTime)/60.0/@days,2) as C025<br/>  from v_MeteredUser mu<br/>  join v_MonthlyUsageSummary mus on mu.MeteredUserID=mus.MeteredUserID<br/>  join v_MeteredFiles mf on mus.FileID=mf.MeteredFileID<br/>  where mf.ProductName = @RuleName<br/>  and mus.TimeKey = @TimeKey<br/>  group by mu.FullName<br/>  having SUM(UsageCount) + SUM(TSUsageCount) &gt; 0<br/>  order by  mu.FullName</p> <p><br/>I'm trying to customize the report so it will also show:<br/><br/><strong>NetBios Name<br/>Filename and Fileversion of the metered software<br/>Inventoried file &quot;%.xsd&quot; on the machines</strong><br/><br/><br/>Explanation: The metered software is a softphone that provides telephony functionality and the filename *.xsd is actually the phonenumber on the client.<br/><br/><br/>Normally, when I make custom reports, I &quot;import&quot; a standard report into SQL and then make the adjustments in there.<br/>But I'm not able to &quot;import&quot; those &quot;Software Metering&quot; reports without getting some error messages.<br/><br/>I've tried to make the adjustments manually without any luck, just a lot of errors. And I'm not an SQL-expert.... ;-)<br/><br/><br/>Best regards <br/><br/> </p>Wed, 21 Oct 2009 12:52:03 Z2009-10-27T06:28:17Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/588417bb-487f-4518-acc8-3e06a855fb35http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/588417bb-487f-4518-acc8-3e06a855fb35Latshttp://social.technet.microsoft.com/Profile/en-US/?user=LatsVirtual Hosts - Hyper V & Virtual Server with version numbersI have a query which works for listing all the Virtual Server hosts along with domain, OS and version number - see below.<br/><span style="font-size:x-small">My question is how to I include Hyper-V servers as there is nothing in the Add/Remove programs for Hyper-V?</span><br/><br/><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>Select</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small"> sys.Netbios_Name0</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">,</span></span><span style="font-size:x-small"> sys.User_Domain0</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">,</span></span><span style="font-size:x-small"> <font size=2> <p>sys.Operating_System_Name_and0</p> </font></span></p> <p><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">,</span></span><span style="font-size:x-small"> <font size=2> <p>arp</p> </font></span></p> <p><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">.</span></span><span style="font-size:x-small">DisplayName0</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">,</span></span><span style="font-size:x-small"> arp</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">.</span></span><span style="font-size:x-small">Version0 </span></p> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>FROM</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small"> v_R_System sys</span></p> <span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080"><font size=2 color="#808080"><font size=2 color="#808080"> <p>JOIN</p> </font></font></span><font size=2 color="#808080"> <p> </p> </font></span> <p><span style="font-size:x-small"> v_Add_Remove_Programs arp </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">ON</span></span><span style="font-size:x-small"> sys.ResourceID </span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">=</span></span><span style="font-size:x-small"> arp</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">.</span></span><span style="font-size:x-small">ResourceID </span></p> <span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080"><font size=2 color="#808080"><font size=2 color="#808080"> <p>JOIN</p> </font></font></span><font size=2 color="#808080"> <p> </p> </font></span> <p><span style="font-size:x-small"> v_FullCollectionMembership fcm </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">on</span></span><span style="font-size:x-small"> sys.ResourceID</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">=</span></span><span style="font-size:x-small">fcm</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">.</span></span><span style="font-size:x-small">ResourceID</span></p> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>WHERE</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small"> DisplayName0 </span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">like</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">'Microsoft Virtual Server 2005 R2%'</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">and</span></span><span style="font-size:x-small"> fcm</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">.</span></span><span style="font-size:x-small">CollectionID</span><span style="font-size:x-small;color:#808080"><span style="font-size:x-small;color:#808080">=</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">'SMS000DS'</span></span></p> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>ORDER</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">BY</span></span><span style="font-size:x-small"> sys.Netbios_Name0<br/><br/></span></p>Thu, 22 Oct 2009 11:55:38 Z2009-10-22T14:04:13Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/6f3a9cc4-77be-4795-bc61-ecaea47e53a9http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/6f3a9cc4-77be-4795-bc61-ecaea47e53a9Gerry Wonghttp://social.technet.microsoft.com/Profile/en-US/?user=Gerry%20WongWhat drive letters will be scanned during software inventory check<p align=left>Hi,</p> <p align=left> </p> <p align=left>In additional to local Harddisk drive, will Floppy disk drive, CD/DVD drive, USB removable Hard drive and Network drive be scanned too?</p> <p align=left> </p> <p align=left> </p>Fri, 26 Sep 2008 06:52:02 Z2009-10-21T21:47:42Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/d6657ebe-1b61-4619-9730-fb72494ade58http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/d6657ebe-1b61-4619-9730-fb72494ade58Kaspars_http://social.technet.microsoft.com/Profile/en-US/?user=Kaspars_Query all Core 2 due computersHi<br/><br/>Is there any whay how to get query with all core 2 due processors? All modifications in one query. I need it for software distribution to install programm on all C2D machines.Tue, 20 Oct 2009 13:35:21 Z2009-10-21T05:08:18Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/9f5b43fa-ab57-4440-a320-d0bb8f159b8ahttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/9f5b43fa-ab57-4440-a320-d0bb8f159b8asveskehttp://social.technet.microsoft.com/Profile/en-US/?user=sveskeCustom Report to show Boundary DescriptionHi<br/><br/>I have made the following report which shows &quot;Netbios Names&quot; and &quot;user names&quot; in a specific AD-site (Boundary). <br/>But is it possible to also show the &quot;Despription&quot; of the Boundaries (the decription filled in when I create a new Boundary), f.ex. &quot;Building 0&quot; or &quot;Country&quot;.<br/><br/>SELECT     TOP (100) PERCENT sys.Netbios_Name0 AS [Netbios Name], sys.User_Name0 AS [User Name], sys.AD_Site_Name0 AS [AD Site], <br/>                      dbo.v_GS_OPERATING_SYSTEM.Caption0 AS [Operating System], dbo.v_GS_OPERATING_SYSTEM.LastBootUpTime0, <br/>                      sys.Resource_Domain_OR_Workgr0 AS Domain<br/>FROM         dbo.v_R_System AS sys INNER JOIN<br/>                      dbo.v_AgentDiscoveries AS agent ON sys.ResourceID = agent.ResourceId INNER JOIN<br/>                      dbo.v_GS_OPERATING_SYSTEM ON sys.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID<br/>WHERE     (sys.AD_Site_Name0 = @adsite)<br/>GROUP BY sys.Netbios_Name0, sys.Resource_Domain_OR_Workgr0, sys.AD_Site_Name0, sys.User_Name0, dbo.v_GS_OPERATING_SYSTEM.Caption0, <br/>                      dbo.v_GS_OPERATING_SYSTEM.LastBootUpTime0<br/>ORDER BY [Netbios Name]<br/><br/><br/><br/>I found a table in the Database called &quot;Boundary&quot; but could'nt get it to work, when I try to implement in the report above.<br/><br/>Regards<br/><br/>I <br/>Mon, 19 Oct 2009 10:46:32 Z2009-10-20T08:42:41Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/b667c2b2-dd7a-44a4-86df-bee5b077372chttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/b667c2b2-dd7a-44a4-86df-bee5b077372cKaspars_http://social.technet.microsoft.com/Profile/en-US/?user=Kaspars_Help with ReportHi<br/><br/>Can you help with Report. It conts MP3 files and i need to add to this report &quot;v_GS_OPERATING_SYSTEM.Description0&quot;<br/><br/>select Sys.Name0, Sys.User_Name0, <br/>Count(SF.FileName) as FileCount, <br/>Sum(SF.FileSize/1024/1024) as 'Wasted Megs'<br/>from v_R_System Sys INNER JOIN v_GS_SoftwareFile SF on <br/>Sys.ResourceID = SF.ResourceID <br/>where SF.FileName like '%'+'.MP3' and SF.FileSize/1024/1024 &gt; 0<br/>Group by Sys.Name0, Sys.User_Name0<br/>having Count(SF.FileName) &gt; 50 order by Sys.Name0 Desc<br/><br/>but be siply adding it I got error &quot;<span style="font-size:xx-small"> <p>Msg 8120, Level 16, State 1, Line 1</p> <p>Column 'v_GS_OPERATING_SYSTEM.Description0' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.&quot;</p> </span>Mon, 19 Oct 2009 06:01:17 Z2009-10-23T15:32:38Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/34356634-b6eb-47b1-9424-19ee301d6c38http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/34356634-b6eb-47b1-9424-19ee301d6c38densei27http://social.technet.microsoft.com/Profile/en-US/?user=densei27Create Custom-built ReportDear All<br/><br/>     Our Customer want to create baseline report for inventory their hardware, they want to when they run report like they want to know now in their office how manay client that have CPU lower 2.0 GHz , RAM lower 1 GB , HDD size lower 30 GHZ, but there want to resoult is on same one report <br/><br/>   please tell me how to create and what is SQL sommand that I will put on it Mon, 19 Oct 2009 07:16:38 Z2009-10-19T13:32:42Zhttp://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/d3729e7f-3bcf-4dd5-a63e-5cc53e3e8b77http://social.technet.microsoft.com/Forums/en-US/configmgrinventory/thread/d3729e7f-3bcf-4dd5-a63e-5cc53e3e8b77dakoronihttp://social.technet.microsoft.com/Profile/en-US/?user=dakoroniSCCM 2007 - Asset intelligence -> Custom reports (SW inventory) including product build / installation date<p class="MsoNormal"><strong><span style="color: #1f497d;" lang="EN-US">Hello forum members,</span> </strong></p> <p class="MsoNormal"><span style="color: #1f497d;" lang="EN-US">If I am correct, SCCM 2007 has the Asset intelligence feature in order to produce SW inventory report. &nbsp;Actually, I have seen that specific inventory classes should be enabled for such kind of reports. </span></p> <p class="MsoNormal"><span style="color: #1f497d;" lang="EN-US">For instance, looking into reporting class descriptions listed for the software inventory- as posted at <a href="http://technet.microsoft.com/en-us/library/cc161933.aspx">http://technet.microsoft.com/en-us/library/cc161933.aspx</a> - although categorized &amp; uncategorized installed (MS) software inventory could be reported, I was&rsquo;t able to figure out how custom reports for product build, installation date, etc., could be generated. </span></p> <p class="MsoNormal"><span style="color: #1f497d;" lang="EN-US">Also, I was wondering,&nbsp; whether these custom reports could be applied on non-MS products, as well.. &nbsp;</span></p> <p class="MsoNormal"><span style="color: #1f497d;" lang="EN-US">Is&nbsp;</span> <span lang="EN-US"> this something could be achieved via Custom Labels in Asset Intelligence, with which we can add our own information to the data that will be automatically be collected..? </span></p> <p class="MsoNormal"><span lang="EN-US">If this is the case, any further reference or guidance, will be much appreciated.</span></p> <p class="MsoNormal"><span lang="EN-US">&nbsp;</span></p> <p class="MsoNormal"><span lang="EN-US">Thanks &nbsp;in advance,</span></p> <p class="MsoNormal"><span lang="EN-US">Greetings, Nick.</span></p>Mon, 12 Oct 2009 11:11:56 Z2009-10-19T06:27:21Z