<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Bill McConnell's System Center Bytes</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/bill_mcconnells_system_center_bytes/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/bill_mcconnells_system_center_bytes/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:22:47 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Configmgr Site code - Automatic Discovery Fails</title>
      <link>https://docs.microsoft.com/archive/blogs/bill_mcconnells_system_center_bytes/configmgr-site-code-automatic-discovery-fails</link>
      <pubDate>Fri, 28 Aug 2015 08:36:39 GMT</pubDate>
      <dc:creator><![CDATA[Bill McConnell]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/bill_mcconnells_system_center_bytes/2011/05/31/configmgr-site-code-automatic-discovery-fails/</guid>
      <description><![CDATA[I recently moved&nbsp;some of my&nbsp;Configmgr&nbsp; Clients to a new domain. After moving the...]]></description>
      <content:encoded><![CDATA[<p>I recently moved&nbsp;some of my&nbsp;Configmgr&nbsp; Clients to a new domain. After moving the clients to this new domain. I noticed that a large number of my Configmgr clients were failing to report into my Primary Configmgr site.</p>
<p>As part of the troubleshooting this, I went to&nbsp;Control Panel,&nbsp;then accessed the &nbsp;Configuration Manager application. In my case I have 32 bit OS and 64 bit OS Clients.</p>
<p>This is the settings from a 64 bit client.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/89/13/3225.Client1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-13/3225.Client1.jpg"><img width="1088" height="453" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/89/13/3225.Client1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-13/3225.Client1.jpg" border="0" /></a></p>
<p>&nbsp;&nbsp;</p>
<p>Here is what the error looks like in the control panel</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/89/13/0310.Client2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-13/0310.Client2.jpg"><img width="1075" height="389" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/89/13/0310.Client2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-13/0310.Client2.jpg" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;I next opened the locationsservices.log to see what is causing the failure.</p>
<p>&nbsp;Here is what is in the log</p>
<p>#################locationservices.log#############################################################################################</p>
<p>&nbsp;LSGetAssignedSiteFromDirectories: Found Assigned Site Code &lt;BAM&gt; by Group Policy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>LSVerifySiteVersion : Verifying Site Version for &lt;BAM&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>LSGetSiteVersionFromAD : Failed to retrieve version for the site &#39;BAM&#39; (0x80004005)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>Attempting to retrieve SLPs from AD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>Retrieved SLPs from AD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>Raising event:</p>
<p>&nbsp;</p>
<p>instance of CCM_CcmHttp_Status</p>
<p>{</p>
<p>DateTime = &quot;20110531155534.536000+000&quot;;</p>
<p>HostName = &quot;CONFIGUSA1&quot;;</p>
<p>HRESULT = &quot;0x00000000&quot;;</p>
<p>ProcessID = 5472;</p>
<p>StatusCode = 0;</p>
<p>ThreadID = 8132;</p>
<p>};</p>
<p>LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>LSGetSiteVersionFromSLP : No site version&nbsp; returned from SLP for site &lt;BAM&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>LSVerifySiteVersion: Failed to get Site Version from AD and SLP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>Won&#39;t send a client assignment fallback status point message because the last assignment error matches this one.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 11:55:34 AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8132 (0x1FC4)</p>
<p>&nbsp;#################locationservices.log################################################################################################################</p>
<p>&nbsp;So It looks like I am I have gotten a assignment site code of BAM from Group policy.&nbsp;&nbsp; My current side code should be TOP.</p>
<p>&nbsp;</p>
<p>This info was used in the domain my clients moved from.</p>
<p>&nbsp;<strong>How to Assign Configuration Manager Clients to a Site</strong></p>
<p>&nbsp;Pasted from &lt;<a href="https://technet.microsoft.com/en-us/library/bb680370.aspx"><span style="color:#0000ff;">https://technet.microsoft.com/en-us/library/bb680370.aspx</span></a>&gt;</p>
<p>What the above info does not include is where it sets the info in the registry.&nbsp; That&#39;s what I need to remove to get a correct site code assignment for TOP.</p>
<p>Here is the location of that info in the registry on a 64 bit Client.&nbsp; I need to remove the GPRequestedSiteAssigmentCode entry.&nbsp; Notice that the registry location is HKLM\Software\Wow6432Node\Microsoft\Sms\Mobile Client.</p>
<p>Note: On a 32 bit Client it would be HKLM\Software\Microsoft\Sms\Mobile Client.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/89/13/6403.Client3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-13/6403.Client3.jpg"><img width="1356" height="402" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/89/13/6403.Client3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-89-13/6403.Client3.jpg" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;After removing the GPRequestedSiteAssigmentCode entry.&nbsp; I can now successfully retrieve the correct site code.</p>
<p>&nbsp;Here is what my locationservices.log looks like now.</p>
<p>#################locationservices.log#############################################################################################</p>
<p>&nbsp;Current AD site of machine is Default-First-Site-Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:23 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>LSGetAssignedSiteFromAD : Trying to Assign to the Site &lt;TOP&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:23 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>LSVerifySiteVersion : Verifying Site Version for &lt;TOP&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:23 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>LSGetSiteVersionFromAD : Successfully retrieved version &#39;4.00.6487.0000&#39; for site &#39;TOP&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:23 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>LSVerifySiteVersion : Verified Client Version &#39;4.00.6487.2000&#39; is not greater than Site Version &#39;4.00.6487.0000&#39;. Client can be assigned to site &lt;TOP&gt;.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:23 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>Site and assignment sitecode match. Verifying site version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:26 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>LSVerifySiteVersion : Verifying Site Version for &lt;TOP&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:26 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>LSGetSiteVersionFromAD : Successfully retrieved version &#39;4.00.6487.0000&#39; for site &#39;TOP&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:26 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>LSVerifySiteVersion : Verified Client Version &#39;4.00.6487.2000&#39; is not greater than Site Version &#39;4.00.6487.0000&#39;. Client can be assigned to site &lt;TOP&gt;.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LocationServices&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5/31/2011 12:15:26 PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8184 (0x1FF8)</p>
<p>&nbsp;#################locationservices.log#############################################################################################</p>
<p><span style="font-family:Calibri;font-size:small;">&nbsp;</span><span style="font-family:Calibri;font-size:small;">More info here on this</span></p>
<p><span style="font-family:Calibri;font-size:small;"><a href="/b/configmgr/archive/2008/06/09/details-for-obtaining-100-configmgr-client-installation-reach.aspx">https://blogs.technet.com/b/configmgr/archive/2008/06/09/details-for-obtaining-100-configmgr-client-installation-reach.aspx</a></span></p>
<p><span style="font-family:Calibri;font-size:small;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:small;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:small;"><strong>&nbsp;Posts in this blog are provided &quot;AS IS&quot; with no warranties, and confers no rights. Use of included script samples are subject to the terms specified in the Terms of Use.</strong></span></p>]]></content:encoded>
    </item>
    <item>
      <title>ConfigMgr Collection Queries</title>
      <link>https://docs.microsoft.com/archive/blogs/bill_mcconnells_system_center_bytes/configmgr-collection-queries</link>
      <pubDate>Tue, 25 Aug 2015 09:15:00 GMT</pubDate>
      <dc:creator><![CDATA[Bill McConnell]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/bill_mcconnells_system_center_bytes/2015/08/25/configmgr-collection-queries/</guid>
      <description><![CDATA[Primary Configmgr Server  (Using Installed Software)

select SMS_R_System.ResourceId,...]]></description>
      <content:encoded><![CDATA[Primary Configmgr Server  (Using Installed Software)

select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from  SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ProductName = "System Center Configuration Manager Primary Site Setup"

&nbsp;

Secondary ConfigMgr Servers  (Using Installed Software)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ProductName = "System Center Configuration Manager Secondary Site Setup"

&nbsp;

ConfigMgr Pull Distribution Points

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from sms_r_system where ResourceNames in ( select Name from SMS_DistributionPointInfo where isPullDP = 1)

&nbsp;

&nbsp;

ConfigMgr All Distribution Points

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemRoles = "SMS Distribution Point"

&nbsp;

&nbsp;

ConfigMgr All Management Points

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemRoles = "SMS Management Point"

&nbsp;

2012 Opsmgr Servers (Using  executable )

&nbsp;

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_INSTALLED_EXECUTABLE on SMS_G_System_INSTALLED_EXECUTABLE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_EXECUTABLE.ExecutableName like "Microsoft.Mom.Sdk.ServiceHost.exe"

&nbsp;

2012 Opsmgr Servers  (Using Installed Software)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ProductName = "System Center Operations Manager 2012 Server"

&nbsp;

Hyperv Servers

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SERVER_FEATURE on SMS_G_System_SERVER_FEATURE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Server" and SMS_G_System_SERVER_FEATURE.Name = "Hyper-V"

All Windows 2012 R2 Datacenter

&nbsp;

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion like "Microsoft Windows NT Advanced Server 6.3"

&nbsp;

All Windows 7 Computers  X64

&nbsp;

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 6.1" and SMS_G_System_SYSTEM.SystemType = "X64-based PC"

&nbsp;

All Windows 8 Computers  X64

&nbsp;

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 6.3" and SMS_G_System_SYSTEM.SystemType = "X64-based PC"

&nbsp;

Windows 10 Computers

All Windows 10

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion like "Microsoft Windows NT Workstation 10.0"

All Windows 10 Computers LTSB

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_G_System_SYSTEM.SystemType = "X64-based PC" and SMS_R_System.Build = "10.0.10240" and SMS_R_System.OSBranch = "2"

All Windows 10 Build 1511

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_G_System_SYSTEM.SystemType = "X64-based PC" and SMS_G_System_OPERATING_SYSTEM.BuildNumber = "10586" and SMS_R_System.OSBranch = "0"

All Windows 10 Computers Build 1507

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_G_System_SYSTEM.SystemType = "X64-based PC" and SMS_R_System.Build = "10.0.10240" and SMS_R_System.OSBranch != "2"

&nbsp;

All Windows 10 Computers  X64

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 10.0" and SMS_G_System_SYSTEM.SystemType = "X64-based PC"

&nbsp;

All Windows 2008 R2 Servers

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion like "Microsoft Windows NT Advanced Server 6.1"

&nbsp;

Server with IE 11 (Software Inventory)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where (SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FilePath like "%prog%internet%" and SMS_G_System_SoftwareFile.FileVersion like "11.%") and SMS_G_System_SYSTEM.SystemRole = "Server"

&nbsp;

Workstation with IE 11  (Software Inventory)

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where (SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FilePath like "%prog%internet%" and SMS_G_System_SoftwareFile.FileVersion like "11.%") and SMS_G_System_SYSTEM.SystemRole = "Workstation"

&nbsp;

Client Installed but Not Approved

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ResourceId in (select ResourceID from SMS_FullCollectionMembership where IsApproved = 0 or IsApproved IS NULL) and SMS_R_System.ResourceId in (select SMS_R_SYSTEM.ResourceID from SMS_R_System Where SMS_R_System.Client = 1)

&nbsp;

Duplicate GUID

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ResourceId in (select SMS_R_System.ResourceId from  SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where (SMS_R_System.Name != SMS_G_System_SYSTEM.Name and SMS_G_System_SYSTEM.Name is not null )) and SMS_R_System.ResourceId in (select SMS_R_SYSTEM.ResourceID from SMS_R_System inner join SMS_G_System_CH_ClientSummary on SMS_G_System_CH_ClientSummary.ResourceId = SMS_R_System.ResourceId where SMS_G_System_CH_ClientSummary.ClientActiveStatus = 1)]]></content:encoded>
    </item>
  </channel>
</rss>