Hi,
First of all I want to thank anyweb for his guides, without it I never got SCCM up and running.
Everything is working fine exept the the fact I want to create a device collection with all servers and workstation running System Center 2012 Endpoint protection.
I got the query that is showing under this line. After creating a device collection with this query it is showing only the servers and not the workstations.
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_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Name not in (select distinct SMS_G_System_COMPUTER_SYSTEM.Name from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "System Center 2012 Endpoint Protection") and SMS_R_System.Client = 1
If I remove NOT in this line SMS_G_System_COMPUTER_SYSTEM.Name not in (select distinct SMS_G_System_COMPUTER_SYSTEM.Name from SMS_R_System inner join it is showing all the workstations but not the servers.
The environment is running windows server 2008 r2 on the server and Windows 7thin pc on the workstations.
Can you guys help me to make this query working for Windows Server 2008 R2 and Windows 7 THin pc?