Query for collection is not function on SCCM 2012 R2

Hi,
I have a System Center 2012 R2 Config Manager as single management point. The SCCM is already have Endpoint Protection Point role installed. Then I need to create a new collection that contain all SCEP clients, to as deployment target of a rule and policy.
I've try to create a query-based collection, with the following query language :
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 2012 Endpoint Protection"
But after the collection is created, none of the emerging client that have SCEP installed.
Earlier I have apply this query on the SCCM 2012 SP1 environtment, and it is work. But now I have migrate to the SCCM 2012 R2, and this query is seems not function on R2 version. 
Is there difference query language between SCCM 2012 SP1 and R2?
Thanks.
Regards, Bar Waelah

Hi,
I saw System Center 2012 Endpoint Protection is under Installed Applications (64) node when I open Resource Explorer on a computer that installed System Center 2012 Endpoint Protection.
So I edited your query, then these computers appeared on the collection.
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_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceID
= SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName like "System Center 2012 Endpoint Protection"
Best Regards,
Joyce Li
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Query for collection "Quick Fix Engineering"

    Hi!
    I try to create query for collection,to find all workstation with install specific KB, from "Quick Fix Engineering".
    Added by this sample:
    http://myitforum.com/myitforumwp/2011/10/04/non-security-hotfix-detection-for-windows-7-2008/
    Maybe you can help? Can not find an example :(
    cenubit

    That's made a lot simpler in ConfigMgr 2012, as it can now simply be selected as an extra class in the
    Hardware Inventory of your client settings.
    Simply go in to your client settings, go to Hardware Inventory
    and click Set Classes. Here you can select the Quick Fix Engineering class to be part of your inventory.
    After an inventory you will be able to create your collection. Do keep in mind that this will also capture a lot of information that you will probably never use.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Pagefile exclusion for VHDs is not functional System Center DPM 2012 R2

    The Release Notes for Data Protection Manager in System Center 2012 R2 state that:
    Pagefile exclusion for VHDs is not functional
    Description: Pagefile exclusion for virtual hard disk files (VHDs) is not functional.
    Workaround: None.
    I feel silly asking this in the forums, but my mind just can't wrap around the fact that this feature (that was just recently added in DPM 2012 SP1) is broken in the new release of 2012 R2.  Does anyone with actual knowledge of the product have any
    additional info on this issue?  Do we need to wait for a service pack to fix it or are there possibly ANY workarounds or situations where it might be used?
    TIA

    Hi,
    This is a documentation error and will get it addressed.  DPM 2012 R2 RTM does still support page file VHD exclusion same as DPM 2012 SP1.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • How to prompt for OU during OSD Task with SCCM 2012 R2?

    How to prompt for OU during OSD Task with SCCM 2012 R2?

    Hi,
    Here is an example on how to do it using a Variable prompt in Configuration Manager, It works the same way in SCCM 2007,
    http://www.the-d-spot.org/wordpress/2013/04/01/dynamically-join-computer-to-ad-ou-during-osd-with-sccm/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • What client settings for BIOS or MEBx do I need preconfigure for Out Of Band Management in SCCM 2012?

    Hi,
    On the Client:
    What BIOS or MEBx setting do I need preconfigure for Out Of Band Management in SCCM 2012?  
    Or can I remotly configure BIOS or MEBx settings from SCCM 2012 or Intel SCS?
    /SaiTech

    Thanks,
    Now I see, with Intel SCS add-on for SCCM 2012 it will be the most simple solution. Even better than to have Intel scs standalone, that was an complex setup on dhcp and so on...
    Just one thing more, When you configure AD for AMT you have to set a OU. but if you have computers in two ou, I cant see how I can configure that?
    /SaiTech

  • Windows 8.1 laptop computer not showing in SCCM 2012 devices collection

    Hi,
    I am trying to do a POC on license management from  SCCM 2012. I have configures a SCCM 2012 server and intune subscription also. I have Android, iOS and desktop apps uploaded (.msi). when I enrolled android and ios devices its shows up in SCCM,
    devices collection but do not show in Intune.
    my company portal is nicely coming up on android and iOS tabs. on the other hand company portal showing only Web apps, on a win8.1/7 laptop.
    When I tried to enroll 2 windows 8.1/ 7 laptop (intel x86), they donot show up in SCCM. clients of intune manually installed, endpoint protection of SCCM installed also on both boxes.
    I tried updating membership in SCCM for both know and unknown type, many time and also triggered Deployment of some desktop app, to the win 8.1 laptops. the desktops are showing in Intune All devices -> all computers nicely. But
    not in SCCM2012.
    what did I missed, I tried to add all the logical roles. below is some details what shows up in Intune:
    indranil

    If you installed the Intune agents on the Win 8.1 and Win 7 systems, then they will never show up in ConfigMgr.
    There are basically two parts of Intune -- a Mobile Device Management piece and a Windows management piece. The Intune connector in ConfigMgr takes over the MDM piece and nothing more. When ConfigMgr takes over this MDM piece, as Torsten said, all MDM devices
    enrolled show up in ConfigMgr and not Intune because that's now controlled by ConfigMgr. The Windows management piece remains unchanged and separate though and so those systems will be directly managed by Intune only or ConfigMgr only.
    So you have three options there:
    - Install the ConfigMgr agent and managed using COnfigMgr
    - Install the Intune agent and manage using Intune
    - Enroll the systems using OMA-DM which manages them as if they were devices. This means so you don't get SCEP or Windows Updates or most of the other ConfigMgr functionality. This is only valid for Win 8.1 though.
    Jason | http://blog.configmgrftw.com

  • Create POWL query for specific user (not self)

    Hello All,
    was wondering if anyone had an idea on how to create a POWL query for a specific user. Even the low level method in class CL_POWL_QUERY_ACCESSOR seem to assume that you either are creating an administrator query for any/everyone or just for yourself.
    One option is to create multiple queries (for each selection criteria that I want) and assign these directly to user (rather than the role) in the config - but that's config that I'd need to transport up - for what is essentially user level personalisation.
    My strong favourite at the moment is to throw a breakpoint in CL_POWL_QUERY_ACCESSOR and manually change the user name as I save new queries in directly in production - but that's not exactly the cleanest solution.
    Surely someone has had a need to actually create queries for users, not just delete them as per program POWL_D01?
    Many thanks for any hints and tips
    Cheers,
    Chris

    Well - I should point out that you don't have to transport those user assignment of queries - tables are production maintainable. However, you do have to transport up the query itself - so not ideal.
    Oh well - don't think this one has an answer => closing it to open another question.
    Cheers,
    Chris

  • Not able to push batch script for installing IIS all features using SCCM 2012 task sequence

    Hey Guys, I am working for this from a long time but not able to make it work, I am using following batch script for installing IIS  using SCCM 2012 task sequence:
    Dism.exe /online /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-Security /FeatureName:IIS RequestFiltering /FeatureName:IIS-NetFxExtensibility
    /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-ProcessModel /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ConfigurationAPI /FeatureName:NetFx3 /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:IIS-WebServerManagementTools
    /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools  /FeatureName:IISIIS6ManagementCompatibility /FeatureName:IIS-ManagementService /FeatureName:IIS-Metabase /FeatureName:IIS-WMICompatibility
    When I run this script as admin by right click on it and select "run as a administrator" the script works fine but when I pushed the script as a software package or a step in OSD task sequence, nothing happens. I also tried
    run command line option but no luck. Please help me with this.
    Thanks,
    VST

    1. When I used "run command line" option I found following errors in smsts.log:
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Failed to run the action: Run Command Line.
    Unknown error (Error: 800F080C; Source: Unknown) TSManager 1/2/2014 2:34:32 PM 2092 (0x082C)
    Failed to delete directory 'C:\_SMSTaskSequence' TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetNamedSecurityInfo() failed. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetObjectOwner() failed. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002 TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    GetTsRegValue() failed. 0x80070002. TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    ReleaseRequest failed with error code 0x80004005 TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    GetTsRegValue() failed. 0x80070002. OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    2. We are not using MDT in our environment so I ant use add features and roles option.
    3. The script is running fine when we run it manually.

  • Why is it that image grayscaler code for website is not functioning with Mozilla Firefox, yet it does to other browser?

    I just noticed that my code(in my blog site), which is a ordinary code that allows image to turn into its grayscale form and hover its original color, is not functioning with Mozilla Firefox browser. But with other browsers, it's working. I hope you can help me with this little issue. Thank you!

    Does it use a CSS rule similar to:
    filter: grayscale(100%)
    This property is not yet implemented in Firefox. It is scheduled to be implemented in Firefox 34, according to https://developer.mozilla.org/en-US/docs/Web/CSS/filter

  • New SCCM 2012 client machines still getting SCCM 2012 SP1 client not the new SCCM 2012 SP1 CU3 client

    Hi,
    I've successfully (as far as I can tell) deployed SCCM 2012 SP1 CU3 and all my existing clients are showing a client version of 5.00.7804.1400.  But when I setup a new client system recently I noticed that the client version was showing 5.00.7804.1000,
    and not 5.00.7804.1400. 
    For new client systems, do I need to redeploy the packages that were created for SCCM 2012 SP1 CU3 so that the new systems get the new SCCM 2012 SP1 CU3 client? 
    Thanks,
    Nick

    Hi,
    Here's some good information to look over:
    http://sccmfaq.wordpress.com/2013/09/24/sccm-2012-include-cu-in-osd/
    I haven't followed these instructions myself, since I haven't really had any good reason to include CUs during the initial installation process. I use this method instead and I've never run into any problems:
    http://www.ronnipedersen.com/2013/06/installing-sccm-2012-sp1-cu2-quick-start-guide/
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • Reports are not opening after SCCM 2012 R2 Upgrade

    Hi,
    I have upgraded my SCCM 2012 SP1 to R2, After that I am unable to run a report and getting below error
    System.Web.Services.Protocols.SoapException: The DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an error: Logon failure: unknown user name or bad password.
    Seems it is a known issue after R2 upgrade,To resolve this issue we need to change the registry value for "EnableRbacReporting" to "0" under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SRSRP.
    It was fine for some time,Later its value reverted back to "1" on its own and again reports stopped working.
    Is there any other way to resolve this issue in order to make sure my reports are always available
    Please help me.Thanks
    srkr

    Hi Paul,
    We recently upgraded our SCCM 2012 R2 servers to OS 2012 R2, Now i could not able to see the path you mention in your blog.
    mofcomp.exe “C:\Program
    Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof”
    Bear in mind that the above command is for SQL Server 2008 and it assumes that SQL is installed in its default location.
    The command for SQL Server 2012 is:
    mofcomp.exe “C:\Program
    Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof”
    I can only see D:\Program Files (x86)\Microsoft SQL Server\100\<Below
    folders>
    DTS
    SDK
    Tools
    srkr

  • GDI Error - Charts not visible in sccm 2012 reports

    I'm trying to run some default out of box reports for my sccm 2012 environment and finding that the raw data in table format is being provided but if there's any charts that should be included in the report they're not showing up. In the SSRS logs I see
    the error below:
    reportrendering!ReportServer_0-245!7e88!04/30/2015-11:09:07:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred
    in GDI+. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
    In researching this I found similar issues out there where Hotfix-KB2823372 resolved the issue but this now looks to only be available for Windows8 as I tried to download the Hotfix and run on my server to only receive a message advising it's not applicable.
    Please advise if you've seen this error before and what you've done to resolve it.
    Jason

    What operating system are you using? That hotfix should do the trick for Windows Server 2012, see also:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8b47f28e-c6d5-497e-85db-d89a74fb27cd/a-generic-error-occured-in-gdi-error-ssrs-2012-sp1-on-windoes-server-2012?forum=sqlreportingservices
    For Windows Server 2008 R2, see:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/50c071db-b4fc-4a2e-a9f4-e10e833c97d2/report-not-rendering-charts-in-pdf-a-generic-error-occurred-in-gdi?forum=sqlreportingservices
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • For find activated lync client using SCCM 2012

    Hi All,
    In my current company we have in deployed lync client. But we are not sure how many clients are activated.
    Is there any way to find which system got activated using SCCM 2012.
    Please suggest and let me know any reference.
    Thanks 

    I really don't know, but I would guess that a file or registry key would change once it's activated. Basically, I would simply compare an activated system with a not activated system and look for the difference. Once you've located that you can create
    a compliance setting to see how many system are actived, or not.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • CCMSETUP not updating on SCCM 2012 SP1 CU3/CU4 primary site

    I have a SCCM 2012 SP1 CU3 primary site and i can't upgrade the local installed SCCM Client.
    The error I get in ccmsetup.log is:
    <![LOG[MSI: Setup was unable to register the CCM_Service_HostingConfiguration endpoint
    The error code is 80041002]LOG]!><time="15:44:22.408-60" date="02-08-2014" component="ccmsetup" context="" type="3" thread="2496" file="msiutil.cpp:300">
    <![LOG[MSI: Action 15:44:22: Rollback. Rolling back action:]LOG]!><time="15:44:22.562-60" date="02-08-2014" component="ccmsetup" context="" type="0" thread="2496" file="msiutil.cpp:314">
    <![LOG[File C:\windows\ccmsetup\{59A0EA77-D28C-4286-83A6-04BB57B9CDD6}\client.msi installation failed. Error text: ExitCode: 1603
    Action: CcmRegisterHostingConfiguration.
    ErrorMessages:
    Setup was unable to register the CCM_Service_HostingConfiguration endpoint
    The error code is 80041002
    ]LOG]!><time="15:45:00.798-60" date="02-08-2014" component="ccmsetup" context="" type="3" thread="2496" file="msiutil.cpp:872">
    <![LOG[Client installation has failed too many times. Ccmsetup will now abort.]LOG]!><time="15:45:00.830-60" date="02-08-2014" component="ccmsetup" context="" type="3" thread="2496" file="ccmsetup.cpp:7941">
    <![LOG[Successfully deleted the ccmsetup service]LOG]!><time="15:45:05.831-60" date="02-08-2014" component="ccmsetup" context="" type="1" thread="2496" file="ccmsetup.cpp:3320">
    <![LOG[InstallFromManifest failed 0x80070643]LOG]!><time="15:45:05.831-60" date="02-08-2014" component="ccmsetup" context="" type="3" thread="2496" file="ccmsetup.cpp:7086">
    <![LOG[CcmSetup failed with error code 0x80070643]LOG]!><time="15:45:05.832-60" date="02-08-2014" component="ccmsetup" context="" type="1" thread="2324" file="ccmsetup.cpp:10544">
    I have this on my primary and secondary servers as well.
    Is upgrading to R2 recommended and will that solve this issue ?
    When googling to this issue i found that there is a solution for this: remove MP, upgrade Client, install MP.
    But this is my primary and secondary and on secondary i am not allowed to remove the MP. It is hardcoded enabled.

    Try the following steps to specify the hotfix when installing the client.
    1. Open an elevated command prompt.
    2. Run a command line similar to the following – if CU3 has already been installed, the MSP file below should be on the site server, in the
    \\servername\SMS_SITE\Client\hotfix folder:
    \ccmsetup.exe PATCH=\Configmgr2012ac-sp1-kb2882125-x64.msp 
    Juke Chou
    TechNet Community Support

  • Machines not Joining Domain SCCM 2012 R2 CU4

    SCCM 2012 R2 CU4
    Recent change CU1-4
    This was all working until recently. The SMSTS log shows no failures. The Netsetup.log has no entries. The Panther\setupact.log shows a few odd things " [msoobe.exe] Failed to open event to start up services [0x80070002]" but then appears
    to proceed fine.
    The account used for Domain join is not locked out. I have no log telling me why it is not working. I have refreshed the drivers on the DP just incase the NIC driver got corrupt, though it appears to be fine in device manager and works.
    I am just lost as I don't have any log that shows me any real failures and since SCCM passes the Domain Join off to the OS I don't know where else to look.

    Is this a duplicate of
    https://social.technet.microsoft.com/Forums/en-US/9122cebc-11b9-4f81-a5d7-3a14667f874c/smts-not-correct-showing-code-0-for-programs-while-none-get-installed-no-domain-join?forum=configmanagerosd#d5670eeb-55de-493c-abf1-eec9397d7081 ?
    Torsten Meringer | http://www.mssccmfaq.de

Maybe you are looking for