Sccm 2012 collections of specific servers (terminal servers etc)

Hi,
Please advise what criteria I should use in SCCM 2012 to make collections of specific servers: f.e. terminal servers.
J.
Jan Hoedt

Add Win32_Serverfeature to hardware inventory (http://msdn.microsoft.com/en-us/library/cc280268(v=vs.85).aspx) and create collections based on that data.
Torsten Meringer | http://www.mssccmfaq.de

Similar Messages

  • OSD: SCCM 2012 collection which should exclude Windows 7 clients (query not working fine)

    Hi,
    We have an SCCM 2012 collection to which we deploy Windows 7.
    Vista clients get a SCCM 2012 client in SCCM 2007 and once they have it, they get a Windows 7 deployment.
    The group is populated by an AD query and that works fine. However, when we try to exclude Windows 7 machines (query = not Windows NT ... 6.1) the query does not return any result.
    Please advise.
    J.
    Jan Hoedt

    Please check your query. It should be like the following.
    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_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Version != "6.1.7601"
    Juke Chou
    TechNet Community Support

  • SCCM 2012 Software Update Management for Windows Servers and how to automatic set SCOM maintenance mode?

    Hi,
    We planning to go one level higher to automat and have more dynamic Software Update Management for Windows Servers. We have SCCM 2012 R2, SCOM 2012 R2 and SCO 2012 R2.
    Our plan is to pur server in an AD-Group to get Update Schedule, from the servers will be importet to an Collection for Automatic Update and reboot. If I understand Everything right SCOM can't read AD-Group and put then in an Schedule maintenance mode. SCOM
    can read reg value as exempel.
    IS there any smar way to make the SCOM Maintenance Mode Schedule dynamic?
    I found this
    http://www.scom2k7.com/scom-2012-maintenance-mode-scheduler/?
    /SaiTech

    You could use Orchestrator to put the servers from a specific collection, or AD group, in maintenance mode in SCOM. For an example see:
    http://www.systemcentercentral.com/orchestrator-how-to-scom-maintenance-mode-for-windows-computers-in-an-sccm-collection/
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Bulk loader for SCCM 2012 collections

    I am looking for a tool which will add users / computer names as direct membership to collections, Bulk loader was there in SCCM 2007 but it is not working in SCCM 2012. Please suggest..

    Hi,
    Here is a PowerShell script with GUI for your reference.
    Configuration Manager 2012 Direct Membership Collection Manager
    http://blogs.msdn.com/b/rslaten/archive/2014/03/10/configuration-manager-direct-membership-collection-manager.aspx
    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.

  • Sccm 2012 collection query for software deployment failed PCs

    Hi,
    Let me know how can we create a collection of PCs which a particular advertisement failed.
    SCCM 2012 sp1 infra
    Midhun.PS

    See
    http://myitforum.com/cs2/blogs/gramsey/archive/2006/10/20/How-To_3A00_-Create-a-Collection-Based-on-an-Advertisement-Status.aspx. This will only work for program deployments, not applications.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012 Collection Query

    Hi All,
    I am using SCCM 2012 SP1 with SQL 2008 R2 SP1. I have scenario as below.
    App A is targeted to user based collection as Available (Optional).
    App B needs to be targeted to users who has successfully installed App A as Required(Mandatory).
    Note : As per application behaviour we cannot target App B to machine(Device) based collection, otherwise I would have created a query to pull out all the machines in a collection where App A is successfully installed on base of Add/Remove
    program display name.
    Question : I want to create a user collection query which will pullout last logged on user for all the machines where
    App A is installed successfully, so that I can target App B to this user based collection as Required(Mandatory). In this way if in future any other user is installing App A then that user will also get pulled out automatically to this user
    based collection.
    Its bit urgent for me. Request you please help me to get this query or let me know if there is any other way to achieve this.
    Thanks & Regards Uttam

    Hi Torsten,
    I really have not thought about supersedence but App B is not the upgrade or replacement for App A. If it would then we would have defined the relationship in supersedence. But App A and App B are entirely different applications. Functionality of App B depends
    upon App A, so both has to be there on the machine.
    Only the thing is App B should go to the users who has already installed App A on their machines. For this I would like to create user based collection but confused regarding query. How can we achieve this? I am thinking of to modify the below query
    to pull out last logged on user from the below collection query. I am using SCCM 2012 SP1 with SQL 2008 R2 SP1. How can I modify the below query?
    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 ResourceId in  (select ResourceId from SMS_G_System_ADD_REMOVE_PROGRAMS
    where DisplayName="App A ARP name" and Version = "1.0.0")
    Thanks & Regards Uttam

  • Powershell and SCCM 2012 Collections from AD

    Greetings everyone, I am trying to take a select of groups in a certain OU within AD to make SCCM 2012 user collections from. I been playing around with just creating the collections based upon a txt file which would work and is probably easier. Can someone
    go through this mess I have down here and make this work. I found some scripts that do what I need but they just aren't flowing together well. Thanks for any help you can give. I think the 'DOMAIN\\'$ADName isn't going to work either. Thoughts?
    import-module ($Env:SMS_ADMIN_UI_PATH.Substring(0,$Env:SMS_ADMIN_UI_PATH.Length-5) + '\ConfigurationManager.psd1')
    $PSD = Get-PSDrive -PSProvider CMSite
    CD "$($PSD):"
    $ADName = Get-Content -Path C:\fso\ADgroups.txt
    New-CMUserCollection -Name $ADName -LimitingCollectionName "All Users and User Groups" -RefreshType Both
    Add-CMUserCollectionQueryMembershipRule -CollectionName $ADName -QueryExpression "select *  from  SMS_R_User where SMS_R_User.UserGroupName = 'DOMAIN\\'$ADName" -RuleName "QueryRuleName1"

    Hi,
    I highly recommend asking this question in the ConfigMgr 2012 SDK/PowerShell forum:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=configmanagersdk&filter=alltypes&sort=lastpostdesc
    This forum is meant for general PowerShell questions. Hopefully you'll get a good response from someone here, but the people who are familiar with the ConfigMgr cmdlets will be more likely to see your question in the specialized forum.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Add multiple users to SCCM 2012 collection

    I have a list of users and I want to add the users to SCCM collection. Is there any way by VB script to do this?
    \m/

    Probably, but why use VBScript at all? 2012 has cmdlets you can use for this purpose.
    http://www.microsoft.com/en-us/download/details.aspx?id=41196&WT.mc_id=rss_alldownloads_all
    EDIT: Direct link:
    http://technet.microsoft.com/en-us/library/jj821831%28v=sc.10%29.aspx
    Caveat - requires a minimum of SP1. There's no reason to not be at least on SP1 by now.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • SCCM 2012 Collection Query Timings

    I am just wondering about the logistics of the timings. I have most collections updating on 15 minute intervals, all of them on the same clock using Midnight and every 15 minutes after that. This is the basic setup I am using too, All Systems -> SCCM
    Agents -> Software Deployment or other Collections.
    Is the 15 minutes per collection additive, or hit and miss? For instance I load a new computer, it goes into All Systems, then at the 15 minute point moves into SCCM Agents. Will it propagate into the Software Deployment at or around the same time or would
    it likely be in the next window of queries?

    Why wouldn't you use the delta discovery? Update all collection every 15 minutes is a huge hit to your CM12 server.
    http://www.enhansoft.com/

  • SCCM 2012 - Collection

    Hi All,
    I need your advice whether the below scenario will workout for automated uninstalation of applications.
    1. Created Install collection in query method pointing to AD group in which if AD team move the asset to the corresponding group redeployed apps will be deployed which is working fine
    2. For uninstallation of apps, i have created another uninstall collection pointing to the same AD group in which it will discover the machines already in install deployment and i will pre deploy the uninstall software.
    So in this case if i remove the asset from install deployment does the uninstallation happen automatically. Please suggest
    Regards, Pratap

    'Install' wins if both (install and uninstall) deployments are received by the client.
    The client will either be member of both or no collection if you are using the same WQL though.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012: Active Directory Group Discovery, Delta Discovery?

    Hi,
    Our scenario:
    *Software is requested via a seperate system which puts AD computer objects in groups
    *Software within SCCM 2012 is deployed to computer collections
    *Computer collections query AD groups, in those AD groups the pc's reside
    *Collections memberships run via AD query (every 20 minutes)
    *We deploy an OS (Windows 7) via SCCM
    *Machine policy is updates every 20 minutes
    What is important: AD Group discovery is set to full discovery every 7 days, delta discovery set to 15 minutes
    So what happens:
    *Pc is staged correctly with Windows 7 but software isn't coming through in time (sometimes it's there within the hour, sometimes it takes 6 hours)
    *If we run a full AD Group discovery mostly software is installing immediately
    *Sometimes a SCCM 2012 client machine reset policy or reinstall client solves the problem
    My questions:
    *Would it be better to run full discoveries every x minutes since this always solves our problem
    *Would it be better to disable the delta discovery if we do the change above to minimize AD queries
    => tried that now (full discovery every 30 minutes and disabled delta discovery) but I don't want to put to much pressure on our domain controller
    *Our software collections are limited to all systems, we could limit them to a Windows 7 collection. Probably we should do that but any suggestion how to do this safely in Powershell?
    Please advise.
    J.
    Jan Hoedt
    Note: what I don't get is why a full ad discovery system discovery sovles the problem since SCCM 2012 collections do a AD query, what 's the link there?

    So, let me see if I get this correct for our situation:
    Our own developed system puts pc’s in AD groups
    SCCM 2012 polls these groups, by default 1/week full discovery then every 30 minutes a delta discovery
    We deploy software to computer collections, these collections check the SCCM 2012 database every 30 minutes (collection update) Note: the query our collection do, is based upon requirement of Windows 6.1 + membership of an AD group.
    The SCCM 2012 client/computer does a computer policy update every 30 minutes to see what collections it is member of and see then the software to be deployed
     2 questions:
    *Our my assumptions correct? Specifically point 3.: is the query fully coming from an ad sync (or also from sccm client, f.e. Windows 6.1%)?
    *Don’t we have a step to much then, wouldn’t it be better to add a direct membership of the AD group within SCCM? This direct membership would mean no query and so save us about 20 minutes (run of query)?
    Jan Hoedt

  • Query about SCCM 2012 R2 Client Installation

    Hello I had one SCCM 2012 RTM environment with 1000+ clients,
    Now on the same machine I have uninstalled everything and installed fresh SCCM 2012 R2 software with same site Code etc..
    Kindly suggest me an easy way to upgrade all my SCCM clients to 2012 R2? and How do i verify the same?

    Hi,
     Currently, the clients cannot accept the policies from SCCM 2012 R2 MP, so Push installation, GP installation and manual installation should work. After upgrade, the GUID of clients will remain.
    Juke Chou
    TechNet Community Support

  • Does SCCM 2012 R2 Secondary and DP servers really need backup?

       Hello to all. I'm involved on a SCCM 2012 R2 project that will install aprox. 20 SCCM 2012 R2 servers: 1 CAS, 3 Primary, 8 Secondary and 8 DPs (just SCCM runs on all these servers). As backup is licensed by Tb and cost is a restriction, I think
    that would be acceptable to backup just CAS and 3 Primary servers. If a failure happens in any Secondary or DP, they could be reinstalled and all necessary information would be replicated from the respective Primary or Secondary.
       Questions:
        1- Is it technically feasible?
        2- If I want to run specific configuration for a site that its Secondary failed, could I run it from the respective Primary?
        3- Does #2 applie to DP (if a DP fails, could I run the necessary configs./action from its respective Secondary or Primary)
        Please feel free to input pros and cons so I can take the best decision.
        Regards, EEOC.

    " 2- If I want to run specific configuration for a site that its Secondary failed, could I run it from the
    respective Primary?"
    Just a comment regarding this design decision.  Based on this sentence, it almost sounds like someone thinks you
    can manage FROM a secondary.  That simply doesn't happen.
    I wonder... Did the person who came up with your cm12 design ever actually work with cm12 in a hierarchy (for more than
    a few weeks), because based on your statements, assumptions appear to be made that cm12 hierarchy works exactly like cm07 ( or SMS 2.0 for that matter, since you couldn't manage from a secondary in cm07 nor SMS 2003 either).  Having a cas and multiple
    primaries will not provide the redundancy of "if one primary goes down then..." As it sounds like is being assumed is true.  I think its tons riskier to have multiple primaries and a cas.
    Standardize. Simplify. Automate.

  • Deploying Applications with SCCM 2012 R2 to Server 2008 R2 RDS servers

    I'm having some trouble finding some concrete information from Microsoft regarding the deployment of applications to RDS servers using SCCM 2012 R2. There seems to be a lot of conjecture, old information and old wives tales floating around and I was hoping
    I could get some information confirmed!
    1. MSI installs automatically switch to install mode on RDS servers? 
    I've seen this mentioned a few times. I've also seen it mentioned that it is only true when running the MSI from the console session manually (i.e clicking the MSI file) not running as SYSTEM as SCCM would usually do. Can someone confirm if they do this
    themselves or not?
    2. Users still logged in when deploying applications? 
    Is it possible to deploy an application while users are still logged in? Is this only related to going into 'install' mode and taking the chance that a user will do something that will cause issues? Or is it known to cause issues?
    I guess those are the main ones, I'm experienced in SCCM but not with deploying to RDS servers, I cant seem to find any straight answers!
    Anyway, thanks in advance!

    I've never had large enough RDS environment to use SCCM for app push, but from my experience in managing 2012/R2 RDS and local installs, I never bother with switching to install mode anymore and it works fine.  Now if you're skeptical, you can
    easily build this into a script that runs as a pre-req to your .MSI as part of the software package in SCCM so it's not a big deal.
    As for installing apps while users are logged in, shouldn't be a problem if you're installing a new app., if however you're updating an existing application or uninstalling it, then it may be best to drain that RDS host first of all user sessions then do
    the work just to be safe.  this also helps avoid reboots.

  • SCCM 2012 What Ports Do I need to open so DMZ servers can communicate with my SCCM Server?

    Hi,
    What ports do I need to open in the firewall so my DMZ servers can talk to my SCCM server on the network?
    Here are my steps before to make my DMZ servers talk to my SCCM server:
    1.  On my SCCM 2012 SP1 CU2 I have bounderies installed --> I install SCCM Client on my DMZ server with the appropriate switches --> I go back to my SCCM server to approve the server --> Works
    But now my DMZ servers stops getting definition updates from my SCCM server and I was suggested that it is much easier to open ports in DMZ.
    Now, could you please tell me what ports should we open to ensure two way communication among servers?
    Thanks!

    Yes and no. It's a bit muddy at times.
    For Internet based clients, putting an Internet-enabled MP in the DMZ is perfectly acceptable because Internet clients will only choose MPs enabled for Internet communication.
    For systems in the DMZ, that's where it really gets muddy. There's no perfect way to accomplish this. IMO, DMZ clients should be allowed to go back to the MP/DP in the Intranet with a targeted opening in the DMZ firewall rules that allows them to only go
    to the internal MP. That's a security policy question though for your organization.
    Another option is to treat the clients in the DMZ as Internet only clients. This way, they will only go to the Internet MP in the DMZ. You do lose some functionality though like Remote Control.
    A final way is to actually put an MP/DP in the DMZ and deal with the timeout's that happen when clients try to talk to the MP in the Intranet. Clients will try 5 times to contact that MP before giving up. They try to find a new MP at the following times
    (which are not configurable):
    - Every 25 hours
    - WHen the client detects a network change
    - When the client agent starts
    Jason | http://blog.configmgrftw.com

Maybe you are looking for

  • How can I stop notifications for calendar events in a shared calendar?

    I have a shared iCal calendar in iCloud. I share it with my wife, so she can see my work schedule. It is a bit annoying though that her iPhone keeps doing all my reminders and notifications for calendar events. I want her to able to see and edit my c

  • Regarding SAP integration modules

    Hi all, My client is interested to implement SAP for shipping project. The system should be able to cater jetty, container terminals, Finance, HR, Logistics, Warehouse etc. It should also be able to integrate with multiple legacy systems developed ea

  • Can't sqlj use datasource?urgent!

    I write a sqlj like this line 27: #sql context MyContext; line 51-80: myctx = new MyContext(conn);//conn is a connection retrieve from datasource #sql [myctx] select                          certtypeid,certnum,to_char(custid),custname,               

  • Quitting Alot

    iWeb just keeps quitting when i'm creating a website. Has anyone else had this problem?

  • IPhone 3gs  problème de batterie

    Bonjour j'ai un probleme avec mon iphone 3Gs (ex: quand je lance une application ou un jeux ou j'ecoute de la musique il s'eteint et quand je le rallume il y a plus de batterie et quand je le met en charge sa me dit que la batterie est pleine que fai