That's because there is not SQL Server view called "SMS_R_System." That's the name of a WMI class.
The equivalent of the "SMS_R_System" WMI class in SQL Server is the SQL Server view called "v_R_System." Cheers, Trevor Sullivan From: [email protected] [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Friday, September 13, 2013 12:31 PM To: [email protected] Subject: RE: [mssms] Need query help for TPM chip If I run it as a report, I get this: An error occurred when the report was run. The details are as follows: Invalid object name 'SMS_R_System'. Error Number: -2147217865 Source: Microsoft OLE DB Provider for SQL Server Native Error: 208 If I run the query in SQL MGMT Studio, I get this: Msg 208, Level 16, State 1, Line 1 Invalid object name 'SMS_R_System'. From: [email protected] <mailto:[email protected]> [mailto:[email protected]] On Behalf Of Trevor Sullivan Sent: Friday, September 13, 2013 10:27 AM To: [email protected] <mailto:[email protected]> Subject: RE: [mssms] Need query help for TPM chip Ok, what error are you getting? Cheers, Trevor Sullivan From: [email protected] <mailto:[email protected]> [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Friday, September 13, 2013 11:30 AM To: [email protected] <mailto:[email protected]> Subject: [mssms] Need query help for TPM chip I enabled the TPM section in SMS_DEF.MOF, now I'd like to run a query showing which machines either have the chip or don't. This query I found online is supposed to show systems that don't have it, but I get an error when I run it. Help! select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SY STEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM .Client from SMS_R_System inner join SMS_G_System_TPM on SMS_G_System_TPM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_TPM.SpecVersion = "Not Supported" Best Regards, Mike Murray Desktop Management Coordinator - IT Support Services California State University, Chico 530.898.4357 <mailto:[email protected]> [email protected]

