SCCM 2012 - Missing device from custom collections

Hi to all,
I have installed SCCM 2012 SP1.
I have created some custom devices collections to group different servers based on roles.
When I add a computer manually (Direct Membership) to a custom collection it doesn`t show in the SCCM Console for a long time, even if I re-open the console or click on Update Membership\Refresh. I can see the computer on the Membership Rules tab of the
Collection immediately.
Also I have noticed this strange behaviou ons collections with query membership.
Usually, this happens after I have installed the SCCM client.
Obviously, the device exists on SCCM: I can find it on "All Systems" collection.
Any suggestions?
Thanks
Regards
Daniele

Hello,
Have you looked at the Collection Evaluator queue?
If you have a large number of Collections, or many Collections that are set to a quite frequent update frequence, this will cause new additions to a Collection to be queued up.
By connecting to the site, using CEviewer, you should be able to quickly determine whether or not this is the cause of your issue.
System Center 2012 R2 Configuration Manager Toolkit
David Gustafsson

Similar Messages

  • Getting "Error: 0x80070654" when trying to install SCCM 2012 R2 Console from Software Center

    What I did:
    Created a Package Source share on the Site Server
    Gave the Package Source Share the following Share permissions: SCCM Admins: Full Control, Domain Computers: Full Control, Local Admins: Full Control.
    Copied the "Program Files\Microsoft Configuration Manager\tools\ConsoleSetup" folder to my package source (Since the Package Source is actually on the site server, I just copied the ConsoleSetup folder to it that is on the same drive)
    Created a package and a Standard Program
    Command line: ConsoleSetup.exe 
    I deploy it to my collection
    Run Machine Policy and Reevaluation on my Right Click Tools 
    Go to one of my clients and open up Software Center and click the Install button
    It fails with ""Error: 0x80070654" 
    I open up execmgr.log on the client using CMTrace and I use the error lookup tool and it shows that the 0x80070654 error is "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer
    package"
    I also see a red highlighted line in the execmgr.log file with the following entry: "Script for Package:PRI00013, Program: SCCM 2012 R2 Management Console failed with exit code 2147944020"
    I can run ConsoleSetup.exe using a command line to the package source. 
    Execmgr.log Contents
    Policy arrived for parent package PRI00013 program SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:40:48 AM
    3336 (0x0D08)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 6l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:40:48 AM
    3336 (0x0D08)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramOfferReceivedEvent
    AdvertisementId = "PRI2000A";
    ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
    DateTime = "20140731094048.938000+000";
    MachineName = "My Computer";
    ProcessID = 1548;
    SiteCode = "PRI";
    ThreadID = 3336;
    execmgr
    7/31/2014 2:40:48 AM 3336 (0x0D08)
    Raising client SDK event for class NULL, instance NULL, actionType 6l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:40:48 AM
    3568 (0x0DF0)
    Validating chain of dependent programs for package PRI00013 optional program SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:41:04 AM
    4612 (0x1204)
    Validating package PRI00013 program SCCM 2012 R2 Management Console in the chain. The content request ID is {00000000-0000-0000-0000-000000000000}
    execmgr 7/31/2014 2:41:04 AM
    4612 (0x1204)
    Creating an optional execution request for package PRI00013 program SCCM 2012 R2 Management Console
    execmgr
    7/31/2014 2:41:04 AM 4612 (0x1204)
    Requesting content from CAS for package PRI00013 version 1
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Successfully created a content request handle {CBABEBB0-D019-4421-8B2E-47ABF90A925F} for the package PRI00013 version 1
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistWaitingContentEvent
    AdvertisementId = "PRI2000A";
    ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
    DateTime = "20140731094105.334000+000";
    MachineName = "My Computer";
    PackageName = "PRI00013";
    PackageVersion = "1";
    ProcessID = 1548;
    ProgramName = "SCCM 2012 R2 Management Console";
    SiteCode = "PRI";
    ThreadID = 4612;
    execmgr
    7/31/2014 2:41:05 AM 4612 (0x1204)
    Successfully raised SoftDistWaitingContentEvent event for program SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Execution Request for advert  package PRI00013 program SCCM 2012 R2 Management Console state change from NotExist to WaitingContent
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    5072 (0x13D0)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    4260 (0x10A4)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    4756 (0x1294)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    4756 (0x1294)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    5072 (0x13D0)
      Processing [{CBABEBB0-D019-4421-8B2E-47ABF90A925F}, 0]: OnContentAvailable
    execmgr
    7/31/2014 2:41:10 AM 4756 (0x1294)
    [{CBABEBB0-D019-4421-8B2E-47ABF90A925F}]: Content Version 1 is available for advert , pkg: PRI00013, program SCCM 2012 R2 Management Console.
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    An existing MTC token was not supplied, using ExecutionRequest's Id as MTC token and this execution request is the owner of resultant MTC task.
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    Request a MTC task for execution request of package PRI00013, program SCCM 2012 R2 Management Console with request id: {C9942D47-8A99-4363-AE69-A6F813336239}
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    Execution Request for advert  package PRI00013 program SCCM 2012 R2 Management Console state change from WaitingContent to Ready
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    MTC task with id {C9942D47-8A99-4363-AE69-A6F813336239}, changed state from 0 to 4
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
      Processing [{CBABEBB0-D019-4421-8B2E-47ABF90A925F}, 0]: RemoveNotification
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    MTC signaled SWD execution request with program id: SCCM 2012 R2 Management Console, package id: PRI00013 for execution.
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Sending ack to MTC for task with id: {C9942D47-8A99-4363-AE69-A6F813336239}
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Executing program ConsoleSetup.exe in Admin context
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Execution Request for advert  package PRI00013 program SCCM 2012 R2 Management Console state change from Ready to NotifyExecution
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Checking content location C:\Windows\ccmcache\eo for use
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Successfully selected content location C:\Windows\ccmcache\eo
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Executing program as a script execmgr
    7/31/2014 2:41:10 AM 4328 (0x10E8)
    Successfully prepared command line "C:\Windows\ccmcache\eo\ConsoleSetup.exe"
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Command line = "C:\Windows\ccmcache\eo\ConsoleSetup.exe", Working Directory = C:\Windows\ccmcache\eo\
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Running "C:\Windows\ccmcache\eo\ConsoleSetup.exe" with 32bitLauncher
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Created Process for the passed command line
    execmgr 7/31/2014 2:41:11 AM
    4328 (0x10E8)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramStartedEvent
    AdvertisementId = "PRI2000A";
    ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
    CommandLine = "\"C:\\Windows\\ccmcache\\eo\\ConsoleSetup.exe\"";
    DateTime = "20140731094111.028000+000";
    MachineName = "My Computer";
    PackageName = "PRI00013";
    ProcessID = 1548;
    ProgramName = "SCCM 2012 R2 Management Console";
    SiteCode = "PRI";
    ThreadID = 4328;
    UserContext = "NT AUTHORITY\\SYSTEM";
    WorkingDirectory = "C:\\Windows\\ccmcache\\eo\\";
    execmgr
    7/31/2014 2:41:11 AM 4328 (0x10E8)
    Raised Program Started Event for Ad:PRI2000A, Package:PRI00013, Program: SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:41:11 AM
    4328 (0x10E8)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:11 AM
    4328 (0x10E8)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:11 AM
    4328 (0x10E8)
    MTC task with id {C9942D47-8A99-4363-AE69-A6F813336239}, changed state from 4 to 5
    execmgr 7/31/2014 2:41:11 AM
    4612 (0x1204)
    Program exit code -2147023276 execmgr
    7/31/2014 2:41:11 AM 4756 (0x1294)
    Looking for MIF file to get program status execmgr
    7/31/2014 2:41:11 AM 4756 (0x1294)
    Script for Package:PRI00013, Program: SCCM 2012 R2 Management Console failed with exit code 2147944020
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramErrorEvent
    AdvertisementId = "PRI2000A";
    ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
    DateTime = "20140731094111.506000+000";
    ExitCode = "-2147023276";
    MachineName = "My Computer";
    PackageName = "PRI00013";
    ProcessID = 1548;
    ProgramName = "SCCM 2012 R2 Management Console";
    SiteCode = "PRI";
    ThreadID = 4756;
    UserContext = "NT AUTHORITY\\SYSTEM";
    execmgr
    7/31/2014 2:41:11 AM 4756 (0x1294)
    Raised Program Error Event for Ad:PRI2000A, Package:PRI00013, Program: SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Execution is complete for program SCCM 2012 R2 Management Console. The exit code is -2147023276, the execution status is FailureNonRetry
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Requesting MTC to delete task with id: {C9942D47-8A99-4363-AE69-A6F813336239}
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    MTC task with id: {C9942D47-8A99-4363-AE69-A6F813336239} deleted successfully.
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 10l, value Result:FALSE, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Requesting MTC to delete task with id: {C9942D47-8A99-4363-AE69-A6F813336239}
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    This execution request does not have a corresponding task in MTC.
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : END Event
    execmgr 7/31/2014 5:00:00 AM
    2928 (0x0B70)
    Thanks 

    Cool, mate it is then.
    Yeah it either changed or there is a typo. 
    I re-created everything and I still get that same 0x80070654 error.
    This is really frustrating
    Anyway, here is what I see in the AppEnforce.log:
    +++ Starting Install enforcement for App DT "SCCM 2012 R2 Management Console" ApplicationDeliveryType - ScopeId_DF08DF3D-39F7-4840-B17C-92FCAB02F116/DeploymentType_00b14782-2bc3-4c88-bc19-9d12981bc4ef, Revision - 1, ContentPath - C:\Windows\ccmcache\ev,
    Execution Context - System AppEnforce
    7/31/2014 11:27:30 PM 4256 (0x10A0)
        A user is logged on to the system.
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Performing detection of app deployment type SCCM 2012 R2 Management Console(ScopeId_DF08DF3D-39F7-4840-B17C-92FCAB02F116/DeploymentType_00b14782-2bc3-4c88-bc19-9d12981bc4ef, revision 1) for system.
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
    +++ Application not discovered. [AppDT Id: ScopeId_DF08DF3D-39F7-4840-B17C-92FCAB02F116/DeploymentType_00b14782-2bc3-4c88-bc19-9d12981bc4ef, Revision: 1]
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        App enforcement environment: 
    Context: Machine
    Command line: consolesetup.exe /q TargetDir="%ProgramFiles%\ConfigMgr" EnableSQM=0 DefaultSiteServerName=my.site.server
    Allow user interaction: No
    UI mode: 1
    User token: null
    Session Id: 2
    Content path: C:\Windows\ccmcache\ev
    Working directory:
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Prepared working directory: C:\Windows\ccmcache\ev
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Prepared command line: "C:\Windows\ccmcache\ev\ConsoleSetup.exe" /q TargetDir="C:\Program Files\ConfigMgr" EnableSQM=0 DefaultSiteServerName=my.site.server
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Executing Command line: "C:\Windows\ccmcache\ev\ConsoleSetup.exe" /q TargetDir="C:\Program Files\ConfigMgr" EnableSQM=0 DefaultSiteServerName=my.site.server with user context
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Working directory C:\Windows\ccmcache\ev
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Post install behavior is BasedOnExitCode
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Waiting for process 2792 to finish.  Timeout = 120 minutes.
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Process 2792 terminated with exitcode: 2147944020
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Looking for exit code -2147023276 in exit codes table...
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Unmatched exit code (2147944020) is considered an execution failure.
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
    ++++++ App enforcement completed (0 seconds) for App DT "SCCM 2012 R2 Management Console" [ScopeId_DF08DF3D-39F7-4840-B17C-92FCAB02F116/DeploymentType_00b14782-2bc3-4c88-bc19-9d12981bc4ef], Revision: 1, User SID: ] ++++++
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)

  • SCCM 2012 R2 Empty Query in Collection

    Now, I just discovered yesterday where I created Collection with query but resulted NONE. I know there's no problem with the query itself because I created the same one within the query itself and it give me the result.
    Here's another problem with my CAS & Primary Site SCCM 2012 R2 with CU1:
    1. Created X64 (Servers & Workstations) Collection with membership rules:
    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.SystemType = "x64-based PC"
    It doesn't give me anything (blank no computer names) even after I refresh the collection.
    BUT, when I created under \Monitoring\Overview\Queries\Results for X64 (Servers & Workstations)
    I could see the result of it.
    Is it my SQL has problem? I'm using SQL 2012 SP1.
    I even updated with CU2 now in Production but it still the same thing. I have no problem with this query above in my test environment.
    Have you come across with this issue? Thanks, Reza
    Reza Prawirasatya

    You might have used a empty limiting collection

  • SCCM 2012: howto switch from available to mandatory deploy?

    Hi,
    If we have some software we need to deploy, we always deploy (package) it as available at first, so testers can check whenever it suits them.
    When ok, we push the same install mandatory to a collection. Here we want to prevent a reinstall from happening but the mandatory instal also triggers an install for the already installed pc's.
    In SCCM 2007 we could change the available install to mandatory, in SCCM 2012 the deploy option is greyed out.
    Please advise howto have the same functionality in SCCM 2012.
    J.
    Jan Hoedt

    You can't change the deployment behavior once the deployment is created.
    Creating a new deployment should not be a problem, not even with old-school package. That's because the combination of the package id and the program name are used to be determine if a program is installed (and not the deployment itself).
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • SCCM 2012 Hardware Report - Select by Collection ID or Name

    I am trying to get my custom report to prompt for Collection ID or Name. I have the following so far but this brings out all device hardware with a client, I need to be able to select all the data below but only for Devices in a collection:
    SELECT distinct
    CS.Manufacturer0 as 'Manufacturer',
    CS.Model0 as 'Computer Model',
    CASE
    WHEN ES.ChassisTypes0 in ('1') THEN 'Other'
    WHEN ES.ChassisTypes0 in ('2') THEN 'Unknown'
    WHEN ES.ChassisTypes0 in ('3') THEN 'Desktop'
    WHEN ES.ChassisTypes0 in ('4') THEN 'Low Profile Desktop'
    WHEN ES.ChassisTypes0 in ('5') THEN 'Pizza Box'
    WHEN ES.ChassisTypes0 in ('6') THEN 'Mini Tower'
    WHEN ES.ChassisTypes0 in ('7') THEN 'Tower'
    WHEN ES.ChassisTypes0 in ('8') THEN 'Portable'
    WHEN ES.ChassisTypes0 in ('9') THEN 'Laptop'
    WHEN ES.ChassisTypes0 in ('10') THEN 'Notebook'
    WHEN ES.ChassisTypes0 in ('11') THEN 'Hand Held'
    WHEN ES.ChassisTypes0 in ('12') THEN 'Docking Station'
    WHEN ES.ChassisTypes0 in ('13') THEN 'All in One'
    WHEN ES.ChassisTypes0 in ('14') THEN 'Sub Notebook'
    WHEN ES.ChassisTypes0 in ('15') THEN 'Space-Saving'
    WHEN ES.ChassisTypes0 in ('16') THEN 'Lunch Box'
    WHEN ES.ChassisTypes0 in ('17') THEN 'Main System Chassis'
    WHEN ES.ChassisTypes0 in ('18') THEN 'Expansion Chassis'
    WHEN ES.ChassisTypes0 in ('19') THEN 'SubChassis'
    WHEN ES.ChassisTypes0 in ('20') THEN 'Bus Expansion Chassis'
    WHEN ES.ChassisTypes0 in ('21') THEN 'Peripheral Chassis'
    WHEN ES.ChassisTypes0 in ('22') THEN 'Storage Chassis'
    WHEN ES.ChassisTypes0 in ('23') THEN 'Rack Mount Chassis'
    WHEN ES.ChassisTypes0 in ('24') THEN 'Sealed-Case PC'
    END as 'Chassis Type',
    BIOS.SerialNumber0 as 'Bios serial',
    BIOS.ReleaseDate0 as 'Bios Date',
    CS.name0 as 'Computer Name',
    RAM.TotalPhysicalMemory0 as 'Total Memory',
    sum(isnull(LDisk.Size0,'0')) as 'Hardrive Size',
    OS.Caption0 as 'OS',
    CSDVersion0 as 'Service Pack',
    CS.UserName0 as 'User',
    CS.domain0 as 'Domain',
    CPU.Name0 AS 'Processor',
    COUNT(CPU.ResourceID) AS 'Number of CPUs',
    CPU.NumberOfCores0 AS 'Number of Cores per CPU',
    CPU.NumberOfLogicalProcessors0 AS 'Logical CPU Count'
    from
    v_GS_COMPUTER_SYSTEM CS right join v_GS_PC_BIOS BIOS on BIOS.ResourceID = CS.ResourceID
    right join v_GS_SYSTEM SYS on SYS.ResourceID = CS.ResourceID
    right join v_GS_OPERATING_SYSTEM OS on OS.ResourceID = CS.ResourceID
    right join v_GS_Processor CPU on CPU.ResourceID = CS.ResourceID
    right join V_GS_X86_PC_MEMORY RAM on RAM.ResourceID = CS.ResourceID
    right join v_GS_Logical_Disk LDisk on LDisk.ResourceID = CS.ResourceID
    INNER JOIN dbo.v_GS_SYSTEM_ENCLOSURE ES on SYS.ResourceID = ES.ResourceID
    where
    LDisk.DriveType0 =3
    group by
    CS.Manufacturer0,
    CS.Model0,
    ChassisTypes0,
    BIOS.SerialNumber0,
    BIOS.ReleaseDate0,
    CS.Name0,
    RAM.TotalPhysicalMemory0,
    OS.Caption0,
    CSDVersion0,
    CS.Username0,
    CS.domain0,
    CPU.Name0,
    CPU.NumberOfCores0,
    CPU.NumberOfLogicalProcessors0

    This is what I have so far DataSet1
    SELECT distinct
    CS.Manufacturer0 as 'Manufacturer',
    CS.Model0 as 'Computer Model',
    CASE
    WHEN ES.ChassisTypes0 in ('1') THEN 'Other'
    WHEN ES.ChassisTypes0 in ('2') THEN 'Unknown'
    WHEN ES.ChassisTypes0 in ('3') THEN 'Desktop'
    WHEN ES.ChassisTypes0 in ('4') THEN 'Low Profile Desktop'
    WHEN ES.ChassisTypes0 in ('5') THEN 'Pizza Box'
    WHEN ES.ChassisTypes0 in ('6') THEN 'Mini Tower'
    WHEN ES.ChassisTypes0 in ('7') THEN 'Tower'
    WHEN ES.ChassisTypes0 in ('8') THEN 'Portable'
    WHEN ES.ChassisTypes0 in ('9') THEN 'Laptop'
    WHEN ES.ChassisTypes0 in ('10') THEN 'Notebook'
    WHEN ES.ChassisTypes0 in ('11') THEN 'Hand Held'
    WHEN ES.ChassisTypes0 in ('12') THEN 'Docking Station'
    WHEN ES.ChassisTypes0 in ('13') THEN 'All in One'
    WHEN ES.ChassisTypes0 in ('14') THEN 'Sub Notebook'
    WHEN ES.ChassisTypes0 in ('15') THEN 'Space-Saving'
    WHEN ES.ChassisTypes0 in ('16') THEN 'Lunch Box'
    WHEN ES.ChassisTypes0 in ('17') THEN 'Main System Chassis'
    WHEN ES.ChassisTypes0 in ('18') THEN 'Expansion Chassis'
    WHEN ES.ChassisTypes0 in ('19') THEN 'SubChassis'
    WHEN ES.ChassisTypes0 in ('20') THEN 'Bus Expansion Chassis'
    WHEN ES.ChassisTypes0 in ('21') THEN 'Peripheral Chassis'
    WHEN ES.ChassisTypes0 in ('22') THEN 'Storage Chassis'
    WHEN ES.ChassisTypes0 in ('23') THEN 'Rack Mount Chassis'
    WHEN ES.ChassisTypes0 in ('24') THEN 'Sealed-Case PC'
    END as 'Chassis Type',
    BIOS.SerialNumber0 as 'Bios serial',
    BIOS.ReleaseDate0 as 'Bios Date',
    CS.name0 as 'Computer Name',
    RAM.TotalPhysicalMemory0 as 'Total Memory',
    sum(isnull(LDisk.Size0,'0')) as 'Hardrive Size',
    OS.Caption0 as 'OS',
    CSDVersion0 as 'Service Pack',
    CS.UserName0 as 'User',
    CS.domain0 as 'Domain',
    CPU.Name0 AS 'Processor',
    COUNT(CPU.ResourceID) AS 'Number of CPUs',
    CPU.NumberOfCores0 AS 'Number of Cores per CPU',
    CPU.NumberOfLogicalProcessors0 AS 'Logical CPU Count'
    from
    v_GS_COMPUTER_SYSTEM CS right join v_GS_PC_BIOS BIOS on BIOS.ResourceID = CS.ResourceID
    right join v_GS_SYSTEM SYS on SYS.ResourceID = CS.ResourceID
    right join v_GS_OPERATING_SYSTEM OS on OS.ResourceID = CS.ResourceID
    right join v_GS_Processor CPU on CPU.ResourceID = CS.ResourceID
    right join V_GS_X86_PC_MEMORY RAM on RAM.ResourceID = CS.ResourceID
    right join v_GS_Logical_Disk LDisk on LDisk.ResourceID = CS.ResourceID
    INNER JOIN dbo.v_GS_SYSTEM_ENCLOSURE ES on SYS.ResourceID = ES.ResourceID
    JOIN v_FullCollectionMembership fcm on fcm.resourceid=v_r_system.resourceid
    WHERE fcm.Collectionid= @CollectionID
    group by
    CS.Manufacturer0,
    CS.Model0,
    ChassisTypes0,
    BIOS.SerialNumber0,
    BIOS.ReleaseDate0,
    CS.Name0,
    RAM.TotalPhysicalMemory0,
    OS.Caption0,
    CSDVersion0,
    CS.Username0,
    CS.domain0,
    CPU.Name0,
    CPU.NumberOfCores0,
    CPU.NumberOfLogicalProcessors0
    Then DataSet2 is
    select CollectionID, Name from v_Collection Order by Name
    But when I run it I get this error:
    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
    An error has occurred during report processing. (rsProcessingAborted)
    Thanks so far,  still plugging away.

  • SCCM 2012: import objects from AD/manually

    Hi,
    We have an SCCM 2007 environment in which we want to update the sccm clients to SCCM 2012, then managing within new SCCM 2012 environment/installing a new OS to it. AD discovery happens and also an import of pc’s was done (mac).
    We have duplicate entries: one with automatic discovered objects of AD, one with manually imported items.
    Both should merge to 1 object. Just to see if we're doing this right. If we deploy a task sequence, we should deploy it to the manually imported object, since that one contains the mac-address, right?
    J.
    Jan Hoedt

    You can try to change the setting on "CAS" (if you've one) or "stand alone Primary" level from “Automatically resolve conflicting records” to “Manually resolve conflicting records” and implement a Status Filter Rule, that automatically
    merges duplicate records.
    There are scripts around to fix the conflict issue. 
    I don't know whether you wanted to fix the duplicate record issue or you're more concerned about finding the correct/working object. When you've a duplicate objects then I don't think it would be very easy get things worked. 
    Anoop C Nair -
    @anoopmannur :: MY Site:
     www.AnoopCNair.com ::
    FaceBook:
     ConfigMgr(SCCM) Page ::
    Linkedin:
     Linkedin<

  • Sccm 2012 create report from recently installed software on clients

    As stated in this thread for 2007. Has anyone had any luck with this type of report in 2012?
    http://social.technet.microsoft.com/Forums/en-US/fecbe492-6d9d-4a8e-8d6d-ac12b3364b32/sccm-2007-create-report-from-recently-installed-software-on-clients?forum=configmgrreporting

    As stated in this thread for 2007. Has anyone had any luck with this type of report in 2012?
    http://social.technet.microsoft.com/Forums/en-US/fecbe492-6d9d-4a8e-8d6d-ac12b3364b32/sccm-2007-create-report-from-recently-installed-software-on-clients?forum=configmgrreporting
    It worked perfectly in CM12. What is the problem?
    http://www.enhansoft.com/

  • SCCM 2012 R2 update from 2012 in VM on SDC and secodary DNS server

    Hi there,
    I'm currently running SCCM2012 (not R2) on a secondary domain controller and secondary DNS Server. Bought a license for this in 2013. Would like better separation from above functions and deploy R2 version. Two questions:
    1) Is it recommended to install SCCM R2 in a VM on a machine running above applications?
    2) Do I need a new license to go from SCCM 2012 to SCCM 2012 R2?
    Thank you for an answer, Marcel

    Actually, for #2, that's not true. ConfigMgr 2012 and ConfigMgr 2012 R2 are separate SKUs and require their own licensing. Just because you have ConfigMgr 2012 does not entitle you to 2012 R2. It depends upon how you licensed it in the first place. If
    you have Software Assurance (SA), then yes, your current licensing applies. You should check with your LAR or call the Microsoft licensing helpdesk to figure out if you are licensed for R2.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Loading the SCCM 2012 R2 Cmdlets from within a module

    Hi together,
    In the following article was described how to load the Powershell Module for SCCM 2012:
    http://blogs.technet.com/b/configmgrteam/archive/2013/03/27/powershell-connecting-to-configuration-manager.aspx
    I've taken the code to build a function to load the Powershell Module which works fine when i directly integrate it in my scripts.
    Currently i build a Module called SCCM-HelperFunctions.psm1 and the above mentioned function is one which i want to integrate, i named it "Import-Cmdlets". The Import of my Module works fine,  the function "Import-Cmdlets" is available
    trough IntelliSense and the command ends with no errors in the context of the given Site (ex. "PS CM1:\") but when i try to use SCCM Cmdlets the Command is not found.
    I've checked if the Module was loaded successfully but it isn't. Following is the function included in the Module:
    Function Import-SCCMCmdlets {
    <#
    .SYNOPSIS
    Lädt die SCCM Cmdlets und wechselt in den Kontext der angegebenen Site.
    .DESCRIPTION
    Die Funktion Import-SCCMCmdlets lädt die Powershell Cmdlets und wechselt in den PSDrive Kontext des angegebenen Sitecodes.
    In diesem Kontext können dann die in folgeendem Artikel aufgeführten Cmdlets ausgeführt werden:
    http://technet.microsoft.com/en-us/library/jj821831%28v=sc.20%29.aspx
    .PARAMETER Sitecode
    Eine Zeichenkette mit dem Sitecode der CAS oder Primary Site in dessen Kontext die Cmdlets laufen sollen.
    .EXAMPLE
    Import-SCCMCmdlets -SiteCode "P01"
    .EXAMPLE
    $SiteCode = "P01"
    Import-SCCMCmdlets -SiteCode $SiteCode
    #>
    Param (
    [Parameter(Mandatory=$true)]
    $SiteCode
    $null = Import-Module ($env:SMS_ADMIN_UI_PATH.Substring(0,$env:SMS_ADMIN_UI_PATH.Length – 5) + '\ConfigurationManager.psd1')
    Set-Location "$($SiteCode):" | Out-Null
    if (-not (Get-PSDrive -Name $SiteCode))
    Throw "Beim Versuch das Powershell Modul zu laden und auf das PSDrive $Sitecode zu wechseln trat ein Fehler auf."
    The exact same function works when i copy it to the ISE and run it.
    Does anyone have any ideas and can point me into the right direction? (eventually different workspaces when the function runs from within the module or something like that?)
    Best regards
    Rolf

    Hi together,
    In the following article was described how to load the Powershell Module for SCCM 2012:
    http://blogs.technet.com/b/configmgrteam/archive/2013/03/27/powershell-connecting-to-configuration-manager.aspx
    I've taken the code to build a function to load the Powershell Module which works fine when i directly integrate it in my scripts.
    Currently i build a Module called SCCM-HelperFunctions.psm1 and the above mentioned function is one which i want to integrate, i named it "Import-Cmdlets". The Import of my Module works fine,  the function "Import-Cmdlets" is available
    trough IntelliSense and the command ends with no errors in the context of the given Site (ex. "PS CM1:\") but when i try to use SCCM Cmdlets the Command is not found.
    I've checked if the Module was loaded successfully but it isn't. Following is the function included in the Module:
    Function Import-SCCMCmdlets {
    <#
    .SYNOPSIS
    Lädt die SCCM Cmdlets und wechselt in den Kontext der angegebenen Site.
    .DESCRIPTION
    Die Funktion Import-SCCMCmdlets lädt die Powershell Cmdlets und wechselt in den PSDrive Kontext des angegebenen Sitecodes.
    In diesem Kontext können dann die in folgeendem Artikel aufgeführten Cmdlets ausgeführt werden:
    http://technet.microsoft.com/en-us/library/jj821831%28v=sc.20%29.aspx
    .PARAMETER Sitecode
    Eine Zeichenkette mit dem Sitecode der CAS oder Primary Site in dessen Kontext die Cmdlets laufen sollen.
    .EXAMPLE
    Import-SCCMCmdlets -SiteCode "P01"
    .EXAMPLE
    $SiteCode = "P01"
    Import-SCCMCmdlets -SiteCode $SiteCode
    #>
    Param (
    [Parameter(Mandatory=$true)]
    $SiteCode
    $null = Import-Module ($env:SMS_ADMIN_UI_PATH.Substring(0,$env:SMS_ADMIN_UI_PATH.Length – 5) + '\ConfigurationManager.psd1')
    Set-Location "$($SiteCode):" | Out-Null
    if (-not (Get-PSDrive -Name $SiteCode))
    Throw "Beim Versuch das Powershell Modul zu laden und auf das PSDrive $Sitecode zu wechseln trat ein Fehler auf."
    The exact same function works when i copy it to the ISE and run it.
    Does anyone have any ideas and can point me into the right direction? (eventually different workspaces when the function runs from within the module or something like that?)
    Best regards
    Rolf

  • SCCM 2012 User Device Affinity : Insure affinity is not lost...opinions?

    ok, so i'd like your opinions.  
    situation: i manage a school district environment of around 1500 computers, which is a good mix of labs/student laptops/teacher computers.  
    What I've done is set user device affinity by user to 60 minutes over 7 days.  For helpdesk reasons, we obviously need to be able to bring up the teacher's primary computer through searching for that user's primary device (we use right click tools,
    which is AMAZING...shout-out.)  What happens is when we go on Thanksgiving/Christmas/Summer break, the teacher's are gone for 7/14/90 days respectively.  
    I do not want these user's to lose connection to their primary device, because when we just came back from our 2 week break we find NO connections using right click tools.  
    What I just did was set the days to 90, since 3 months is the longest we'll be away...is that a bad idea, or is there a better way to get this connection to stick?
    Also, if there is a better way to do this, please let me know...i'm open to suggestions. 
    Thank you!  

    Due to our environment I have ours set to 80 hours in 30 days. I have checked machines that haven't reported in since before December of last year and those objects still have the appropriate user defined as the Primary User.
    The thresholds don't define how long the data is held in the database for. It just means "If a user uses a device for x amount of minutes within the window of x amount of days then this device can be considered to be their device." What "X" should equal
    is the variable that you have to make fit your environment. We had to increase the threshold here because techs and other users were getting pulled into too many devices due to their prolonged use of the machine.
    As for why your devices lose their Primary Users, did you configure some sort of custom settings in the site maintenance tasks?
    Dustin Estes - MCP | www.dustinestes.com

  • SCCM 2012 Remote Control - from Queries

    Hopefully I can find out what's going on with my query configuration.
    I've created some Queries for my Help Desk personnel.  When using the default "Last Logged On User" query, It gives me the results for the user's computer, but when right-clicking on the computer the option for "Remote Control" is greyed out. 
    Resource Explorer and the others are available and work properly, just not Remote Control.  However when I view any of the collections, Remote Control works perfectly.  For now, my guys are running the queries, recording the computer name, then searching
    the collections.  Even as a Full Administrator I experience this.  Any suggestions or possible items I have not enabled?
    Thanks for any info.
    Charlie Hawkins

    Same issue here.
    I have completely customized my columns it to add lots of useful information from different class and now EVERYTHING is grayed out.
    so I tried all of your suggestions, and some functions did come back. not all.  However, now the Queries are useless to me.  I need to see the model of the computer, last logon user, last heart beat, install date, OS name that's not a number
    but the Caption that says Windows 7 instead of 6.1 that makes sense to the upper management etc.
    so, I took the original out of the box query that works perfectly fine and once I added "SMS_G_System_COMPUTER_SYSTEM.Model"  , it broke the query.
    I see this as design flaw of Microsoft and reported to be looked at.  or am I wrong?
    any ideas?

  • Randomly missing jobs from the collections

    In decentralized setup, 11.5.10 source  linked to ASCP 12.1.3.9.1, WIP
    jobs are randomly not collected into planning tables.  It seems the
    disconnect is between the view MRP_AP_WIP_JOB_SUPPLIES_V and staging table
    msc_st_supplies. Doesn't seem to be a Planning
    Manger issue either as MPS_NET_QUANTITY = 1 for the problem records. One observation is that the last update date of the 'missing' WIP jobs
    are around the same time the Refresh Collection Snapshot is running.

    Is this issue resolved? If not can you throw some more information along the below questions.
    Is the planning manager up and running? What about the firm planned flag? Is there any open quantity on job to be completed? Does this job show up on the view supply/demand screen on the txn instance?
    Thanks,
    Karthik

  • Remove sccm 2012 client package from task sequence

    Hello, is possible to remove the sccm client package from task sequence ? i am deploying OS to workgroup computers and i dont want install the sccm client . I am using MDT to create the task sequence.
    Erickson Martinez

    No, if you are using a task sequence in ConfigMgr (MDT integrated or not) then a client package is mandatory. The only way to get rid of the client is to deinstall it at the end of the task sequence (for example by using the SMSTSPostAction variable).
    Another option, if you don't want the client, is to use MDT to deploy those machines. But that would cause an extra deployment mechanism to maintain.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • IBCM not working after SCCM 2012 R2 Upgrade from SP1

    Just upgraded to CM2012 R2 from SP1, 1 primary site and 1 internet facing MP for IBCM in DMZ - both are on Server 2008 R2.  PKI has already been setup and was functional before upgrade.  After R2 upgrade, my internet clients cannot
    communicate. CcmMessaging.log on the client states: "Post to https ibcmsiteserver,domain,com/ccm_system/request failed with 0x87d00231".  LocationServices.log shows: "LSUpdateInternetManagementPoints: Failed to retrieve internet
    MPs from MP ibcmsiteserver,domain,com with error 0x87d00231, retaining previous list"
    (Had to edit the links to allow post)
    Has anyone run into this before and how do I resolve it?  Thanks,

    CRL checking setting was enabled, not sure if this was enabled before the upgrade or not.  Once I disabled CRL checking, the internet client still wouldn't communicate until it was connected to the domain network and received the new policy settings
    (I assume). 
    Now, the question is how do I update the rest of my internet clients without them connecting to the domain network?  (VPN is not an option)
    Thank you for the help!!

  • SCCM 2012- How to limit a collection membership only for specific count of machines

    How to limit a collection membership only for specific count of machines

    As I said you can use where SMS ID like %1 and see how many machines that gets you. If it's not enough do where SMS ID like %1 or SMS ID like %2. Keep adding a digit until you get ~5000. It won't be perfect though.
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

Maybe you are looking for

  • Can't buy iphoto in app store; another apple id on my macbook bought it before

    Hello, i bought a used macbook air. after deleting the pre owners' admin account and deleting the harddisk i install OS X lion again. After that i wanted to buy iphoto in app store to use photostream on my macbook. But in the app store it wasn't poss

  • Crystal Report taking long time to load for a particular prompt

    Hi Abhilash Kumar, Really need your help with one issue that we are facing with Crystal Report. We have a particular Crystal Report that has a main report and three sub-reports. The scenario is such that the main report and two sub-reports are based

  • Progress Bar, or put it Busy mode

    Hi, I want to set the Progress bar in Busy mode,while we are going from one page to other page. i.e When clicking the button,it shows the process is busy.Before going to that particular page it shows the message like"The page is opened".How To put th

  • Webi report display splits a column

    Hi fairly new to Webi so I hope this doesn't sound too basic. I have a Webi report that is 30 odd columns wide (this is currently BOXI R2 on Windows 2003); it's displayed in Landscape mode and splits several columns down the middle. How can you defin

  • Websites don't recognize I have latest Flash player

    Hi, websites do not recognize that I have the latest version of Flash Player installed. (currently 10.0.45.2, and this is confirmed by the Adobe website.) When I want to watch videos or news feeds on the websites, they ask me to upgrade to the latest