New logs in ConfigMgr 2012 – Client Logs

With the new version of Configuration Manager, comes a bunch of new juicy logs. I’ll separate the posts into Client and Server. In this first instalment, I’ll cover off on the new logs found on your clients. The first thing you need to know, is the log location has changed slightly. Client logs can now… Read more

ConfigMgr 2012 Automatic Deployment Rules

  In CM12 we have a number of changes in Software Updates. One of the most anticipated one’s is Auto Deployment Rules. Yes finally I hear you say…. Well Lets run through creating an Auto Deployment and one little gotcha to keep your eye on. In the Console we select  Software Library > Software Updates… Read more

Package Conversion Manager (PCM) in ConfigMgr 2012

The ConfigMgr 2012 Package Conversion Manager (PCM) tool allows administrators to convert their legacy SCCM 2007 packages and programs into the new ConfigMgr 2012 Application and Deployment Types. This applies for all legacy packages apart from virtual APP-V packages that will automatically be converted to the new application model during the migration process. Once your… Read more

Find domain membership via WMI

Here’s a quick and dirty VBScript to find the domain of a certain computer. Great for things like SCCM OS Deployment. strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\\” _ & strComputer & “\root\cimv2”) Set colSettings = objWMIService.ExecQuery _ (“Select * from Win32_ComputerSystem”) For Each objComputer in colSettings Wscript.Echo “Domain: ” & objComputer.Domain… Read more

ConfigMgr 2012 Content Library Overview

Content Management in ConfigMgr 2012 has completely changed to what we did in SCCM 2007. When you distribute content to a Distribution Point in ConfigMgr 2012, a check is done against the Content Library to confirm that any of the source files being referenced in your application/package do not already exist in the Content Library…. Read more

Collection Membership Rule based on Client Status Message

Quick post today. Here’s a t-sql query to update a collection based on a specific Client Status Message. I’m sure you can think of many reasons why this would be handy. 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 JOIN sms_statusmessage ON sms_R_System.netbios_name0 = sms_statusmessage.machinename JOIN sms_StatMsgInsStrings ON sms_statusmessage.RecordID = sms_StatMsgInsStrings.RecordID WHERE sms_statusmessage.messageid =… Read more

Include/Exclude Collections Rule

My last post on ConfigMgr 2012 Collections (I promise!). I wanted to go over Include and Exclude Collection Rules. Include and Exclude collection rules are a new feature in ConfigMgr 2012 and I think you’ll find them most useful. They basically allow us to add or remove resources from a collection without having to write… Read more

ConfigMgr 2012 Incremental Collection Update/Delta Discovery

Dynamic Collection Updates and Delta Discovery were features introduced in SCCM 2007 R3 and promised a lot. Finally, admins thought they could limit their full Collection updates to 1 per day, their AD System Group Discovery to 1 per day and use the Dynamic Updates/Delta Discovery to run every 5 minutes to pick up changes…. Read more

Applying Windows Updates to a base WIM using DISM and Powershell

Manual installation Firstly, locate your most up to date image and make a copy of it. This is so we can stream the newest Windows Updates into the mounted WIM without risk of damaging a working WIM. I suggest copying the WIM to a temp location. Also, put the Windows Update that you want to… Read more

How to find SCCM duplicate computer objects

One of the many tasks an SCCM admin faces is checking for ConfigMgr duplicate computer records. There are many ways that we can get duplicate records, but here are the three most common: Duplicate MAC Addresses. I normally see this in environments where VDI is common. Generally, a VDI admin has duplicated machines without giving… Read more